Skip to content

Alternative "GL-" prefix for crosslinking issues

Sven Schwyn requested to merge (removed):204877-alt-issue-ref-prefix into master

See #204877 (closed)

A minimalistic implementation of the alternative GL- issue prefix for text parsers only.

For example, a commit message which contains GL-1234 will be linked on GitLab as if it were using the regular reference notation #1234.

Commit on the Git client (Fork):

Screen_Shot_2020-02-11_at_19.36.30

Same commit on GitLab:

Screen_Shot_2020-02-11_at_19.39.08

It's up to debate whether the above discrepancy between the source (commit message, issue text, wiki content etc) and the rendered view of this source is problematic or not.

IMHO, it's not a problem because those using the alternative notation have good reason to do so and are aware of it. I'd rather stick to # as the prefix used consistently across all of GitLab for all rendered output as well as searches.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #204877 (closed)

Edited by Rémy Coutable

Merge request reports