Hey Jacob, thanks for the great template!
Version strings are gnarly with this one but they look right to me.
ubuntu-lint+builds+autopkgtest are green.
Blockers:
1. The Origin: field in your patches isn't quite DEP-3 compliant; to use
just a bare commit hash the spec calls for a "commit:" prefix. In
general I'd prefer the upstream VCS URL to keep things consistent.
2. Could you include the LP bug number in the patch name? e.g.
lp2169601-Handle-SIGHUP-like-SIGTERM.patch
Nits (roughly in order of importance):
1. Your test plan is great; however, it would be good to verify that
reprepro still produces a valid apt repository, even though your changes
don't affect that part of the tool. The Jammy package hasn't been
rebuilt for ~5 years; there's always a small chance drift since the last
rebuild would introduce some kind of breakage [1]. I think configuring
the local dir as an apt source to see if you could install one of the
empty packages would be sufficient. If the autopkgtests for a given
release cover this, you can just say so in the test plan and skip this
extra step for that release.
2. The changelog entry should give the user a way to evaluate whether
they want to install this update or not. In service of that, I like to
list the patches as sub-bullets since the specific patch names are less
relevant to a user. I'd suggest something like:
* Handle SIGHUP like SIGTERM, so a terminal hangup during a database
write no longer corrupts the repository or leaves a stale lock file
(LP: #2169601)
- d/p/lp2169601-Handle-SIGHUP-like-SIGTERM.patch
3. It's nice to use the normalized/shortened LP URL for a Bug-Ubuntu:
https://bugs.launchpad.net/bugs/2169601
4. I notice that for R/S you've copied what Bastian did in Debian and
put the new patch before the existing one in d/p/series. Since the
patches don't touch the same file, this *works*, but it's best to always
append patches to the end of the series file unless you have a
compelling reason not to.
5. I generally view the dep-3 headers as part of the "Subject:" rather
than a structured field. This feedback isn't fair because it's somewhat
specific to my review workflow, but could you put the Origin tag with
the Bug/Bug-Ubuntu tags? gbp doesn't handle this edge-case well, so when
viewing your patches with the `gbp pq` the origin tags are stripped out.
Thanks!
[1]
https://ubuntu.com/project/docs/SRU/explanation/requirements/#minimal-
changes-only
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169601
Title:
SIGHUP during db write corrupts the repository
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/reprepro/+bug/2169601/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs