Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-498

git providers should use the fetch and push URLs instead of 'origin'

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      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.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              struberg Mark Struberg
              Reporter:
              struberg Mark Struberg

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment