Package: git-buildpackage
Version: 0.9.14
Severity: normal

Hi,

I noticed gbp-import-dsc ignores the epoch when importing native
packages:

    gbp import-dsc --author-is-committer \
                   --author-date-is-committer-date \
                   --upstream-branch=upstream/buster \
                   --debian-branch=debian/buster \
                   --debian-tag=debian/%(version)s \
                   --no-sign-tags \
                   --no-pristine-tar \
                     ruby-defaults_2.5.1.dsc

Produces:

    $ git show ae02ef9e | head -n 7
    commit ae02ef9e07b785f193d140cdb410695e5764633c
    Author: Antonio Terceiro <terce...@debian.org>
    Date:   Thu Mar 22 10:46:07 2018 +0800

        Import Debian version 2.5.1

        ruby-defaults (1:2.5.1) unstable; urgency=medium

And a tag named debian/2.5.1 annotated:

    Debian version 2.5.1

I would expect the epoch to be included in both the tag (with : escaped as
%) and the commit message. That’s what (if I’m not mistaken) importing
non-native packages currently does.

Thanks in advance for looking into this.

-- 
Cheers,
  Andrej

Reply via email to