Is it possible to change the display name stash users to display the author of each commit? Currently it shows the authors user name and I was wondering if that can be changed to show the authors email address. Sort of how you can do "git blame --show-email [file]". So I want to use email as the display name in the stash repository browser when browsing the repo.
I'm afraid that we don't currently have any mechanism for displaying that information in Stash. I suspect your best bet is watch/vote for this issue, which is about linking a committer to a user profile page (or some fallback):
Hi Charles, thanks for the quick reply. The issue you referenced isn't exactly what I was looking for, although I do think that feature would be nice too. My question and issue is merely for display purposes on existing UI. My company is using ldap for authentication so every comitter's user name is each users issued company id which is meaningless for developers. If you want to see who made a change, it requiers looking at the committers Id and than looking that id up in our company directory, pretty tedious! I took a screen shot of it on jing, this might help explain it better: http://screencast.com/t/7rxsHCQRf
Basically we would like to configure the stash UI to display the author as author.email instead of author.username. Does that make sense and is that possible?
Sorry, I wasn't suggesting that the above issue was exactly what you were looking for, more that it's something that we plan on doing and will require a change to how we show the author. I imagine that by looking up the user details at that point we could also display their 'name' rather than what's recorded against the commit (unless the user couldn't be found). I think that would then be roughly equivalent to what you're looking for?
Something that I forgot to mention that might be able to help in the short term is our upcoming support in 2.5 for '.mailmap' files, which would allow you to override the displayed userid with a real name. This has the extra benefit that you would get the same result when running Git locally.
Other than that I'm not sure if we have any intention to reveal the email address as well. I will have to ask someone on my team and get back to you.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
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