Failed copyright tests?

John Arbash Meinel john at arbash-meinel.com
Thu Jan 4 00:52:57 GMT 2007


I was hoping that the error message which says:
> Please either add them to the list of COPYRIGHT_EXCEPTIONS in
> bzrlib/tests/test_source.py
> or add '# Copyright (C) 2006 Canonical Ltd' to these files:
>
> /home/tanner/projects/bazaar-ng/bzr.dev/bzrlib/tests/test_revprops.py
>     no copyright line found
>
> /home/tanner/projects/bazaar-ng/bzr.dev/bzrlib/tests/test_delta.py
>     found: # Copyright (C) 2006 by Canonical Development Ltd

would have been clear enough.

Anyway, the Bazaar project follows the example set by the FSF such that
they request copyright assignment from all major contributers.

In recent time, I went through and fixed all of the copyright statements
in all of the source code, along with the GPL statements. While doing
so, I added a couple of tests to make sure it stays consistent.

If these are files created by you, and you have a specific need, you can
add them to the list of excluded files.

John
=:->



Bob Tanner wrote:
> Bazaar (bzr) 0.14.0dev0
>   from bzr checkout /home/tanner/projects/bazaar-ng/bzr.dev
>     revision: 2220
>     revid: pqm at pqm.ubuntu.com-20070103022432-334b367262bc7407
>     branch nick: bzr.dev
> Using python interpreter: /usr/bin/python
> Using python standard library: /usr/lib/python2.4
> Using bzrlib: /home/tanner/projects/bazaar-ng/bzr.dev/bzrlib
> 
> 
> [4446/4446 in 414s, 2 failed, 385 skipped]
> bzrlib.plugins.email.tests.testemail
> ======================================================================
> FAIL: test_copyright (bzrlib.tests.test_source.TestSource)
> 
> vvvv[log from
> bzrlib.tests.test_source.TestSource.test_copyright]-------------
> 
> ^^^^[log from
> bzrlib.tests.test_source.TestSource.test_copyright]-------------
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  
> File "/home/tanner/projects/bazaar-ng/bzr.dev/bzrlib/tests/test_source.py",
> line 213, in test_copyright
>     self.fail('\n'.join(help_text))
> AssertionError: Some files have missing or incorrect copyright statements.
> 
> Please either add them to the list of COPYRIGHT_EXCEPTIONS in
> bzrlib/tests/test_source.py
> or add '# Copyright (C) 2006 Canonical Ltd' to these files:
> 
> /home/tanner/projects/bazaar-ng/bzr.dev/bzrlib/tests/test_revprops.py
>     no copyright line found
> 
> /home/tanner/projects/bazaar-ng/bzr.dev/bzrlib/tests/test_delta.py
>     found: # Copyright (C) 2006 by Canonical Development Ltd
> 
> ======================================================================
> FAIL: test_gpl (bzrlib.tests.test_source.TestSource)
> 
> vvvv[log from
> bzrlib.tests.test_source.TestSource.test_gpl]-------------------
> 
> ^^^^[log from
> bzrlib.tests.test_source.TestSource.test_gpl]-------------------
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  
> File "/home/tanner/projects/bazaar-ng/bzr.dev/bzrlib/tests/test_source.py",
> line 254, in test_gpl
>     self.fail('\n'.join(help_text))
> AssertionError: Some files have missing or incomplete GPL statement
> 
> Please either add them to the list of LICENSE_EXCEPTIONS in
> bzrlib/tests/test_source.py
> Or add the following text to the beginning:
> 
> # This program is free software; you can redistribute it and/or modify
> # it under the terms of the GNU General Public License as published by
> # the Free Software Foundation; either version 2 of the License, or
> # (at your option) any later version.
> #
> # This program is distributed in the hope that it will be useful,
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> # GNU General Public License for more details.
> #
> # You should have received a copy of the GNU General Public License
> # along with this program; if not, write to the Free Software
> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> 
>     /home/tanner/projects/bazaar-ng/bzr.dev/bzrlib/tests/test_revprops.py
> 
> ----------------------------------------------------------------------
> Ran 4446 tests in 414.511s
> 
> FAILED (failures=2)
> tests failed
> 




More information about the bazaar mailing list