Why does Stash Url include a "scm" entry

I've set up at Stash (1.03 beta 2) behind a Apache proxy and it works as expected. However I wonder about the URLs sugqested. In the Stash web UI under project, repository, files, the computed URL under

"Working with your repository" is:

git clone https://userid@<HOST NAME>/<CONTEXT>/scm/<PROJECT>/<REPO>.git

where does the scm comes from ?

The computed URL under project, repository, settings, "Repository settings, Name" is:

https://userid@<HOST NAME>/<CONTEXT>/git/<PROJECT>/<REPO>.git

which I prefer.

Both URLs are valid, but can I modify the URLs suggested to replace "scm" with e.g. "git"in the URL?
 

1 answer

1 accepted

1 vote
Accepted answer
Jason Hinch Atlassian Team Sep 16, 2012

The /scm/ part of the URL comes from the acronym for Software Configuration Management (http://en.wikipedia.org/wiki/Software_configuration_management) which is another term used for a versional control system. Stash uses /scm/ in the url instead of hard coding the specific SCM (in this case git) to allow for the possibility in the future to add support for additional SCMs.

This part of the URL cannot be changed as there are many parts of the Stash codebase which rely on this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

240 views 3 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you