File conflict when merge back packaging branch to upstream
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
canonical-bazaar | ||
Ubuntu Distributed Development |
Triaged
|
Medium
|
Unassigned |
Bug Description
typical case:
- you have your upstream branch with a "foo" file
- this file isn't distributed into your tarball, so, at first merge-upstream, it will removing it from your packaging branch
- then, with the recipe, on the merge back, no issue (deleted)
… until the day, upstream change the content of "foo" file
change in "foo" in trunk + merge of a deleted file from the packaging branch -> FAIL
-> upstream has to include all kind of crude packages like autogen.sh, .bzrignore to tarball. When we miss one, conflict occurs in hudson.
dx and desktop team loose approx one to two hours a week because of that, figuring out which files aren't distributed, relaunching hudson build and so on.
-------------
The scenario seems to be the following (taking HACKING file as a filename example):
have a branch A (containing a HACKING file),
create a branch A-packaging from A (containing a HACKING file too, consequentely)
then, use merge-upstream workflow, the A pristine tar not having a HACKING file., HACKING file is so removed from A-packaging.
If upstream changed the HACKING file, and merge back the packaging branch to their upstream branch (for instance, with hudson daily build), there will be a conflict in the HACKING file.
tags: | added: bzr |
description: | updated |
description: | updated |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: merge udd |
Changed in bzr: | |
assignee: | nobody → canonical-bazaar (canonical-bazaar) |
tags: | added: check-for-breezy |
Hi,
Thinking about this I think bzr-builddeb is acting correctly, we shouldn't
arbitrarily include things in the packaging tree that aren't in the tarball, if
you want to add it as part of the packaging then you can, and if you
get the file-ids right then this would work.
Therefore I reassign this to UDD as I think we should do something to handle
those conflicts better when we merge back as part of bzr-builder.
Thanks,
James