Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364339 - Enable annotate/blame feature in git.eclipse.org web UI
Summary: Enable annotate/blame feature in git.eclipse.org web UI
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 09:35 EST by Remy Suen CLA
Modified: 2018-10-29 14:16 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2011-11-21 09:35:43 EST
In the CVS web UI, I was able to click 'annotate' on a file and see who made the changes for a particular line in that file. I need the same feature for the g.e.o web UI.

I was told that this feature is disabled by default. Could it be enabled?

Thanks.
Comment 1 Denis Roy CLA 2011-11-21 10:02:09 EST
I don't think cgit (our web frontend) supports that.
Comment 2 Denis Roy CLA 2014-05-07 16:22:24 EDT
This would be interesting to see in cGit.
Comment 3 Markus Keller CLA 2015-06-19 15:46:40 EDT
https://gerrit.googlesource.com/gitiles/+blame/master/README.md has blame support but misses a few other options:
- summary page with last commit message and tags per branch
- search
- side-by-side diffs
Comment 4 Markus Keller CLA 2018-10-29 13:20:38 EDT
cgit has added blame support, but it doesn't render correctly on eclipse.org:
http://git.eclipse.org/c/www.eclipse.org/jdt.git/blame/ui/scripts/jdtbugzilla.user.js

On the cgit website, it looks fine:
https://git.zx2c4.com/cgit/blame/cgitrc.5.txt


=> The problem is that you're using an outdated cgit.css that doesn't match the generated HTML.

When I hack in the differences at line 289 and after line 317, then it starts to look reasonable again. Please use the right version of cgit.css for your version of cgit.
Comment 5 Denis Roy CLA 2018-10-29 13:53:53 EDT
Try reload/refresh.  I updated the CSS.
Comment 6 Markus Keller CLA 2018-10-29 14:16:15 EDT
Hooray, looks great! Thanks Denis.