maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SCM-886) Tests with checkin rely on global git config
Date Tue, 15 May 2018 09:23:00 GMT

    [ https://issues.apache.org/jira/browse/SCM-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475534#comment-16475534
] 

ASF GitHub Bot commented on SCM-886:
------------------------------------

McFoggy opened a new pull request #73: [SCM-886] introduce helper class to configure git commit
user
URL: https://github.com/apache/maven-scm/pull/73
 
 
   in every tests performing some modifications in git repository (commits, ...)
   a defaut user (name & email) is configured so that git commands succeed if no global
user exists
   
   fixes #SCM-886
   
   Signed-off-by: Matthieu Brouillard <matthieu@brouillard.fr>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Tests with checkin rely on global git config
> --------------------------------------------
>
>                 Key: SCM-886
>                 URL: https://issues.apache.org/jira/browse/SCM-886
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 1.9.5
>            Reporter: Matthieu Brouillard
>            Priority: Major
>
> Inside maven-scm-provider-gitexe project, the two following tests `GitCheckInCommandNoBranchTest.testCheckinNoBranch`
and `GitCheckInCommandTest.testCheckinAfterRename` expect a global user.name and user.email
to be set.
> On installations where .gitconfig contains the following:
> {{[user]}}
> {{useConfigOnly = true}}
> The tests will fail.
> It would be better after repository creation to configure a user name & email at
project level.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message