- Package:
- git-buildpackage
- Source:
- git-buildpackage
- Submitter:
- Nicolas Boulenguez
- Date:
- 2026-02-24 02:45:03 UTC
- Severity:
- wishlist
- Tags:
Hello. https://www.debian.org/doc/debian-policy/ch-controlfields.html#version-control-system-vcs-fields allows the VCS-Git to specify a branch and a relative path inside a given repository. # gbp clone vcs-git:pcscada gbp:error: Can't find any vcs-git URL for 'pcscada' The attached patch fixes the branch selection. It does not allow a relative path.
Hi, Thanks, makes sense, some comments: I think we should always return a tuple and have branch = None when there's no -b so we can also avoid the isinstance() below. It would also be great to have a test (e.g. by just having a test that parses some pre fetched apt output (so we don't need to run it in the tests). Cheers, -- Guido
Hello. The attached commit implements your suggestions.
Ping?
Hi, I'll have a look over the next days (I missed your last update). Cheers, -- Guido
Hello. A new version is attached, with several unrelated new suggestions. All tests pass.
Hello. 0001 seems obsolete. 0002 is improved by IntEnum 0004-6 are improved by NamedTuple, making 0003 unnecessary All tests pass and mypy is happy. By the way, the source package differs a lot from the git repository. It embeds lots of things into tests/component/deb/data/*. Is this deliberate?