Hi! On Wed, 2026-11-25 at 16:16:34 +0000, Colin Watson wrote: > Package: dpkg-dev > Version: 1.23.11 > Severity: wishlist
> This has been a design issue in the .changes file format for as long as > I can remember, and I've seen it worked around in several different > places. I could have sworn I'd had a discussion about it in a bug > report at some point, but I just looked through all of dpkg's archived > and unarchived bugs for likely keywords and to my surprise couldn't find > anything. I suspect I'll end up working around this again, but it seems > like a good idea to at least start figuring out how things could be > improved for the future. It's late now, so I don't want to spend lots of time writing a long mail, but didn't want to not send one either. So just a quick mental dump and state update. I've been recently planning on retrying a .changes format bump, to deprecate old stuff and change semantics for fields with confusing or odd names (such as Suite instead of Distribution). So I've now rebased and updated a bit the next/changes-format-2.0 branch in the https://git.hadrons.org/cgit/debian/dpkg.git repo. I also thought we already had an Origin field in .changes, but apparently I only added one to .buildinfo! In any case I've also wanted to improve our general Origin tracking for a long time: https://lists.debian.org/debian-derivatives/2012/10/msg00046.html https://lists.debian.org/debian-devel/2017/03/msg00339.html Specially the reference to: https://www.hadrons.org/~guillem/debian/docs/origin.proposal Which until these "recent" mails, I mostly circulated them on IRC, and which AFAIR was the basis for the current dpkg-vendor and increasing Origin support. And had been also working on pushing this a bit further with the pu/origin-tracking (which I've now also rebased and reworked a bit) in the same hadrons.org repo. I think one of my biggest mental blocks for pushing this further has been that it's not clear to me whether there should be a distinction between: * the target source vendor (as say specified in debian/changelog), because one should be able to build a source elsewhere (for example for other distros that do simple source rebuilds), but the intent for the target suite (which can be ambiguous) is currently encoded in there! * the target binary vendor (as obtained from the current chroot dpkg vendor), because this represents the environment this was built in. (That's why the current field in .buildinfo is called Build-Origin.) * or even if it even makes sense to override (any of) these concepts. Another is that tracking Origin in .debs requires most probably for the archive to drop the fields from the metaindices to avoid bloating it with redundant information. And as you imply with your proposed field names (?), the Origin might not even be enough sometimes to qualify an upload, where even for Debian you need to use different queues and hosts for different repos. Although I think that might perhaps be no such issue as the queues should be mappable from the suite names? (I'm thinking about dupload here for example.) (For ref, I was also recently exposed to https://wiki.debian.org/DebVendorVariable which is also somehow related to all this.) (I might also be missing stuff, I'll try to better collect my thoughts tomorrow.) Thanks, Guillem

