Project

General

Profile

Actions

Task #3576

open

The commit hash linkifier in git.libreoffice.org does not recognize the project, and always points to core

Added by Mike Kaganski about 2 years ago. Updated about 2 years ago.

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

0%

Tags:

Description

See https://git.libreoffice.org/core/+/90020e670e543bbcd54598eb62b43a5e996de0d1. It references a commit hash from another project (help), but the linkifier points to non-existing commit under core.

The linkifier should be made a bit smarter. It could check if the hash actually exists (no idea how sane, since that would incur an overhead, which possibly could be lessened by caching), or it could analyze the commit text, which is uniform for special commits like that one (but the latter option would not help for hypothetical cases when manual commit message would include hash from another project).

Also maybe make the linkifier recognize shortened hashes, as in https://git.libreoffice.org/core/+/83d599fd7c530d14f70ac60bd673b66640191bf7 referencing "6810aa937caca1". Using that shortened hash is possible in URL like https://git.libreoffice.org/core/+/6810aa937caca1. This would likely also imply some check for existence.

Actions

Also available in: Atom PDF