[libvirt] Can we make sc_copyright_check non-fatal?

Eric Blake eblake at redhat.com
Wed Oct 9 03:00:50 UTC 2013


On 10/08/2013 03:48 PM, Eric Blake wrote:
> On 10/08/2013 03:39 PM, Cole Robinson wrote:
>> The copyright date syntax check is a source of frustration for me:
>>
>> - It fails on old maint branches.
> 
> In general, 'make syntax-check' is NOT guaranteed to work on maint
> branches, nor is it worth trying to make it work there.  If anything,
> the best thing to do would be figuring out how to patch 'make
> syntax-check' to be a complete no-op on maint branches and only operate
> on a (descendant of) the master branch, precisely because out-of-order
> backports to maint branches makes it practically impossible to guarantee
> that we can consistently meet whatever style future development on the
> master branch decides is now in vogue.

I've attempted this now.

> 
>>
>> - It pokes into non git managed directories in $(srcdir).
> 
> That's probably a bug, and we should be able to fix it upstream in
> gnulib.  Syntax checkers should be able to be limited to just git files.
>  I guess the idea was that it checks non-managed files to ensure a
> tarball doesn't have generated files with a broken copyright date, but
> there's probably a better way to do that.

Still need to investigate here...

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131008/ee38578f/attachment-0001.sig>


More information about the libvir-list mailing list