SVN->Stash, Crowd, git email and login


I am currently migrating from SVN so i did a authors file from svn. What are the emails used for in Stash ? What happens if the email is not correct anymore ? Can the user login ? We use Crowd with stash. In stash the user is loging in with it's AD username and the username in authors.txt matches this one but i am not sure about the email so would this cause problems ? Can i correct it in Stash if there are issues ?


1 answer

Hi Donnib,

The emails are purely Git and stem from the open source world where emails are king. In one sense the Git emails are not all that important to Stash at all - it doesn't matter if the emails are valid or match the actual address of your AD (or Crowd) users. Longer term there are requirements to link emails in a Git commit to their Stash user counterparts, but that's purely for display purposes. You might wish to install a plugin on your Stash instance that restricts commits to your AD users, but that's a different story. Also note that users need to set their name/email locally for new commits, what you're currently dealing with is just the SVN history.

If an email changes, or you need to update an email address, Git has mechanisms to map one email to another, and as of Stash 2.5 we now support them.

In short, while it's nice to get the SVN users to match with a correct AD user/email, and it keeps the history cleaner, it's fair from criticial and there are mechanisms, as mentioned above, to correct any mishaps that you make at the migration state.

I hope this helps somewhat?


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 ...

1,895 views 7 10
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