Re: Syncing up with the package build cluster

2006-11-01 Thread Daniel O'Connor
On Sunday 24 September 2006 15:39, Kris Kennaway wrote:
 You'll want to use the FTP site version of this file (once I get it
 copied over) instead, since pointyhat will usually be newer than the
 FTP sites.

On a related note I have patched csup  cvsup to allow you to specify a date 
on the command line.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
diff -ur cvsup-snap-16.1h.orig/client/src/Main.m3 cvsup-snap-16.1h/client/src/Main.m3
--- cvsup-snap-16.1h.orig/client/src/Main.m3	Wed Mar  5 04:53:46 2003
+++ cvsup-snap-16.1h/client/src/Main.m3	Mon Sep 25 11:08:57 2006
@@ -139,6 +139,7 @@
\n-r n Maximum retries on transient errors (default  
 			  unlimited)
\n-s   Don't stat client files; trust the checkouts file
+   \n-t date  Override supfile's \date\ (check out mode)
\n-v   Print version and exit
\n-x   Require detailed compare for all RCS files
\n-z   Enable compression for all collections
@@ -265,6 +266,7 @@
 	  maxRetries :=
 		TokScan.AtoI(FetchArg(argNum, argPos), retry limit);
 	  | 's' = OverrideOn(config, SupFileRec.Option.TrustStatusFile);
+ 	  | 't' = config.override.checkoutDate := FetchArg(argNum, argPos);
 	  | 'v' = justPrintVersion := TRUE;
 	  | 'x' = OverrideOn(config, SupFileRec.Option.DetailAllRCSFiles);
 	  | 'z' = OverrideOn(config, SupFileRec.Option.Compress);
diff -ur cvsup-snap-16.1h.orig/client/src/cvsup.1 cvsup-snap-16.1h/client/src/cvsup.1
--- cvsup-snap-16.1h.orig/client/src/cvsup.1	Wed Mar  5 04:53:46 2003
+++ cvsup-snap-16.1h/client/src/cvsup.1	Mon Sep 25 11:58:30 2006
@@ -48,6 +48,7 @@
 .Op Fl p Ar port
 .Op Fl P Ar m|a|port|lo-hi|-
 .Op Fl r Ar maxRetries
+.Op Fl t Ar date
 .Ar supfile
 .Op Ar destDir
 .Sh DESCRIPTION
@@ -384,6 +385,8 @@
 updates may be missed, or
 .Nm
 may abort prematurely.
+.It Fl t Ar date
+Overrides the supfile's date entry (checkout mode only).
 .It Fl v
 Prints the version number and exits, without contacting the server.
 .It Fl z
diff -ur cvsup-snap-16.1h.orig/suplib/src/SupFileRec.m3 cvsup-snap-16.1h/suplib/src/SupFileRec.m3
--- cvsup-snap-16.1h.orig/suplib/src/SupFileRec.m3	Wed Mar  5 05:56:29 2003
+++ cvsup-snap-16.1h/suplib/src/SupFileRec.m3	Mon Sep 25 11:32:06 2006
@@ -103,7 +103,7 @@
 IF v.clientCollDir # NIL THEN self.clientCollDir := v.clientCollDir END;
 IF v.clientPrefix # NIL THEN self.clientPrefix := v.clientPrefix END;
 IF v.umask # -1 THEN self.umask := v.umask END;
-IF Option.CheckoutMode IN newOptions THEN
+IF Option.CheckoutMode IN newOptions OR Option.CheckoutMode IN oldOptions THEN
   self.checkoutTag := v.checkoutTag;
   self.checkoutDate := v.checkoutDate;
 END;


pgpYTs0FJOCsH.pgp
Description: PGP signature


Re: Syncing up with the package build cluster

2006-09-24 Thread Kris Kennaway
On Sun, Sep 24, 2006 at 10:31:07AM +0930, Daniel O'Connor wrote:
 On Saturday 23 September 2006 17:25, Mark Linimon wrote:
  On Fri, Sep 22, 2006 at 04:21:15PM +0930, Daniel O'Connor wrote:
   Is there an easy way to find when the ports tree was checked out for a
   given package run?
 
  I have now added a link to the cvsdone file which already existed, to
  the page at http://pointyhat.freebsd.org/errorlogs/packagestats.html .
 
 Nice, thanks!
 
  Look under the column cvs date.  Note that this date is a timestamp just
  _after_ the cvs update -d finished.
 
 Pity cvsup can't take date as a command line override otherwise the 
 following could be used really easily..
 
 date -ujf %+ `fetch -qo - 
 http://pointyhat.freebsd.org/errorlogs/i386-7-latest/cvsdone`; 
 +%Y.%m.%d.%H.%M.%S
 
 Guess I'll actally have to do some work to get it going now! :)
 (Or modify cvsup)

