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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

31,062 views 26 12
Join discussion

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