Actions
Task #2200
closedAdd hub link for git hash
Start date:
Due date:
% Done:
100%
Tags:
URL:
Description
Need redirects like
hub.libreoffice.org/git-core/749405af4 -> https://gerrit.libreoffice.org/gitweb?p=core.git;a=log;h=749405af4
and
hub.libreoffice.org/git-online/5c8fb678 -> https://gerrit.libreoffice.org/gitweb?p=online.git;a=log;h=5c8fb678
Currently the links to gerrit are hardcoded in both core and online.
Updated by Guilhem Moulin about 8 years ago
- Status changed from New to Closed
- Assignee set to Guilhem Moulin
- % Done changed from 0 to 100
Done.
$ curl -I 'https://hub.libreoffice.org/git-xyz/deadbeef'
HTTP/1.1 302 Moved Temporarily
Server: nginx/1.6.2
Date: Fri, 24 Mar 2017 14:08:11 GMT
Content-Type: text/html
Content-Length: 160
Connection: keep-alive
Location: https://gerrit.libreoffice.org/gitweb?p=deadbeef&a=log&h=xyz
Works both for 8- and 40-hexdigits commit IDs.
Actions