Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • debian
  • scripts
  • misc
  • insert-ubuntu-changes
Find file BlameHistoryPermalink
  • Marcelo Henrique Cerri's avatar
    UBUNTU: d/s/m/insert-ubuntu-changes: use full version numbers · c8f09013
    Marcelo Henrique Cerri authored Sep 27, 2017
    
    
    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: default avatarMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
    Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
    Acked-by: default avatarKamal Mostafa <kamal@canonical.com>
    Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
    c8f09013
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7