[Bug 851812] Re: [edit-patch] producing wrong file when creating patch name ending with dot

Akbarkhon Variskhanov 851812 at bugs.launchpad.net
Wed Jun 15 15:59:43 UTC 2022


That's because the scripts attempts to normalize patch extension.
Currently, everything is stripped off until the first period, inclusive.

normalize_patch_extension() {
...
    PATCHNAME=${PATCHNAME%.*}
}

This is done to ensure that the correct extensions for quilt/dpatch/cdbs
are appended.

Your issue is valid but I'm not quite sure what the solution would be.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/851812

Title:
  [edit-patch] producing wrong file when creating patch name ending with
  dot

Status in devscripts package in Ubuntu:
  New

Bug description:
  [edit-patch] producing wrong file when creating patch name ending with
  dot, for example 02_fix_FTBFS_GCC_4.6

  to produce this errors:
  $ pull-lp-source packages
  $ cd packages-version
  $ edit-patch 02_fix_FTBFS_GCC_4.6

  patches file produces 02_fix_FTBFS_GCC_4 not 02_fix_FTBFS_GCC_4.6, see
  https://launchpadlibrarian.net/80055444/clutter-
  gesture_0.0.2.1-2ubuntu2.dsc.debdiff

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/851812/+subscriptions




More information about the foundations-bugs mailing list