Merge ~agherzan/ubuntu/+source/backport-iwlwifi-dkms:ag/fix-kvm-builds into ubuntu/+source/backport-iwlwifi-dkms:ubuntu/devel
Proposed by
Andrei Gherzan
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 1da38ed4d1d502ea27d545ea193819ee67fb0cdd | ||||
Proposed branch: | ~agherzan/ubuntu/+source/backport-iwlwifi-dkms:ag/fix-kvm-builds | ||||
Merge into: | ubuntu/+source/backport-iwlwifi-dkms:ubuntu/devel | ||||
Diff against target: |
13 lines (+5/-0) 1 file modified
debian/backport-iwlwifi-dkms.dkms.in (+5/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dimitri John Ledkov (community) | minor packaging comment | Approve | |
Review via email: mp+437204@code.launchpad.net |
To post a comment you must log in.
Hi,
this is a debian package, and follows the normal ubuntu packaging guidelines. In the kernel team, there are automatic scripts that parse commits and generate appropriate debian/changelog automatically and are able to generate a summary for debian/changelog file, and convert buglinks to LP: #NNNNN form such that they end up in the .changes file and automatically close bug report in launchpad.
I would expect here for you to either provide a manual changelog entry (i.e. dch -i; type useful text with LP: #NNNN) and include it in your commit.
Or such that i can do that with the help of `gbp dch` command (git build package, generate debian packaging changelog entry). That does produce a useful changelog entry but without a bug number:
$ gbp dch --ignore-branch 87cec0e4b1ee26f 871c1dd4d0d' 87cec0e4b1ee26f 871c1dd4d0d'
gbp:info: Changelog last touched at '75ff6531785d97
gbp:info: Continuing from commit '75ff6531785d97
$ git diff .cf0d5ff836 100644 iwlwifi- dkms (9904-0ubuntu3.3) UNRELEASED; urgency=medium iwlwifi- dkms.dkms. in: Avoid building when kernel config deps are not satisfied iwlwifi- dkms (9904-0ubuntu3.2) lunar; urgency=medium
diff --git a/debian/changelog b/debian/changelog
index 8ed3d5af17.
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+backport-
+
+ [ Andrei Gherzan ]
+ * backport-
+
+ -- Dimitri John Ledkov <email address hidden> Mon, 13 Feb 2023 14:35:38 +0000
+
backport-
* Support linux 6.1 (LP: #2003808):
As you see that didn't generate LP: #NNNN.
If your changelog entry instead of buglink had "LP: #NNN" it would have working:
$ git log -1 5a4f4b46f5543a0 36204e4c8a (HEAD -> ag/fix-kvm-builds)
commit 0adf140000eb16d
Author: Andrei Gherzan <email address hidden>
Date: Mon Feb 13 13:56:46 2023 +0000
backport- iwlwifi- dkms.dkms. in: Avoid building when kernel config deps are not satisfied
Instruct dkms to avoid building when the kernel configuration _CONFIG based on the dependencies
dependencies for the targeted kernel are not in place. This initial
change defines BUILD_EXCLUSIVE
definition of CONFIG_IWLWIFI. This needs to be kept in sync as the
Kconfig files evolve.
LP: #2007151
Signed-off-by: Andrei Gherzan <email address hidden>
then gbp-dch gives me:
$ dpkg-parsechangelog iwlwifi- dkms Bugs-Fixed: 2007151 iwlwifi- dkms (9904-0ubuntu3.3) UNRELEASED; urgency=medium iwlwifi- dkms.dkms. in: Avoid building when kernel config deps are not satisfied
Source: backport-
Version: 9904-0ubuntu3.3
Distribution: UNRELEASED
Urgency: medium
Maintainer: Dimitri John Ledkov <email address hidden>
Timestamp: 1676299016
Date: Mon, 13 Feb 2023 14:36:56 +0000
Launchpad-
Changes:
backport-
.
[ Andrei Gherzan ]
* backport-
(LP: #2007151)
The generated Launchpad- Bugs-Fixed is the crucial bit here, as that ends up in .changes file and is processed by launchpad.
In the future, for the non-kernel team maintained packages please either provide changelog entries with LP:# or use LP: #NNN form in the git changelog.
Also maybe we should teach git-buildpackage about parsing BugLink: <launchpaddy url>.