]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - debian/scripts/misc/insert-ubuntu-changes
UBUNTU: d/s/m/insert-ubuntu-changes: use full version numbers
authorMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Wed, 27 Sep 2017 20:23:49 +0000 (17:23 -0300)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 28 Sep 2017 14:54:35 +0000 (10:54 -0400)
commit0f0c2f05826e7716042f9a06479d3ab280fa4fd8
tree3947a01b43ca4f53816bbdeb7c1507b9d753bea8
parent973f0074645506f07801dac63f5a501cf471923a
UBUNTU: d/s/m/insert-ubuntu-changes: use full version numbers

Ignore: yes

Make insert-ubuntu-changes to consider full version numbers when looping
through debian.master/changelog entries and comparing the version number
of each entry with the arguments passed to the script to decide which
entries should be included in the output changelog file.

Previously, only the last number in the version was used in this
comparison. For example, when comparing 4.4.0-50.51 and 4.4.0-83.84 only
the numbers 51 and 84 were actually used in the comparison. That however
might not work properly when the major version is bumped.

For instance, using "end" as 4.4.0-50.51 and "start" as 4.4.0-83.84 used
to work fine because 84 is greater than 51. However when using "end"
as 4.11.0-10.11 and "start" as 4.13.0-2.3, no entry was being selected
since 3 is not greater than 11.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
debian/scripts/misc/insert-ubuntu-changes