Merge ppa-dev-tools:packaging-debian into ppa-dev-tools:main
Status: | Merged |
---|---|
Merge reported by: | Bryce Harrington |
Merged at revision: | b08453d9ef3d6f952dfe05586f3a0cff06e77814 |
Proposed branch: | ppa-dev-tools:packaging-debian |
Merge into: | ppa-dev-tools:main |
Diff against target: |
190 lines (+96/-6) 9 files modified
debian/changelog (+14/-0) debian/control (+37/-0) debian/copyright (+24/-0) debian/install (+1/-0) debian/rules (+4/-0) debian/source/format (+1/-0) tests/test_result.py (+3/-2) tests/test_scripts_ppa.py (+9/-1) tox.ini (+3/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical Server | Pending | ||
Canonical Server packageset reviewers | Pending | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+430594@code.staging.launchpad.net |
Description of the change
Implementation of the Debian packaging. This successfully produces an installable .deb for me, that sets up a functional /usr/bin/ppa and modules. Broader testing is appreciated of course, but in review I'm hoping for some detailed nitpicking of the packaging itself.
In particular one issue I'm scratching my head over is when running `debuild` I see lintian errors like these::
dpkg-buildpackage: info: full upload; Debian-native package (full source is included)
Now running lintian ppa-dev-
E: ppa-dev-tools: bad-owner-
E: ppa-dev-tools: bad-owner-
E: ppa-dev-tools: bad-owner-
E: ppa-dev-tools: wrong-file-
E: ppa-dev-tools: wrong-file-
E: ppa-dev-tools: wrong-file-
E: ppa-dev-tools: wrong-file-
E: ppa-dev-tools: wrong-file-
E: ppa-dev-tools: wrong-file-
E: ppa-dev-tools: wrong-file-
E: ppa-dev-tools: wrong-file-
E: ppa-dev-tools: wrong-file-
...
I'm not sure what's causing the group to be set to 1001. The installation still works, and I don't think the group permission should affect anything, but it's definitely incorrect:
triage-
-rwxr-xr-x 1 root 1001 18303 Sep 21 03:30 /usr/bin/ppa*
I'm going to continue debugging this and get it sorted before landing this branch, but if anyone has advice or knows what's going on it'd be appreciated.
Another question I've pondered is whether to keep the debian packaging on a separate branch and/or repo from the upstream tree, as we do with ordinary upstream packages. However, I'm leaning towards keeping it all in the same repo both for simplicity and to facilitate future release automation via the Makefile (ultimately I'd like to run one command to generate all the various packages).
Although this seems to package 0.2.0 adequately, my intent is to produce a 0.2.1 release that includes this branch as well as the snap branch, to pick up all the documentation and other misc. fixups.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Hey,
FYI building this in sbuild locally as I usually do does NOT show those ownership issues.
The only W I see is
W: ppa-dev-tools: no-manual-page [usr/bin/ppa]
Which I think you could fix to be warning-free :-)
buildlog: https:/ /paste. ubuntu. com/p/m5DG9mPVf 7/