Erroneous data in debian/copyright, can we bypass or configure its generation?

Bug #1206911 reported by Peter Levi on 2013-07-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-distutils-extra
Undecided
Unassigned

Bug Description

I'm using Quickly for building an app that uses some minified Javascript libraries. The generated debian/copyright file contains lots of junk. Try building a project with the attached jquery.js file in the project data folder to see this. Additionally, if I try to bypass its generation by making the file read-only, python-mkdebian complains with:

Traceback (most recent call last):
  File "/usr/bin/python-mkdebian", line 374, in <module>
    prefix=options.prefix)
  File "/usr/bin/python-mkdebian", line 88, in make_debian
    make_copyright(egg)
  File "/usr/bin/python-mkdebian", line 102, in make_copyright
    f = open('debian/copyright', 'w')
IOError: [Errno 13] Permission denied: 'debian/copyright'

Is there a way to force Quickly to bypass the generation of some of the debian files or to configure what to include or exclude form debian/copyright generation?

debian/control is another good candidate to be excluded from auto-generation, as one might be using runtime logic or error handling to be "flexible" about which libraries to import, so not everything the code imports should necessarily end up in the "Depends" section.

Peter Levi (peterlevi) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers