etc-update: Add Debian support #1494
Open
+42
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Technically this also adds Ubuntu support but I have not tested that one
at all. Using this on Debian works as expected given the code is
basically copied over from the rpm section with suffixes changed. At
time of writing it does not seem like Debian has any tool similar to
this despite having feature requests for something similar from at least
2001.
Above is the commit message verbatim.
Several notes which don't really fit into the commit message:
.debfile for testing is available from my CI (source for the.deb(IPv6-only)).OS_FAMILYsection, suggestions welcome.off-topic meta
And a small aside which is absolutely out of scope for this PR, but I just happened to notice; ./DEVELOPING states:
Personally I'd suggest uncapping the detailed commit message body line width (not the headline tho!) unless there is an actual technical blocker.
Basically every tool I know does proper line-breaks, and making modifications in the middle of the text won't require having to re-pack (vim's
gqfor instance) again afterwards.IMHO it just looks cleaner if you're already using a similar text formatting to mine.
I don't want to invite a discussion within this PR about this however, just throwing it out there.