enterprisemediawiki / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
41 stars 27 forks source link

Allow specifying refspec in MW git repos #1224

Closed jamesmontalvo3 closed 5 years ago

jamesmontalvo3 commented 5 years ago

Changes

Allow specifying refspec to mediawiki git repos. This will allow specifying in-work gerrit patches for extensions, skins, and mediawiki core. For example:

- name: PageForms
  repo: "https://gerrit.wikimedia.org/r/mediawiki/extensions/PageForms.git"
  version: "ad2e9469504e21df001e5160194b5a82847dc845"
  refspec: "refs/changes/03/518403/15"

Unfortunately it seems you need the hash of the gerrit patch, and can't track the latest commit. When you're on a Gerrit page like this one, you can get the hash here:

image

Issues

Post-merge actions

Post-merge, the following actions need to be addressed: