Le Thu, May 05, 2016 at 01:57:03PM +0200, Guido Günther a écrit :
> On Thu, May 05, 2016 at 04:19:44PM +0900, Charles Plessy wrote:
> > 
> >     [import-dsc]
> >     author-is-committer = False
> >     author-date-is-committer-date = False
> > 
> > Is that a bug or did I misunderstand what `author-is-committer` is actually
> > doing ?
> 
> I think I know what you're talking about but could you attach the output
> of
> 
>    git show --pretty=fuller
> 
> of the import and additionally how you want it to look like? The current
> format is not ment to override the author but only the committer so we
> might need an extra option for that.

Thanks Guido for the prompt answer.

Here is a simple test example.

I created an empty repository, and added a gbp configuration
file that turns off `author-is-committer`:

    $ grep author-is-committer .git/gbp.conf 
    author-is-committer = False

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

In a different situation (another package, another maintainer), I would like to
be listed as "Author" of the "Imported Debian patch" commit in order to make it
clear that the repository is not maintained by the official package maintainer.

Thanks for your help !

Charles

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan

Reply via email to