From: James Troup Date: Thu, 17 Jun 2004 14:59:17 +0000 (+0000) Subject: 2004-06-11 James Troup * docs/README.first: clarify that 'alyson... X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=7ef66c9bd9c4d92c2ccfe6a28a08e6b2ff97c388 2004-06-11 James Troup * docs/README.first: clarify that 'alyson' and running add_constraints.sql by hand is something you only want to do if you're not running 'neve'. * docs/README.config (Location::$LOCATION::Suites): document. --- diff --git a/docs/README.config b/docs/README.config index 31095d25..c273c71d 100644 --- a/docs/README.config +++ b/docs/README.config @@ -408,14 +408,21 @@ Mandatory. List all locations, e.g. | { | Archive "ftp-master"; | Type "pool"; +| Suites +| { +| Stable; +| Unstable; +| }; | }; | }; -There are three types: 'legacy', 'legacy-mixed' and 'pool'. 'legacy' -and 'pool' are assumed to have sections for all components listed in -the Components section 'legacy-mixed' are assumed to mix all -components into one location. The Archive and Type sections go into -the SQL database's 'location' table. +There are three valid values for 'Type': 'legacy', 'legacy-mixed' and +'pool'. 'legacy' and 'pool' are assumed to have sections for all +components listed in the Components section 'legacy-mixed' are assumed +to mix all components into one location. The 'Archive' and 'Type' +sections go into the SQL database's 'location' table. 'Suites' is a +list of existent suites that should be used to populate the SQL +database. Note that the archive value specified here must correspond to one defined in Archive. diff --git a/docs/README.first b/docs/README.first index 59d796d8..43bc5afc 100644 --- a/docs/README.first +++ b/docs/README.first @@ -117,10 +117,10 @@ o If you have an existing archive: which are needed for this. After changing all occurences of "projectb" to the name of your database (as defined in DB::Name) you can run: psql < init_pool.sql -o Run alyson: it will populate your database with the values from - katie.conf and apt.conf. + * Run alyson: it will populate your database with the values from + katie.conf and apt.conf. + * Run 'psql < add_constraints.sql'. o Copy all templates from the "templates" directory to to the directory specified in Dir::Templates, and adapt them to your distribution. o Create an 'ftpmaster' group in postgres. -o Run 'psql < add_constraints.sql'.