Page MenuHomePhabricator

git.wikimedia.org patch pages should be plain text, not HTML
Closed, ResolvedPublic

Description

See T102566#1504142 where a patch command fails miserably because https://git.wikimedia.org/patch/mediawiki%2Fcore/64446397925576210c50baedc77becb470df84e2 (obtained by clicking the "patch" tab on the commit page) is actually a HTML file. Compare with https://github.com/wikimedia/mediawiki/commit/64446397925576210c50baedc77becb470df84e2.patch which returns a proper patchfile.

Event Timeline

Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added a project: Gerrit.
Tgr subscribed.
hashar claimed this task.
hashar subscribed.

The gitblit software powering git.wikimedia.org is in the process of being replaced by Phabricator Diffusion. See:

T111465: [keyresult] Deprecate gitblit in favor of Diffusion
Project: Gitblit-Deprecate

In Diffusion one goes to https://phabricator.wikimedia.org/rMW64446397925576210c50baedc77becb470df84e2 then use the Download Raw Diff link. Or:

curl -L 'https://phabricator.wikimedia.org/rMW64446397925576210c50baedc77becb470df84e2?diff=1'
hashar set Security to None.