[Buildbot-devel] bonsai "one rev per file" patch

Mark Pauley mpauley at apple.com
Mon Oct 2 18:29:40 UTC 2006


I've done exactly that for a CVS polling source object.  Which reminds  
me, should I commit a patch with that in there?

My reasoning for creating that object was my inability to install  
anything onto the CVS server over here, so polling every 5 minutes was  
the only way to go.

_Mark

On Oct 1, 2006, at 12:55 AM, Brian Warner wrote:

>>> Any ideas? I'm tempted to remove the revision-number comment, but  
>>> you know
>>> better than I do what the bonsai/tinderbox stuff needs.
>>
>> Hm. Maybe we could have one Change per file instead of per bonsai's  
>> idea
>> of "changeset" (which is only really useful for humans AFAICT).
>
> The Buildbot could basically handle that (since all the Changes  
> would be
> delivered at about the same time, so they'd all get lumped into the  
> same
> build). It could get kind of messy on the Waterfall page, though,  
> since you
> could have dozens of Changes showing up for each build.
>
> Worse than that, though, you really couldn't put individual revision  
> numbers
> on each Change.. the change.revision attribute needs to be a tree- 
> wide value,
> and the only thing that serves that purpose in the CVS world is a  
> timestamp.
> The CVS checkout step, for example, takes the max() of all  
> the .revision
> values from all its Changes to determine what to use for the  
> checkout/update
> command. Using, e.g., "1.45" for .revision is going to break it  
> horribly.
> This is a place where SVN/P4/Arch's repository-wide transaction  
> number is a
> lot easier to deal with.
>
> These revision numbers are really only intended for human consumption
> anyways, right? What if you just appended some text to the change  
> comments to
> record the versions?:
>
>  comments = cinode.log + "\n\n"
>  for file in cinode.files:
>      files.append(file.filename)
>      comments += "%s (revision %s)\n" % (file.filename, file.revision)
>
> Or are they intended for machine parsing at the other end (in the text
> emitted by the TinderboxMailNotifier)?
>
> cheers,
>  -Brian
>
> -------------------------------------------------------------------------
> 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
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel





More information about the devel mailing list