Merge lp:~jml/pkgme-devportal/explicit-copyright into lp:pkgme-devportal
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Approved by: | Jonathan Lange |
Approved revision: | 95 |
Merged at revision: | 83 |
Proposed branch: | lp:~jml/pkgme-devportal/explicit-copyright |
Merge into: | lp:pkgme-devportal |
Diff against target: |
259 lines (+122/-10) 6 files modified
devportalbinary/binary.py (+15/-0) devportalbinary/metadata.py (+29/-8) devportalbinary/pdf.py (+14/-0) devportalbinary/tests/test_binary.py (+22/-1) devportalbinary/tests/test_metadata.py (+20/-1) devportalbinary/tests/test_pdf.py (+22/-0) |
To merge this branch: | bzr merge lp:~jml/pkgme-devportal/explicit-copyright |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Approve | ||
Review via email: mp+120740@code.launchpad.net |
Commit message
Provide an explicit copyright message for PDF and binary packages
Description of the change
This branch sets the copyright message for binary & PDF files as per
bug 1026121. See especially <https:/
Implementation approach is pretty standard. It requires an as-yet-unreleased
version of pkgme in order to get the ExplicitCopyright info element.
While here, I cleaned up some of mvo's weird dict formatting and some trailing
whitespace business.
To post a comment you must log in.
The attempt to merge lp:~jml/pkgme-devportal/explicit-copyright into lp:pkgme-devportal failed. Below is the output from the failed tests.
./bin/py -m testtools.run devportalbinary .tests. test_suite
Tree is up to date at revision 9 of branch bzr+ssh: //bazaar. launchpad. net/+branch/ ca-download- cache python2. 7/runpy. py", line 162, in _run_module_as_main python2. 7/runpy. py", line 72, in _run_code testtools- 0.9.16- py2.7.egg/ testtools/ run.py" , line 332, in <module> testtools- 0.9.16- py2.7.egg/ testtools/ run.py" , line 329, in main argv=argv, testRunner=runner, stdout=stdout) testtools- 0.9.16- py2.7.egg/ testtools/ run.py" , line 155, in __init__ parseArgs( argv) testtools- 0.9.16- py2.7.egg/ testtools/ run.py" , line 232, in parseArgs createTests( ) testtools- 0.9.16- py2.7.egg/ testtools/ run.py" , line 241, in createTests python2. 7/unittest/ loader. py", line 128, in loadTestsFromNames FromName( name, module) for name in names] python2. 7/unittest/ loader. py", line 113, in loadTestsFromName y/tests/ __init_ _.py", line 21, in test_suite addTests( loader. loadTestsFromNa mes(module_ names)) python2. 7/unittest/ loader. py", line 128, in loadTestsFromNames FromName( name, module) for name in names] python2. 7/unittest/ loader. py", line 100, in loadTestsFromName
Traceback (most recent call last):
File "/usr/lib/
"__main__", fname, loader, pkg_name)
File "/usr/lib/
exec code in run_globals
File "/tmp/eggs/
main(sys.argv, sys.stdout)
File "/tmp/eggs/
program = TestProgram(
File "/tmp/eggs/
self.
File "/tmp/eggs/
self.
File "/tmp/eggs/
self.module)
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
test = obj()
File "devportalbinar
tests.
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_metadata'
make: *** [test] Error 255