You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/02/11 16:22:52 UTC
[1/3] lucene-solr git commit: fix usage line
Repository: lucene-solr
Updated Branches:
refs/heads/branch_5x 144ab5b10 -> af08166b9
fix usage line
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/af08166b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/af08166b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/af08166b
Branch: refs/heads/branch_5x
Commit: af08166b91c901ea30256abe899e1dfcf00c7d75
Parents: 9fe6a8f
Author: Mike McCandless <mi...@apache.org>
Authored: Thu Feb 11 10:08:29 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Thu Feb 11 10:23:43 2016 -0500
----------------------------------------------------------------------
dev-tools/scripts/buildAndPushRelease.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/af08166b/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index 6774e42..8a6d6ba 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -206,7 +206,7 @@ def read_version(path):
def parse_config():
epilogue = textwrap.dedent('''
Example usage for a Release Manager:
- python3.2 -u buildAndPushRelease.py --push-remote mikemccand --sign 6E68DA61 --rc-num 1 --version 4.7.0 /path/to/lucene_solr_4_7
+ python3.2 -u buildAndPushRelease.py --push-remote mikemccand --sign 6E68DA61 --rc-num 1 /path/to/lucene_solr_4_7
''')
description = 'Utility to build, push, and test a release.'
parser = argparse.ArgumentParser(description=description, epilog=epilogue,
[2/3] lucene-solr git commit: LUCENE-6938: add TODO that we should
also detect unpushed commits
Posted by mi...@apache.org.
LUCENE-6938: add TODO that we should also detect unpushed commits
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/9fe6a8f2
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9fe6a8f2
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9fe6a8f2
Branch: refs/heads/branch_5x
Commit: 9fe6a8f20a8e6ff1fded6379a096db2e390c9675
Parents: 3989732
Author: Mike McCandless <mi...@apache.org>
Authored: Thu Feb 11 10:07:05 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Thu Feb 11 10:23:43 2016 -0500
----------------------------------------------------------------------
dev-tools/scripts/buildAndPushRelease.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9fe6a8f2/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index c735621..6774e42 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -61,8 +61,10 @@ def getGitRev():
status = os.popen('git status').read().strip()
if 'nothing to commit, working directory clean' not in status:
raise RuntimeError('git clone is dirty:\n\n%s' % status)
+
+ # TODO: we should also detect unpushed changes here? Something like "git cherry -v origin/branch_5_5"?
+ print(' git clone is clean')
return os.popen('git rev-parse HEAD').read().strip()
-
def prepare(root, version, gpgKeyID, gpgPassword):
print()
[3/3] lucene-solr git commit: LUCENE-6938: fix buggy detection of
dirty git checkout
Posted by mi...@apache.org.
LUCENE-6938: fix buggy detection of dirty git checkout
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/3989732f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/3989732f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/3989732f
Branch: refs/heads/branch_5x
Commit: 3989732f70df3981ad0533929f64af3a8d30b92d
Parents: 144ab5b
Author: Mike McCandless <mi...@apache.org>
Authored: Thu Feb 11 09:59:13 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Thu Feb 11 10:23:43 2016 -0500
----------------------------------------------------------------------
dev-tools/scripts/buildAndPushRelease.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/3989732f/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index 68671a2..c735621 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -59,10 +59,8 @@ def runAndSendGPGPassword(command, password):
def getGitRev():
status = os.popen('git status').read().strip()
- if 'Your branch is up-to-date' not in status:
- raise RuntimeError('git clone has local changes:\n\n%s' % status)
- if 'Untracked files' in status:
- raise RuntimeError('there are untracked files; please run git clean -xfd:\n\n%s' % status)
+ if 'nothing to commit, working directory clean' not in status:
+ raise RuntimeError('git clone is dirty:\n\n%s' % status)
return os.popen('git rev-parse HEAD').read().strip()