Bug 88796 - CGIT: 'log' link does not include commit id
Summary: CGIT: 'log' link does not include commit id
Status: RESOLVED NOTOURBUG
Alias: None
Product: freedesktop.org
Classification: Unclassified
Component: Version control (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: fd.o Admin Massive
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-26 08:58 UTC by Robinson Tryon (qubit)
Modified: 2015-09-18 10:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Robinson Tryon (qubit) 2015-01-26 08:58:14 UTC
PROBLEM:

Cgit provides HTML pages for each commit in a repository, e.g. 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=e12d566

Each page includes a row of links:
summary refs log  tree commit diff

Some of these links reference the given commit id, e.g.
  commit: http://cgit.freedesktop.org/libreoffice/core/commit/?id=e12d566
  refs:   http://cgit.freedesktop.org/libreoffice/core/refs/?id=e12d566

But summary and log do not:
  summary: http://cgit.freedesktop.org/libreoffice/core/
  log:     http://cgit.freedesktop.org/libreoffice/core/log/

I think summary is probably fine as-is, but you get a useful log with context pertaining to the commit if you add the id param to the log url:
  log:     http://cgit.freedesktop.org/libreoffice/core/log/?id=e12d566

I think that the contextual log is a more useful link to list on individual commit pages.

(I'm not sure if this is a bug, or an enhancement request)
Comment 1 Daniel Stone 2015-09-18 10:10:24 UTC
Fair enough. We just run a completely stock cgit though; is there any chance I could convince you to take this up with cgit upstream ... ?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.