You'll want to use the FTP site version of this file (once I get it
copied over) instead, since pointyhat will usually be newer than the
FTP sites.

Kris


pgpsRSfP7r2VS.pgp
Description: PGP signature


Re: Syncing up with the package build cluster

2006-09-23 Thread Mark Linimon
On Fri, Sep 22, 2006 at 04:21:15PM +0930, Daniel O'Connor wrote:
 Is there an easy way to find when the ports tree was checked out for a given 
 package run?

I have now added a link to the cvsdone file which already existed, to
the page at http://pointyhat.freebsd.org/errorlogs/packagestats.html .
Look under the column cvs date.  Note that this date is a timestamp just
_after_ the cvs update -d finished.

mcl
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Syncing up with the package build cluster

2006-09-23 Thread Daniel O'Connor
On Saturday 23 September 2006 17:25, Mark Linimon wrote:
 On Fri, Sep 22, 2006 at 04:21:15PM +0930, Daniel O'Connor wrote:
  Is there an easy way to find when the ports tree was checked out for a
  given package run?

 I have now added a link to the cvsdone file which already existed, to
 the page at http://pointyhat.freebsd.org/errorlogs/packagestats.html .

Nice, thanks!

 Look under the column cvs date.  Note that this date is a timestamp just
 _after_ the cvs update -d finished.

Pity cvsup can't take date as a command line override otherwise the 
following could be used really easily..

date -ujf %+ `fetch -qo - 
http://pointyhat.freebsd.org/errorlogs/i386-7-latest/cvsdone`; 
+%Y.%m.%d.%H.%M.%S

Guess I'll actally have to do some work to get it going now! :)
(Or modify cvsup)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpLniRxPf44O.pgp
Description: PGP signature


Syncing up with the package build cluster

2006-09-22 Thread Daniel O'Connor
Is there an easy way to find when the ports tree was checked out for a given 
package run?

It would be nice to be able to sync my tree to that date and be able to use 
portupgrade -P and get a good hit rate.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgph7IK2by1o5.pgp
Description: PGP signature


Re: Syncing up with the package build cluster

2006-09-22 Thread Kris Kennaway
On Fri, Sep 22, 2006 at 04:21:15PM +0930, Daniel O'Connor wrote:
 Is there an easy way to find when the ports tree was checked out for a given 
 package run?
 
 It would be nice to be able to sync my tree to that date and be able to use 
 portupgrade -P and get a good hit rate.

Thanks for reminding me, this information is recorded with the build
on pointyhat but not propagated over to the FTP servers.  I'll make a
note to look at that again.

Kris


pgph9V3iPCQIz.pgp
Description: PGP signature


Re: Syncing up with the package build cluster

2006-09-22 Thread Chuck Swiger

On Sep 21, 2006, at 11:51 PM, Daniel O'Connor wrote:
Is there an easy way to find when the ports tree was checked out  
for a given package run?


Doing a ls -ltr on the appropriate package directory on one of the  
FTP servers is probably the most reliable source of information.   
Normally, http://pointyhat.freebsd.org/ would also provide useful  
information, but the webserver on that machine seems to be down at  
the moment...?


[ BCC'ing portmgr@ ]

--
-Chuck

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Syncing up with the package build cluster

2006-09-22 Thread Kris Kennaway
On Fri, Sep 22, 2006 at 09:56:43AM -0700, Chuck Swiger wrote:
 On Sep 21, 2006, at 11:51 PM, Daniel O'Connor wrote:
 Is there an easy way to find when the ports tree was checked out  
 for a given package run?
 
 Doing a ls -ltr on the appropriate package directory on one of the  
 FTP servers is probably the most reliable source of information.   
 Normally, http://pointyhat.freebsd.org/ would also provide useful  
 information, but the webserver on that machine seems to be down at  
 the moment...?

Yep; it's hit a 7.0 deadlock which I'm leaving for the moment in case
I can extract useful information from DDB.

Kris


pgpAguT6S4q3M.pgp
Description: PGP signature