jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/334498 )
Change subject: Notify user when gem version of plugin is installed ...................................................................... Notify user when gem version of plugin is installed Follow up to c8ca59051837 that adds a check for the deprecated gem version of the mediawiki-vagrant plugin. When detected the user will be given a message explaining how to uninstall the plugin and the current action will be halted. Bug: T156380 Change-Id: Iaeacff7edabb5d8bf661c8e51093b966806b3e6c --- M Vagrantfile 1 file changed, 9 insertions(+), 0 deletions(-) Approvals: BryanDavis: Looks good to me, approved jenkins-bot: Verified diff --git a/Vagrantfile b/Vagrantfile index ad04acb..051da69 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -33,6 +33,15 @@ require 'ipaddr' require 'socket' +# T156380: Check to see if the legacy gem version of the plugin is installed +if Vagrant.has_plugin?('mediawiki-vagrant') + raise <<-EOS + + The deprecated mediawiki-vagrant plugin is installed. + Please remove it by running `vagrant plugin uninstall mediawiki-vagrant`. + EOS +end + mwv = MediaWikiVagrant::Environment.new(File.expand_path('..', __FILE__)) settings = mwv.load_settings -- To view, visit https://gerrit.wikimedia.org/r/334498 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iaeacff7edabb5d8bf661c8e51093b966806b3e6c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/vagrant Gerrit-Branch: jessie-migration Gerrit-Owner: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits