Suggestion for cvs tag handling

Till Maas opensource at till.name
Fri Mar 7 21:25:50 UTC 2008


On Fri March 7 2008, Toshio Kuratomi wrote:
> Till Maas wrote:
> > On Fri March 7 2008, Jarod Wilson wrote:
> >> Now, perhaps if there was a pre-commit hook that checked to see that all
> >> referenced Sources and Patches were actually available, and prevent a
> >> checkin w/a new patch referenced in a spec that isn't cvs added, then I
> >> might be less opposed to immutable tagging before building...
> >
> > Is there a way to do this efficiently with cvs? cvs status seems to open
> > a network connection everytime one runs it, so a cvs status on every file
> > e.g. used in the kernel spec would take forever.
>
> All you need is a single run of 'cvs -n update'.

Thanks, here is an example how to perform such a check with python:
http://till.fedorapeople.org/cvs-status-check.py

In case python scripts are allowed in the commons directory, I can write a 
patch for Makefile.common that will use it.

Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080307/5159e34b/attachment.sig>


More information about the fedora-devel-list mailing list