Page MenuHomePhabricator

ArmchairGM links to the most recent commit don't work in Diffusion
Closed, ResolvedPublic

Description

rAMGM is the archived legacy ArmchairGM repo (originally published as the wikia-ny branch by Wikia back in 2011), available in codesearch as an unlisted repo at the URL https://codesearch.wmflabs.org/armchairgm/ (because while the repository is an interesting piece of MediaWiki history, it is not and has not been actively developed for over a decade; hence why it's an archived reference).

When you search for something, a string or an expression, that is found in one or more files, the result links will have incorrect URLs like https://phabricator.wikimedia.org/diffusion/AMGM/browse/4886e993011435ec10471022d19146e075b9bdcc/extensions/wikia/DPLforum/DPLforum.php ; the hash is incorrect/wrong/unwanted and instead of that it should simply be master for the links to be correct.

Event Timeline

I think this might be a Phabricator issue, given that https://phabricator.wikimedia.org/rAMGM4886e993011435ec10471022d19146e075b9bdcc does in fact exist, except it says:

Unpublished Commit · Learn More
Repository Importing: This repository is still importing.

Legoktm renamed this task from ArmchairGM repo codesearch: links in results are broken, should point to master instead of a certain (nonexistent) hash to ArmchairGM links to the most recent commit don't work in Diffusion.Jul 28 2019, 8:08 PM

fixed with sudo /srv/phab/phabricator/bin/repository refs AMGM --rebuild

mmodell claimed this task.
mmodell removed mmodell as the assignee of this task.

ok so the commits don't show as importing now, however, the problem still exists with the link in the description. The correct URL should look like this:

https://phabricator.wikimedia.org/diffusion/AMGM/browse/master/extensions/wikia/DPLforum/DPLforum.php;4886e993011435ec10471022d19146e075b9bdcc

Legoktm claimed this task.

I think we can basically call this fixed now that armchairgm is indexing from github instead :/