https://bugzilla.gnome.org/show_bug.cgi?id=605021
sysadmin | Git | unspecified
Summary: Update to current cgit stable version
Classification: Infrastructure
Product: sysadmin
Version: unspecified
OS/Version: Windows
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: Git
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
GNOME target: ---
GNOME version: ---
Hi, current cgit stable version is 0.8.3.1 , it would be good to upgrade for
some features (highlighted source files, side by side diffs) but the feature I
prefer is that it can link #bug_number in commit messages to the corresponding
bugzilla link, so we dont have to copy paste the number and enter manually the
url in the browser. Than is done implementing a commit-filter hook, like the
following:
The setup:
$ grep filter /etc/cgitrc
commit-filter=/home/larsh/bin/cgit-commit-filter.sh
$ cat ~/bin/cgit-commit-filter.sh
#/bin/sh
sed -re 's|\b([0-9a-fA-F]{10,40})\b|<a href="./?id=\1">\1</a>|g'
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.
_______________________________________________
gnome-infrastructure mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-infrastructure