The link and description on https://sourceforge.net/p/allura/tickets/3777/ are not good. It has <a href="#">Commit: <Commit 9d71562bd33a8995db4fbff706e56e4ddf3f0cdc></a><br>
but the href needs to be set, and the text should not duplicate "Commit" nor have angle brackets. Using a short 6-char hash would be nice, and bonus points for including the first line of the commit message (up to 72 chars).
Example commit reference [zarkov:code:9d71562bd33a8995db4fbff706e56e4ddf3f0cdc]
Created #44: [3778] Change the link and description for commits in related artifacts (1cp)
Originally by: vice-versa
Cannot open ticket from description
https://sourceforge.net/p/allura/tickets/3777/
Error 403
Read access required
Please add sample commit link
Originally by: vice-versa
Sergey
less than 1 minute ago
Cannot open ticket from description
https://sourceforge.net/p/allura/tickets/3777/
Error 403
Read access required
Please add sample markdown commit link
Example commit reference [zarkov:code:9d71562bd33a8995db4fbff706e56e4ddf3f0cdc]
Diff:
I've added an example to the description text, and you can see it under the "Related" header now.
Originally by: tramadolmen
That does look good, but that's not what is showing up on this very ticket. It has:
I don't know what the difference is, you'll have to look around through the code to see what could case it.
Originally by: tramadolmen
Maybe somewhere is the bug if object repo was None and it can't set it by guess_repo function.
So i can change shorthand_id and url functions for repo=None or try to find problem, but it will be difficult for me, because in my local site everything is ok
Okay, let's leave it as-is then.
We are working on a big backend change to repo/commit data models which might fix this. We'll see. And if it doesn't, we can revisit later after that branch is merged.
Thanks
Closed ticket #44 as 'wont-fix'