Add dependency on argcomplete, which re-uses argparse data to provide
shell completion.
Note that actually enable the completion, the package will need to be
installed, `sudo activate-global-python-argcomplete` must be run and
then a new shell started.
usd import: fix issue with failure to run `gbp import-orig`
If `gbp import-orig` fails, we will raise an exception, but that means
we bypass all the exit cleanup in the function, leading to a broken
repository state.
We currently are facing a few blocking issues with the structure of the
patches-applied branches:
1) util-linux, e.g., is failing to import because
`dpkg-source --print-format` fails. (LP: #1649646).
2) samba fails to import because a historical publish's patchstack does
not apply (possibly due to being more forgiving about fuzz earlier?)
(Discussion at LP: #1649832)
In both cases, we could devise an adjustment to the algorithm to support
'orphan'ing (really someting more than that) failures to get to a
patches-applied state. However, it is unclear how best to tag them, at
this point, and how to, if at all, include them in the history for a
branch. We need to engage the dgit community to determine the right
policy, but in the interest of deploying regular imports, let's simply
disable patches-applied imports for now.
usd tag: fix logical tagging in the merge workflow
When tagging the logical delta, we have dropped all debian/changelog
changes, which means our changelog matches 'old/debian'. If we use
commitish's debian/changelog, then, to extract the tagged version, we'll
end up with the old/debian version. Instead, we want to use the
changelog from old/ubuntu, while still tagging commitish.