I really wonder whether this is the place for it and whether it's a good idea. I actually tried to add this myself but it needed a bigger learning curve that what I was able to allocate in time so maybe you might share thoughts of whether this is a good idea and if this is the place to implement it.
It's basically to replace all #xxxxxx on commit logs in the git repository viewer to drupal.org/node/xxxx link to easily go to the issues.
I found some discussions over this on the infrastructure issue queue and apparently means forking gitweb, which seems useless as they are thinking to ditch it for something else eventually, so in the meantime, this might be a good place to put in some improvements.
Comments
Comment #1
clemens.tolboomI don't understand ... visiting http://drupal.org/node/525726/commits is see all [#xxxx] linked to their issues.
Please give some links as an example.
Comment #2
hanoiiI am not talking about drupal.org, I was talking about drupalcode.org as explained in the title.
For example: http://drupalcode.org/project/dreditor.git
a.=
Comment #3
clemens.tolboomI still needed a few clicks :( to get to ie http://drupalcode.org/project/dreditor.git/commit/a52dbb05fd9d6efcb18a1e...
So you want a link placed with the issue # :)
Are there more pages with this apart from /project/name.git/commit/* ?
Comment #4
hanoiiOn the link I sent you first there are also references to issues in the log. Basically it's on logs and commits, maybe somewhere else as well.
Comment #5
clemens.tolboomOn http://drupalcode.org/project/dreditor.git the links should be placed within a table and on the commit we have to make the page_body text linked to d.o. right?
Do you have some jquery ready for those pages?
Comment #6
hanoiino.. actually when I went to see if I was able to do that I saw that drupalcode.org doesn't have jquery there, so not sure how it can be used anyway.
Comment #7
clemens.tolboomThat can easily fixed with something like
But trying to add
fails.
Strangely enough my opera console does know jQuery. Commenting the line with appendChild makes that fail too ...
So jQuery is loaded ok for console ops :(
Any idea?
Comment #8
mitchell commentedDreditor also did a replacement on a docs page: https://drupal.org/node/878880#comment-5527512.
Link for interested js coders: http://drupalcode.org/project/dreditor.git/blob/refs/heads/master:/dredi...
It might also be nice in the future to have the comment # replaced too if the url has comment id in the url.
Comment #9
sun@mitchell: You seem to talk about something completely different.
Reverting issue properties.
Also, I'm afraid, but Dreditor is not able to run on drupalcode.org, since it entirely depends on jQuery + Drupal[.behaviors].
Which, I guess, makes this won't fix. :-/
Comment #10
mitchell commentedSorry bout that.