Sync debian/* with Debian packaging on Debian Salsa #364
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.
Hi @luziferius,
Thank you for your very kind gesture. Your updates to debian/* have been really great! Indeed, I borrowed heavily from your effort in the recent Debian package update. This pull request synchronizes the relatively minor changes that I made.
About "reduce the patch sizes on [debian's] side", it was true with the Debian source format 1.0 where
debian/*
files get stored in a .diff.gz file, but since the migration to Debian source format3.0 (quilt)
,debian/*
files are now stored in a .debian.tar.xzAs for upstream source including the debian/ directory, actually, Debian guidelines suggest not including it at all. At https://wiki.debian.org/UpstreamGuide#Initial_Packaging, it is written:
That said, your current debian folder does not interfere with our current "tarball-based git-buildpackage workflow"; and git-buildpackage simply discards the debian/ directory from the upstream tarball, and instead unpacks .debian.tar.xz into debian/. Also, given the rich history of AutoKey's own Debian packaging, especially a very interesting debian/changelog that goes all the way back to 2008, over 12 years ago, that I thought it is worthwhile to keep it going in your upstream source. :-)
Debian package uploaded to debian.org is the single source of Debian derivatives including Ubuntu, thus keeping https://salsa.debian.org/python-team/applications/autokey up-to-date is the best way to do so. Unfortunately, that had not happened for Debian's autokey package in the past few years, so the various Ubuntu PPAs has kept AutoKey up-to-date for at least some Ubuntu users.
Hope the situation will improve now that autokey is maintained by the Debian Python Applications Packaging Team. :-D