Project

General

Profile

Actions

Task #2200

closed

Add hub link for git hash

Added by Samuel Mehrbrodt about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
Due date:
% Done:

100%

Tags:

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.

Actions #1

Updated by Guilhem Moulin about 7 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

Also available in: Atom PDF