should not do any quilt patching for 1.0 source format

Bug #999586 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brz-debian
Fix Released
High
Jelmer Vernooij
bzr-builddeb
Triaged
High
Unassigned

Bug Description

Packaging branches which do not have any format defined, or the format is defined as 1.0 should force quilt_* settings to:
* quilt-tree-policy = unapplied
* quilt-commit-policy = unapplied

The reason is that:
* debuild may fail in the branch, because patches were applied without using ./debian/rules patch
* bzr bd may fail if patches remove files, and bzr exits with missing files error

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

this should already be the case - bzr-builddeb checks the format; can you provide an example where it isn't?

Changed in bzr-builddeb:
status: New → Incomplete
Changed in bzr-builddeb:
status: Incomplete → Invalid
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

On my machine I can reproduce this with:

$ cd /tmp/
$ bzr branch lp:debian/mdadm
Most recent Debian version: MISSING
Branched 15 revisions.
$ cd mdadm/
$ bzr status
modified:
  Makefile
  bitmap.c
  bitmap.h
  super1.c
unknown:
  .pc/
$ cat ~/.bazaar/builddeb.conf
[BUILDDEB]
commit-message-from-changelog=True
quilt-tree-policy=applied
quilt-commit-policy=applied
quilt-smart-merge=True

$ cat debian/source/format
cat: debian/source/format: No such file or directory

Changed in bzr-builddeb:
status: Invalid → New
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: New → Triaged
importance: Undecided → High
Jelmer Vernooij (jelmer)
Changed in brz-debian:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jelmer Vernooij (jelmer)
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in brz-debian:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.