Skip to content

add initial packaging and dput hooks#3

Merged
enr0n merged 8 commits intoubuntu:mainfrom
enr0n:packaging
Mar 10, 2026
Merged

add initial packaging and dput hooks#3
enr0n merged 8 commits intoubuntu:mainfrom
enr0n:packaging

Conversation

@enr0n
Copy link
Collaborator

@enr0n enr0n commented Feb 12, 2026

This current form depends on https://salsa.debian.org/debian/dput-ng/-/merge_requests/46, or at least that same change landing in Ubuntu.

This adds a new source package which builds two binary packages: ubuntu-lint and python3-ubuntu-lint. For now, the ubuntu-lint package also installs extra dput hooks. Long term, these might go to dput-ng itself, or somewhere else.

dput-ng does pre-upload checks by inspecting the changes file, which is
something that many lint checks operate on. Hence, many lint checks can
be trivially used as a dput-ng hook, too.

Add these wrappers, and JSON snippets to define the hooks and ubuntu
profile extension.
Right now, we create two binary packages: python3-ubuntu-lint, and
ubuntu-lint. The ubuntu-lint package contains both the CLI, and the
dput-ng hooks. Eventually, the dput-ng hooks may land in dput-ng
itself.
@enr0n enr0n force-pushed the packaging branch 5 times, most recently from a78674d to edff6a3 Compare February 12, 2026 20:34
mypy complains about the import missing, and the version of dput on pypi
is ancient. Just skip this file during CI runs for the time being.
@enr0n enr0n marked this pull request as ready for review February 12, 2026 20:48
@enr0n enr0n merged commit daaeede into ubuntu:main Mar 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants