Jan Høydahl
87c131baa7
LUCENE-8852 ReleaseWizard tool ( #710 )
2019-06-20 14:45:17 +02:00
Jan Høydahl
44287d4206
LUCENE-8837 smokeTestRelease.py option --download-only ( #702 )
...
* LUCENE-8837: smokeTestRelease.py option --download-only
Move download() and check_and() functions to scriptutil
Add cwd param to run() function in scriptutil
Move the check_ant function from buildAndPushRelease into scriptutil.py, and let it return the version.
2019-06-11 10:17:10 +02:00
Jan Høydahl
df1775ffd3
LUCENE-8802: buildAndPushRelease --logfile arg ( #679 )
2019-06-06 21:47:50 +02:00
Alan Woodward
55c061770e
Allow GPG keys with no spaces
2019-02-12 09:02:03 +00:00
Adrien Grand
c074b97e79
LUCENE-8579: Don't run bad apples when building a release.
2018-11-30 09:42:20 +01:00
Jan Høydahl
5b96f89d2b
LUCENE-5143: Fix smoketester, fix RM PGP key check, fix solr DOAP file, add CHANGES entry
...
Remove unused/stale 'copy-to-stage' and '-dist-keys' targets from ant build
2018-09-11 22:39:19 +02:00
Jan Høydahl
982ee3931b
LUCENE-5143: rm or formalize dealing with "general" KEYS files in our dist dir
2018-09-04 13:24:24 +02:00
Alan Woodward
f2e3b109e6
LUCENE-8224: Allow releases to be built with ant 1.10
...
Also adds a check to common-build.xml to fail early with ant 1.10.2, which
has a bug that prevents lucene from building.
2018-03-26 14:06:54 +01:00
Shalin Shekhar Mangar
b8e50f3824
Use the right root dir with the --no-prepare option
2017-10-11 12:53:23 +05:30
Steve Rowe
2a13e783f9
buildAndPushRelease.py: use wait() instead of poll() to check for process completion
2017-10-02 13:34:56 -04:00
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