Update of /cvsroot/fink/scripts/pdb
In directory sc8-pr-cvs17:/tmp/cvs-serv6329
Modified Files:
Tag: redesign_pdb
HOWTO
Log Message:
Add explanations about all files in this dir
Index: HOWTO
===================================================================
RCS file: /cvsroot/fink/scripts/pdb/HOWTO,v
retrieving revision 1.10.2.7
retrieving revision 1.10.2.8
diff -u -d -r1.10.2.7 -r1.10.2.8
--- HOWTO 18 Sep 2007 17:52:51 -0000 1.10.2.7
+++ HOWTO 22 Sep 2007 15:32:55 -0000 1.10.2.8
@@ -1,3 +1,75 @@
+This HOWTO first explains the files in the scripts/pdb directory and then
+describes common tasks involving pdb updating.
+
+---------------------------------------------------------------------------------
+
+Files and directories in scripts/pdb:
+
+HOWTO:
+ This howto document
+basepath:
+ Directory containing the Fink package description files. This is a cvs
+ checkout of the 'fink' module but might be overwritten by rsync on the pdb
+ server when refreshing the pdb (see below for details)
+basepath_fink.inc:
+ Config file with the path to the pdb script files (the current dir)
+current_pdb_dump.sql:
+ SQL statements produced by the dump script containing the current contents of
+ the pdb.
+drop.sql:
+ SQL statements to drop all pdb tables in the db. Only needed to restart from
+ scratch.
+dump:
+ Shell script to dump the package descriptions. Used by the dumprelease and
refresh
+ scripts.
+dumprelease:
+ Shell script to dump the package description of a Fink released (defined by
+ a CVS tag). See below for a description on how to use it.
+fink:
+ A directory containing the Fink tree with the package description files. This
+ will be updated by the refresh and dumprelease scripts
+.finkdbi:
+ Config file with the information on how to connect to the database via perl
+ (Could alternatively be located in ~/.finkdbi)
+finksql:
+ Shell script to connect to the database via the shell
+fix_permissions.sh:
+ Shell script to set the file permissions
+inject:
+ Shell script to inject the sql statements in current_pdb_dump.sql into the db
+pdb_full_update-piecewise:
+ Shell script to update the pdb (calling the refresh and inject scripts)
+ distribution after distribution (10.2-gcc3.3 10.3 10.4 10.5)
+ This script is called every 8 hours on finch using the follwoing cron line:
+ 20 1,9,17 * * * root nice /opt/pdb/pdb_full_update-piecewise 2>&1 | \
+ mail -s "Web-PDB Update `date`" [EMAIL PROTECTED]
+pdb_full_update-unified:
+ Shell script to update the pdb (calling the refresh and inject scripts)
+ all in one step
+refresh:
+ Shell script to refresh the package descriptions und dump them into
+ current_pdb_dump.sql. refresh is called by the pdb_full_update-* scripts
+releases.sql:
+ SQL statements containing the information about current supported releases.
+ Needs to be updated whenever a release is added or no longer supported. See
+ below on how to use it.
+*-stable.sql:
+ SQL statements containing the package information about Fink releases.
Created
+ by the dumprelease script.
+schema.sql:
+ SQL statements containing the database schema of the pdb. See below on how
to
+ use it.
+sections.sql:
+ SQL statements containing the information about the package sections. Needs
to
+ be udpated whenever a new section is added. Called by the pdb_full_update-*
+ scripts.
+update.sh:
+ Shell script to update the cvs directories and configure the local fink. See
+ below for more information.
+
+
+---------------------------------------------------------------------------------
+
Q: How do I update the package database?
A: You normally should never have to do this since we have a cron script in
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits