Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/303737
Change subject: Add run-commit-message-validator script ...................................................................... Add run-commit-message-validator script This creates a virtualenv, installs the script, and executes it. Typically we'd encourage people use to use `tox` for Python lint checks, but since this is specific to git commit messages, we'd probably want people to use a git commit hook rather than manually running tox. Also, per-repository versioning is not an issue here as even though the commit message guidelines is a living document, we'd want people to automatically upgrade. Probably. We'll see. Change-Id: I24e6bb5631ced817323fb9bbba684fabda0fb58c --- A bin/run-commit-message-validator 1 file changed, 11 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins refs/changes/37/303737/1 diff --git a/bin/run-commit-message-validator b/bin/run-commit-message-validator new file mode 100755 index 0000000..987d455 --- /dev/null +++ b/bin/run-commit-message-validator @@ -0,0 +1,11 @@ +#!/bin/sh + +# Clear any venv from old runs? +rm -rf venv +# Requires Python2 for now +virtualenv -p python2 venv +source venv/bin/activate +# Install, hopefully it'll use a wheel +pip install commit-message-validator +# And....go! +commit-message-validator -- To view, visit https://gerrit.wikimedia.org/r/303737 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I24e6bb5631ced817323fb9bbba684fabda0fb58c Gerrit-PatchSet: 1 Gerrit-Project: integration/jenkins Gerrit-Branch: master Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits