Hi all,I'd like to adopt a mandatory README.source for rust packages. This details how d/control should be updated automatically with
debcargo. I attached my draft. Let me know if you have any thoughts/comments/critique. If no-one objects I'll add it to every rust gnome app so future updates can happen more streamlined. In my experience updating it like that saves a lot of time for new upstream releases.
best, werdahias
Updating debian/control ======================= After the post-import of a new upstream release the build-dependencies should be updated. To automate the process of parsing Cargo.toml you can use debcargo (>= 2.7.8) like this: $ debcargo deb-dependencies Cargo.toml | xclip (or | wl-copy). Note that Cargo.toml might be in a subdirectory, so adjust the absolute path accordingly. Then update d/control from the debcargo-generated dependencies. Note that you might need to match the dependencies with the current pacakged ones with a patch relaxing the crate version(s) as usual. In that case, add / refresh the patch, apply it, and re-run above command. This ensures no dependency is missed.
signature.asc
Description: Digital signature