You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2016/08/12 01:26:59 UTC
[01/10] accumulo git commit: ACCUMULO-4400 Best effort to reset
gpg-agent cache
Repository: accumulo
Updated Branches:
refs/heads/1.6 9bd3306f0 -> e1cd01fac
refs/heads/1.7 78638cba6 -> 4885470e4
refs/heads/1.8 e6d1ee254 -> 93e188f62
refs/heads/master 6a8a43f66 -> c4afeffa3
ACCUMULO-4400 Best effort to reset gpg-agent cache
Make a best effort to reset gpg-agent cache, so that the signing key
will stay cached throughout the full duration of the release candidate
build, when created using build.sh
Limitations:
1. This will force the password to be input at the beginning of the
build.sh script, unless the user is using some persistent cache
like gnome-keyring-daemon to manage one's key.
2. If the user pauses at the prompts later in the script, for a long
period of time, the cache could still expire during execution, even
if the cache is reset at the start of the script.
3. The build.sh script still presumes that gpg-agent is configured
with a sufficiently large enough default-cache-ttl and
max-cache-ttl values, so that the cache won't expire during the
creation of the release candidate.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e1cd01fa
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e1cd01fa
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e1cd01fa
Branch: refs/heads/1.6
Commit: e1cd01facfc60d15004af20fcbb272d3a0dd6a07
Parents: 9bd3306
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:12:15 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:12:15 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/e1cd01fa/assemble/build.sh
----------------------------------------------------------------------
diff --git a/assemble/build.sh b/assemble/build.sh
index 9bc0beb..86f73c5 100755
--- a/assemble/build.sh
+++ b/assemble/build.sh
@@ -42,6 +42,8 @@ currentBranch() { local b; b=$(git symbolic-ref -q HEAD) && echo "${b##refs/head
cacheGPG() {
# make sure gpg agent has key cached
+ # first clear cache, to reset timeouts (best attempt)
+ { hash gpg-connect-agent && gpg-connect-agent reloadagent /bye; } &>/dev/null
# TODO prompt for key instead of using default?
local TESTFILE; TESTFILE=$(mktemp --tmpdir "${USER}-gpgTestFile-XXXXXXXX.txt")
[[ -r $TESTFILE ]] && "$gpgCommand" --sign "${TESTFILE}" && rm -f "${TESTFILE}" "${TESTFILE}.gpg"
[05/10] accumulo git commit: Merge branch '1.6' into 1.7
Posted by ct...@apache.org.
Merge branch '1.6' into 1.7
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4885470e
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4885470e
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4885470e
Branch: refs/heads/1.8
Commit: 4885470e465970d9ae5db0cb06d3ef656bac6e25
Parents: 78638cb e1cd01f
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:24:49 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:24:49 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/4885470e/assemble/build.sh
----------------------------------------------------------------------
[03/10] accumulo git commit: ACCUMULO-4400 Best effort to reset
gpg-agent cache
Posted by ct...@apache.org.
ACCUMULO-4400 Best effort to reset gpg-agent cache
Make a best effort to reset gpg-agent cache, so that the signing key
will stay cached throughout the full duration of the release candidate
build, when created using build.sh
Limitations:
1. This will force the password to be input at the beginning of the
build.sh script, unless the user is using some persistent cache
like gnome-keyring-daemon to manage one's key.
2. If the user pauses at the prompts later in the script, for a long
period of time, the cache could still expire during execution, even
if the cache is reset at the start of the script.
3. The build.sh script still presumes that gpg-agent is configured
with a sufficiently large enough default-cache-ttl and
max-cache-ttl values, so that the cache won't expire during the
creation of the release candidate.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e1cd01fa
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e1cd01fa
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e1cd01fa
Branch: refs/heads/1.8
Commit: e1cd01facfc60d15004af20fcbb272d3a0dd6a07
Parents: 9bd3306
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:12:15 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:12:15 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/e1cd01fa/assemble/build.sh
----------------------------------------------------------------------
diff --git a/assemble/build.sh b/assemble/build.sh
index 9bc0beb..86f73c5 100755
--- a/assemble/build.sh
+++ b/assemble/build.sh
@@ -42,6 +42,8 @@ currentBranch() { local b; b=$(git symbolic-ref -q HEAD) && echo "${b##refs/head
cacheGPG() {
# make sure gpg agent has key cached
+ # first clear cache, to reset timeouts (best attempt)
+ { hash gpg-connect-agent && gpg-connect-agent reloadagent /bye; } &>/dev/null
# TODO prompt for key instead of using default?
local TESTFILE; TESTFILE=$(mktemp --tmpdir "${USER}-gpgTestFile-XXXXXXXX.txt")
[[ -r $TESTFILE ]] && "$gpgCommand" --sign "${TESTFILE}" && rm -f "${TESTFILE}" "${TESTFILE}.gpg"
[10/10] accumulo git commit: Merge branch '1.8'
Posted by ct...@apache.org.
Merge branch '1.8'
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c4afeffa
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c4afeffa
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c4afeffa
Branch: refs/heads/master
Commit: c4afeffa39f6f1d7313fa43139b97da68ef6a249
Parents: 6a8a43f 93e188f
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:25:03 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:25:03 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
[04/10] accumulo git commit: ACCUMULO-4400 Best effort to reset
gpg-agent cache
Posted by ct...@apache.org.
ACCUMULO-4400 Best effort to reset gpg-agent cache
Make a best effort to reset gpg-agent cache, so that the signing key
will stay cached throughout the full duration of the release candidate
build, when created using build.sh
Limitations:
1. This will force the password to be input at the beginning of the
build.sh script, unless the user is using some persistent cache
like gnome-keyring-daemon to manage one's key.
2. If the user pauses at the prompts later in the script, for a long
period of time, the cache could still expire during execution, even
if the cache is reset at the start of the script.
3. The build.sh script still presumes that gpg-agent is configured
with a sufficiently large enough default-cache-ttl and
max-cache-ttl values, so that the cache won't expire during the
creation of the release candidate.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e1cd01fa
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e1cd01fa
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e1cd01fa
Branch: refs/heads/master
Commit: e1cd01facfc60d15004af20fcbb272d3a0dd6a07
Parents: 9bd3306
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:12:15 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:12:15 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/e1cd01fa/assemble/build.sh
----------------------------------------------------------------------
diff --git a/assemble/build.sh b/assemble/build.sh
index 9bc0beb..86f73c5 100755
--- a/assemble/build.sh
+++ b/assemble/build.sh
@@ -42,6 +42,8 @@ currentBranch() { local b; b=$(git symbolic-ref -q HEAD) && echo "${b##refs/head
cacheGPG() {
# make sure gpg agent has key cached
+ # first clear cache, to reset timeouts (best attempt)
+ { hash gpg-connect-agent && gpg-connect-agent reloadagent /bye; } &>/dev/null
# TODO prompt for key instead of using default?
local TESTFILE; TESTFILE=$(mktemp --tmpdir "${USER}-gpgTestFile-XXXXXXXX.txt")
[[ -r $TESTFILE ]] && "$gpgCommand" --sign "${TESTFILE}" && rm -f "${TESTFILE}" "${TESTFILE}.gpg"
[02/10] accumulo git commit: ACCUMULO-4400 Best effort to reset
gpg-agent cache
Posted by ct...@apache.org.
ACCUMULO-4400 Best effort to reset gpg-agent cache
Make a best effort to reset gpg-agent cache, so that the signing key
will stay cached throughout the full duration of the release candidate
build, when created using build.sh
Limitations:
1. This will force the password to be input at the beginning of the
build.sh script, unless the user is using some persistent cache
like gnome-keyring-daemon to manage one's key.
2. If the user pauses at the prompts later in the script, for a long
period of time, the cache could still expire during execution, even
if the cache is reset at the start of the script.
3. The build.sh script still presumes that gpg-agent is configured
with a sufficiently large enough default-cache-ttl and
max-cache-ttl values, so that the cache won't expire during the
creation of the release candidate.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e1cd01fa
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e1cd01fa
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e1cd01fa
Branch: refs/heads/1.7
Commit: e1cd01facfc60d15004af20fcbb272d3a0dd6a07
Parents: 9bd3306
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:12:15 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:12:15 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/e1cd01fa/assemble/build.sh
----------------------------------------------------------------------
diff --git a/assemble/build.sh b/assemble/build.sh
index 9bc0beb..86f73c5 100755
--- a/assemble/build.sh
+++ b/assemble/build.sh
@@ -42,6 +42,8 @@ currentBranch() { local b; b=$(git symbolic-ref -q HEAD) && echo "${b##refs/head
cacheGPG() {
# make sure gpg agent has key cached
+ # first clear cache, to reset timeouts (best attempt)
+ { hash gpg-connect-agent && gpg-connect-agent reloadagent /bye; } &>/dev/null
# TODO prompt for key instead of using default?
local TESTFILE; TESTFILE=$(mktemp --tmpdir "${USER}-gpgTestFile-XXXXXXXX.txt")
[[ -r $TESTFILE ]] && "$gpgCommand" --sign "${TESTFILE}" && rm -f "${TESTFILE}" "${TESTFILE}.gpg"
[06/10] accumulo git commit: Merge branch '1.6' into 1.7
Posted by ct...@apache.org.
Merge branch '1.6' into 1.7
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4885470e
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4885470e
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4885470e
Branch: refs/heads/1.7
Commit: 4885470e465970d9ae5db0cb06d3ef656bac6e25
Parents: 78638cb e1cd01f
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:24:49 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:24:49 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/4885470e/assemble/build.sh
----------------------------------------------------------------------
[09/10] accumulo git commit: Merge branch '1.7' into 1.8
Posted by ct...@apache.org.
Merge branch '1.7' into 1.8
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/93e188f6
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/93e188f6
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/93e188f6
Branch: refs/heads/master
Commit: 93e188f625f75c5486ac3603d581cfb40bc18b8d
Parents: e6d1ee2 4885470
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:24:56 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:24:56 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
[07/10] accumulo git commit: Merge branch '1.6' into 1.7
Posted by ct...@apache.org.
Merge branch '1.6' into 1.7
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4885470e
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4885470e
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4885470e
Branch: refs/heads/master
Commit: 4885470e465970d9ae5db0cb06d3ef656bac6e25
Parents: 78638cb e1cd01f
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:24:49 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:24:49 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/4885470e/assemble/build.sh
----------------------------------------------------------------------
[08/10] accumulo git commit: Merge branch '1.7' into 1.8
Posted by ct...@apache.org.
Merge branch '1.7' into 1.8
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/93e188f6
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/93e188f6
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/93e188f6
Branch: refs/heads/1.8
Commit: 93e188f625f75c5486ac3603d581cfb40bc18b8d
Parents: e6d1ee2 4885470
Author: Christopher Tubbs <ct...@apache.org>
Authored: Thu Aug 11 21:24:56 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Thu Aug 11 21:24:56 2016 -0400
----------------------------------------------------------------------
assemble/build.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------