You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Struberg (JIRA)" <ji...@codehaus.org> on 2009/10/08 14:43:32 UTC

[jira] Commented: (SCM-498) git providers should use the fetch and push URLs instead of 'origin'

    [ http://jira.codehaus.org/browse/SCM-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194004#action_194004 ] 

Mark Struberg commented on SCM-498:
-----------------------------------

fixed in Revision 823147

> git providers should use the fetch and push URLs instead of 'origin' 
> ---------------------------------------------------------------------
>
>                 Key: SCM-498
>                 URL: http://jira.codehaus.org/browse/SCM-498
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.2
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.3
>
>
> Currently we use 'origin' and the configuration behind it in .git/config [remotes] when e.g. pushing to the upstream repo.
> This causes problems if a -Dusername or -Dpassword is supplied, because 'origin' still doesn't reflect those settings.
> solution:
> we should use the dynamically created URL (with applied username and password) for each and every location reference in the maven-scm-providers-git.
> While doing this, we should also consider to maintain 2 separate URLs for fetching and pushing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira