On mer. 02 juil. 2025 15:46:36, Max Gilmour wrote: > I like this idea. I discussed things with the team and the plan is to > implement both the ability to update debian/control *and* stdout the > expected XS-Vendored-Sources, each individually toggleable through CLI > options.
I thought the plan was that the two modes would be either output unconditionally on stdout or check the current value and output on stderr if mismatch? I'm not a huge fan of updating d/control directly, to be honest. How about going through substvars instead? We'd write the file in d/rust-vendor.substvars and check that d/source/options contains -Tdebian/rust-vendor.substvars. That way we don't have that horrible 10km-long line in d/control anymore. Since we keep the build-time check as well, we can hint people towards the substvar thing then. WDYT? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2115573 Title: Have dh-cargo-vendored-sources update debian/control rather than just verify it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-cargo/+bug/2115573/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
