FS#43290 - aur4 allow comments to reference (link) git commits
Attached to Project:
AUR web interface
Opened by Ido Rosen (idorosen) - Thursday, 01 January 2015, 09:22 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 06 November 2017, 16:31 GMT
Opened by Ido Rosen (idorosen) - Thursday, 01 January 2015, 09:22 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 06 November 2017, 16:31 GMT
|
Details
4) Allow commenters to reference commit SHAs (and convert
those to
links) in the comments section, e.g. gitlab uses ! then the first 7 or more characters of commit sha. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Monday, 06 November 2017, 16:31 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/aurweb.git/com mit/?id=bb623fc545f0e0187cc9b32386c383b7 32bcc9ae
Monday, 06 November 2017, 16:31 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/aurweb.git/com mit/?id=bb623fc545f0e0187cc9b32386c383b7 32bcc9ae
@thiagowfx: See the View PKGBUILD and View Changes links in the AUR4.
You can't really just link anything that is a SHA-1 hash, because it could mean practically anything, and many times wouldn't be related to a commit in the repo of the package you're commenting on.
So, to do it robustly would probably require some custom syntax for it, which Lukas is against adding.
For example, if I wanted to reference commit 12345678, I would type !12345678 in my comment.
Oh wait, I'm dumb and didn't notice the person who filed this already suggested this....