sync-source sometimes sets section and priority in generated .changes file to None
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
$ sync-source.py -S unstable bglibs
Getting binaries for maverick...
[Updating] bglibs (1.104-2 [Ubuntu] < 1.106-1 [Debian])
* Trying to add bglibs...
2010-05-17 12:49:33 INFO - <bglibs_
2010-05-17 12:49:33 INFO - <bglibs_
2010-05-17 12:49:33 INFO - <bglibs_
I: bglibs [universe] -> libbg1_1.104-2 [universe].
I: bglibs [universe] -> libbg1-dev_1.104-2 [universe].
I: bglibs [universe] -> libbg1-doc_1.104-2 [universe].
$ sed -n '/^Files:/,$p' bglibs_
Files:
6fa484115c4a0a
b97a6a2321c674
99bf5936456c76
This happens because the top stanza of debian/control doesn't have a Section field. dpkg-genchanges emits a warning in this case (and likewise if Priority is missing), but the policy manual only lists Section and Priority as "recommended" here so it still generates a source package and it's perfectly possible for us to need to sync such packages from Debian.
I'll provide a branch to fix this shortly.
Related branches
- Julian Edwards (community): Approve
-
Diff: 16 lines (+4/-2)1 file modifiedscripts/ftpmaster-tools/sync-source.py (+4/-2)
Changed in soyuz: | |
assignee: | Julian Edwards (julian-edwards) → Colin Watson (cjwatson) |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
Fixed in stable r10870 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 10870>