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
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,764 views 1 5
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