> On Wed, 2006-09-27 at 16:48 -0700, markw-3NddpPZAyC0@xxxxxxxxxxxxxxxx wrote:
>> > On Wed, 2006-09-27 at 16:08 -0700, Mark Wong wrote:
>> >> Leann Ogasawara wrote:
>> > [snip]
>> >> > Maybe something in the form of
>> >> > <PKGNAME>-<%Y%m%d-%H%M> which is what Bryce's initial code had (but
>> I
>> >> > removed because of some date format issues). Reason I ask is if
>> for
>> >> > example you took a snapshot yesterday using yesterday's date, you'd
>> >> > generate a snapshot called say "psql-snapshot" using your method,
>> if I
>> >> > understood it correctly:
>> >> >
>> >> > if cvsdate is None:
>> >> > filename = module + "-snapshot"
>> >> > else:
>> >> > filename = module + "-" + cvsdate
>> >>
>> >> Not quite correct. I wrote the script to default to pull yesterday's
>> >> code, which will be named with yesterday's date. Only a date that is
>> >> today's and omitting a date will result in a tarball named
>> *-snapshot.
>> >
>> > So you could still run the risk or overwriting previous *-snapshot's
>> > right? That's my main concern that I'd want to avoid.
>>
>> Oh, I see what you mean now. Yes that's correct.
>
> Mark, how about this? Basically for CVS if the date is ommitted, equal
> to today's date, or is a date in the future we default to take a
> snapshot from the HEAD but label the snapshot as <PKGNAME>-<%Y%m%d>-<%H%
> M>. Any other legitimate date prior to today will be labeled as
> <PKGNAME>-<%Y%m%d>. For SVN all snapshots will be labeled <PKGNAME>-<%Y
> %m%d>-<REVISION>. Patch also has some misc whitespace cleanups. Patch
> applies on top of all previous patches which Bryce has committed.
That sounds like it'll work.
Mark
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|