Commit Graph

37 Commits

Author SHA1 Message Date
Anshum Gupta 47e7fbc4dc GPG Password checker throws error only when process has not been terminated 2017-08-28 14:46:27 -07:00
Steve Rowe 929126a489 LUCENE-7794: buildAndPushRelease.py should run validate and documentation-lint 2017-04-28 10:14:38 -04:00
Steve Rowe d60849f377 LUCENE-7748: buildAndPushRelease.py should fail if the project DOAP files are missing releases that are less than the release being produced 2017-03-18 15:09:43 -04:00
Ishan Chattopadhyaya a6e14ec6d2 LUCENE-7718: buildAndPushRelease.py script should refer to working tree instead of directory 2017-03-08 01:49:13 +05:30
Mike McCandless ca1ce0b255 allow ant 1.9.x as well 2016-08-20 04:32:13 -04:00
Steve Rowe a4de634aaf fix smokeTestRelease.py directory interpolation 2016-05-24 00:18:57 -04:00
Steve Rowe 532d07f1f5 Hide 'git --version' output 2016-05-24 00:18:47 -04:00
Steve Rowe dbb1fc688f - In help text, show default RC number.
- In help text, state that the default --root value is '.' (the current directory)
2016-05-24 00:18:18 -04:00
Steve Rowe 6c85a1d759 When there are unpushed commits, print out the full command used to show the commits 2016-05-24 00:17:48 -04:00
Steve Rowe 51f7574d2f Fix current branch detection 2016-05-24 00:17:31 -04:00
Steve Rowe ed893b3d7a Check for unpushed commits only on the current branch 2016-05-24 00:17:15 -04:00
Steve Rowe 54143f5dcb os.isdir => os.path.isdir 2016-05-24 00:16:54 -04:00
Steve Rowe 8cb2773dc7 - Fail if there are unpushed commits in the Git working tree
- Drop obsolete "--push-remote" param
- Drop obsolete "--smoke-test" param
- Update example RM cmdline usage
- Support relative working tree root directory
- Convert "root" positional cmdline arg into an optional "--root" arg defaulting to '.'
- Use sys.executable instead of $PYTHON_EXEC when printing smoke tester cmdline
- Add new fail-fast checks:
   - Check for a functional "git" executable
   - Ensure "ant" version is 1.8.X
   - Ensure working tree is under Git control, and contains 'lucene/', 'solr/' and 'dev-tools/' dirs
2016-05-24 00:16:10 -04:00
nknize 7263491d8e replace svn up with git pull in buildAndPushRelease.py 2016-03-31 13:40:04 -05:00
Uwe Schindler 6ce6c01318 Update URL to Lucene's KEYS file 2016-03-07 11:21:12 +01:00
Mike McCandless 83ebd1bb71 fix usage line 2016-02-11 10:24:09 -05:00
Mike McCandless 7509b9c969 LUCENE-6938: add TODO that we should also detect unpushed commits 2016-02-11 10:24:09 -05:00
Mike McCandless de9d4ac3b7 LUCENE-6938: fix buggy detection of dirty git checkout 2016-02-11 10:24:09 -05:00
Mike McCandless f8be973b94 LUCENE-6938: switch from svn to git 2016-02-11 09:55:54 -05:00
Anshum Gupta 22a358ffbd Fix buildAndPushRelease.py to echo the correct command for running smokeTester after completion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684739 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 19:04:43 +00:00
Anshum Gupta 753fd599d0 SOLR-7028: Fix buildAndPushRelease.py to use the correct variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654569 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 19:12:00 +00:00
Uwe Schindler 9cba8eb45f LUCENE-5909: Smoke tester now has better command line parsing and optionally also runs on Java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621473 13f79535-47bb-0310-9956-ffa450edef68
2014-08-30 15:48:16 +00:00
Ryan Ernst 80e6000296 Change buildAndPushRelease and smokeTestRelease scripts to use argparse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621085 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 08:01:50 +00:00
Uwe Schindler 2234d02205 Create staging URL without https, because it makes smoketester take much longer. Also remove obsolete extra changes dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589105 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 12:19:37 +00:00
Simon Willnauer 322e35bb99 Update example line in release script
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569284 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 11:39:24 +00:00
Steven Rowe 36c653aa37 SOLR-4677: stop adding obsolete '-Dspecversion=...' to 'ant prepare-release' cmds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1505776 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 19:34:43 +00:00
Shalin Shekhar Mangar d0b01a2b76 Flush subprocess stdout before trying to read from it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491146 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 06:27:46 +00:00
Shalin Shekhar Mangar fdff37f36e Disable buffer for subprocess pipe objects
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491009 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 17:00:25 +00:00
Steven Rowe 0b55aaa6a2 LUCENE-5007: Add optional named -testArgs param to smokeTestRelease.py, passed through to 'ant test' invocations; add -DsmokeTestRelease.testArgs sysprop to 'ant nightly-smoke', to pass through as -testArgs param to smokeTestRelease.py.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484524 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 16:51:52 +00:00
Steven Rowe 587641ef3d Add svn revision check to jar/war metadata checks in smokeTestRelease.py
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470366 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 00:23:53 +00:00
Michael McCandless 9c56dccf19 prompt for GPG password up front
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469041 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 19:35:47 +00:00
Simon Willnauer 3199f6e3bf read() returns a str which is already UTF-8 and doesn't have a decode method anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468841 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 11:19:25 +00:00
Steven Rowe e553ac693b LUCENE-4442: No longer need to copy changes or KEYS, since they are both now handled by 'ant prepare-release' (merged lucene_solr_4_1 r1434487)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1434489 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 23:28:55 +00:00
Steven Rowe 0178e8e625 convert to python3 (merged lucene_solr_4_1 r1434374 and r1434377)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1434409 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 21:18:41 +00:00
Michael McCandless 879e825083 LUCENE-3966: smoke tester can test from local (file://) urls, handle url-shortened base URLs, and build/stage/test unsigned artifacts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311067 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 18:22:14 +00:00
Steven Rowe 37acabf4a8 allow checkout dir cmdline arg to be relative
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304365 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 14:20:35 +00:00
Michael McCandless d6ab323d4e simple new python script to build lucene/solr release and push to staging_area on p.a.o
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1170229 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 16:20:23 +00:00