On Fri, May 06, 2016 at 12:46:39PM +0900, Charles Plessy wrote:
[..snip..]
> Then, I imported a package made by another developer
> (r-cran-doparallel_1.0.10-1.dsc to be precise).
> 
> The command `git show --pretty=fuller` shows that he is
> listed as "Author" of the commit.
> 
>     commit 8ba676ef6f78fd7996150bffc68314efb1bd1ad6
>     Author:     Andreas Tille <ti...@debian.org>
>     AuthorDate: Tue May 3 22:33:20 2016 +0200
>     Commit:     Charles Plessy <ple...@riken.jp>
>     CommitDate: Fri May 6 12:37:27 2016 +0900
>     
>         Imported Debian patch 1.0.10-1

author-is-committer makes sure that the committer is identical to
the author, which in turn is the person that prepared the Debian patch:

    # gbp import-dsc --download --no-author-is-committer  
http://http.debian.net/debian/pool/main/r/r-cran-doparallel/r-cran-doparallel_1.0.10-1.ds

    commit 4ee78a6bda78f2e63b7bedf0dfba63afadad2366
    Author:     Andreas Tille <ti...@debian.org>
    AuthorDate: Tue May 3 22:33:20 2016 +0200
    Commit:     Guido Günther <a...@sigxcpu.org>
    CommitDate: Sun May 8 11:34:06 2016 +0200

        Imported Debian patch 1.0.10-1

    # gbp import-dsc --download --author-is-committer 
http://http.debian.net/debian/pool/main/r/r-cran-doparallel/r-cran-doparallel_1.0.10-1.dsc

    commit 5f4a15c9a707f7d35b077e8f9c3f2bed8de80026
    Author:     Andreas Tille <ti...@debian.org>
    AuthorDate: Tue May 3 22:33:20 2016 +0200
    Commit:     Andreas Tille <ti...@debian.org>
    CommitDate: Sun May 8 11:37:30 2016 +0200

So the option does what it should but not what you want/need. You want
s.th. that overrides the author with the committer (and not vice versa),
correct? So we ought to add --committer-is-author (and turn this into a
wishlist bug) so we get:

    # gbp import-dsc --download --comitter-is-author  
http://http.debian.net/debian/pool/main/r/r-cran-doparallel/r-cran-doparallel_1.0.10-1.ds

    commit 4ee78a6bda78f2e63b7bedf0dfba63afadad2366
    Author:     Guido Günther <a...@sigxcpu.org>
    AuthorDate: Tue May 3 22:33:20 2016 +0200
    Commit:     Guido Günther <a...@sigxcpu.org>
    CommitDate: Sun May 8 11:34:06 2016 +0200

        Imported Debian patch 1.0.10-1

correct?
 -- Guido

Reply via email to