Page MenuHomePhabricator

Some git.wikimedia.org URLs are broken
Closed, ResolvedPublic

Description

Although the link
https://git.wikimedia.org/blob/operations%2Fpuppet.git/ef59b32b7e8d7ecd5a47afcdfa9062cc926ae0f7/manifests%2Fadmins.pp#L48
works fine, if I replace the hash by "head" I get one which doesn't work:
https://git.wikimedia.org/blob/operations%2Fpuppet.git/head/manifests%2Fadmins.pp#L48

It shows the following:

Internal error

Return to home page

This link probably worked at some point, because it is linked from
https://meta.wikimedia.org/wiki/System_administrators?oldid=5684239


Version: wmf-deployment
Severity: normal

Details

Reference
bz52648

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:00 AM
bzimport added a project: Gerrit.
bzimport set Reference to bz52648.
bzimport added a subscriber: Unknown Object (MLST).

I haven't any experience with gitblit, so I might be totally wrong here.

But when trying with other repos, I had to use “HEAD” (all caps) instead
of “head” (lowercase).

For the operations/puppet repository "HEAD" does not work either. (Maybe
because HEAD is not pointing to the usual “master” branch, but HEAD is
pointing to “production”?)

Either way, the link:
https://git.wikimedia.org/blob/operations%2Fpuppet.git/production/manifests%2Fadmins.pp#L48
allows to refer to line 48 of manifests/admins.pp for the current tip of the
production branch (which currently agrees with HEAD).

(In reply to comment #0)

This link probably worked at some point, because it is linked from
https://meta.wikimedia.org/wiki/System_administrators?oldid=5684239

That was probably GitWeb.

Afaik this actually only effects Operations and chad has already filed it up steam I believe.

  • This bug has been marked as a duplicate of bug 50152 ***