[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-commits
Subject:    scripts/pdb HOWTO,1.4,1.5 dumprelease,1.3,1.4 releases.sql,1.15,1.16
From:       Ben Hines <benh57 () users ! sourceforge ! net>
Date:       2004-03-31 7:02:40
Message-ID: E1B8ZkG-0007X7-4C () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/fink/scripts/pdb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28917

Modified Files:
	HOWTO dumprelease releases.sql 
Log Message:
Updates for 0.6.3 / 0.7.0


Index: HOWTO
===================================================================
RCS file: /cvsroot/fink/scripts/pdb/HOWTO,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- HOWTO	14 Jul 2003 11:39:04 -0000	1.4
+++ HOWTO	31 Mar 2004 07:02:37 -0000	1.5
@@ -44,22 +44,27 @@
 Now change into the PDB directory:
   cd /home/groups/f/fi/fink/pdb/
 
-Next dump the list of packages in the release (replace 0.4.5 as appropriate):
- ./dumprelease 0.4.5
+Next dump the list of packages in the release. Replace 0.7.0 as appropriate, and the
+'10.3' with the Fink tree you want to count as stable:
+ ./dumprelease 0.7.0 10.3
+ 
+or for the 0.6.3 (10.2-gcc3.3 for stable count):
 
-This will produce a file called 0.4.5-stable.sql. Next, you must update the
-releases.sql file for 0.4.5 (just replace the current version with the new
+ ./dumprelease 0.6.3 10.2-gcc3.3
+
+This will produce a file called 0.7.0-stable.sql. Next, you must update the
+releases.sql file for 0.7.0 (just replace the current version with the new
 one). You best do that in CVS using a developer checkout on your local machine,
 then check the change in, and run "cvs up" on the shell server.
 Once you did this, run these commands (order is important):
   ~/bin/finksql < releases.sql
-  ~/bin/finksql < 0.4.5-stable.sql
+  ~/bin/finksql < 0.7.0-stable.sql
 
 Now run the "flag" script:
   ./flag
 
 Finally, you have to tell the PHP script which renders the package description
-pages to display the information from 0.4.5 along with the current data. To do
+pages to display the information from 0.7.0 along with the current data. To do
 so, edit "pdb/releases.inc" in the "web" CVS module.
 
 That's it.

Index: dumprelease
===================================================================
RCS file: /cvsroot/fink/scripts/pdb/dumprelease,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dumprelease	3 Nov 2003 01:47:41 -0000	1.3
+++ dumprelease	31 Mar 2004 07:02:37 -0000	1.4
@@ -2,6 +2,7 @@
 set -e
 
 release=$1
+tree=$2
 tag=release_`echo $release | sed 's/\./_/g'`
 
 echo "Updating from CVS..."
@@ -17,17 +18,16 @@
  rm var/db/fink.db
 fi
 touch fink/dists
+
+# As of 0.6.3 / 0.7.0.. you need to specify the tree you want 'stable' to be. 
+# That is, './dumprelease 0.6.3 10.2-gcc3.3' and './dumprelease 0.7.0 10.3'
+# This may be temporary till we find a better solution.
 rm fink/dists
-#for 0.6.1 we are calling it one bindist, 10.2-gcc3.3 tree
-ln -s 10.2-gcc3.3 fink/dists
-echo "Dumping 10.2-gcc3.3/stable..."
-./dump 10.2-gcc3.3 stable $release-stable >$release-stable.sql
+ln -s $tree fink/dists
+echo "Dumping $tree/stable to $release-stable.sql..."
+./dump $tree stable $release-stable >$release-stable.sql
 if [ -f var/db/fink.db ]; then
  rm var/db/fink.db
 fi
-#rm fink/dists
-#ln -s 10.3 fink/dists
-#echo "Dumping 10.3/stable..."
-#./dump 10.3 stable $release-10.3-stable >$release-10.3-stable.sql
 
 exit 0

Index: releases.sql
===================================================================
RCS file: /cvsroot/fink/scripts/pdb/releases.sql,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- releases.sql	19 Nov 2003 10:52:41 -0000	1.15
+++ releases.sql	31 Mar 2004 07:02:37 -0000	1.16
@@ -11,3 +11,5 @@
 insert into release values ('0.5.3-stable', 'Packages shipped with Fink 0.5.3 (For \
Mac OS X 10.2)');  insert into release values ('0.6.1-stable', 'Packages shipped with \
Fink 0.6.1 (For Mac OS X 10.2/10.3)');  insert into release values ('0.6.2-stable', \
'Packages shipped with Fink 0.6.2 (For Mac OS X 10.2/10.3)'); +insert into release \
values ('0.6.3-stable', 'Packages shipped with Fink 0.6.3 (For Mac OS X 10.2)'); \
+insert into release values ('0.7.0-stable', 'Packages shipped with Fink 0.7.0 (For \
Mac OS X 10.3)');



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic