Hi! On Tue, 2026-05-19 at 18:21:32 +0800, Cheng Li wrote: > I'm new to Debian contribution and came across this bug via the > `newcomer` tag. Before I write anything, two quick questions so I > don't duplicate or conflict with the upstream bash-completion > integration you mentioned (pu/merge-bash-completions / > scop/bash-completion#694):
I've now submitted an MR to bash-completion upstream to be able to unblock this and take over the completions in dpkg, which I'd be planning on doing for 1.23.8, where I'm refreshing the pu/merge-bash-completions branch, which I'll try to update tomorrow or so. > 1. Is dpkg-buildpackage completion still open for an outside > contribution, Sure thing! For bash sure, for zsh I see that this is already provided by zsh upstream (but I'm not sure how up-to-date it is). > or has it been absorbed into your upstream work > since then? I've not added anything new relative to bash-completion upstream, but would consider starting to work on bash-completion improvements and additions once the transfer has been coordinate. Let me know if you'd like to start on any program and I'll hold off on those. I'm unlikely to work on zsh as I don't use it, but I'm happy to merge zsh completions. > 2. If still open, would you prefer the initial patch to add a zsh > completion only (matching the existing `_dpkg-parsechangelog` > style under `scripts/completion/zsh/`), or bash + zsh together? Given what I mention above that zsh already ships completions for it, I think bash-only would be easiest, as I'm not sure what's zsh stance on where they prefer to maintain these. But if you or someone else would like to check how an ownership transfer could be done from zsh to dpkg, although that might imply rewriting the zsh completion from scratch (clean room etc) to avoid having to use the Zsh license in dpkg, then I'd be happy to merge such new completions. So from my PoV, both would be ideal, but feel free to work on the ones you are most interested in. In case you work on bash completions, please make use of the new bash-completion 2.12 APIs (but not later). Thanks, Guillem

