You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2014/08/02 03:29:10 UTC

[3/5] git commit: Add KEYS and start HOWTO for making snapshots and releases.

Add KEYS and start HOWTO for making snapshots and releases.


Project: http://git-wip-us.apache.org/repos/asf/incubator-optiq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-optiq/commit/ab15a72b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-optiq/tree/ab15a72b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-optiq/diff/ab15a72b

Branch: refs/heads/master
Commit: ab15a72b68a009d889488ea1a16e9819a34dc9c6
Parents: 324f8f9
Author: Julian Hyde <jh...@apache.org>
Authored: Fri Aug 1 13:12:07 2014 -0700
Committer: Julian Hyde <jh...@apache.org>
Committed: Fri Aug 1 13:12:07 2014 -0700

----------------------------------------------------------------------
 HOWTO.md | 47 +++++++++++++++++++++++++++++++++++++
 KEYS     | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-optiq/blob/ab15a72b/HOWTO.md
----------------------------------------------------------------------
diff --git a/HOWTO.md b/HOWTO.md
index 4f63312..e61a0e7 100644
--- a/HOWTO.md
+++ b/HOWTO.md
@@ -166,3 +166,50 @@ When Optiq compares `Type` instances, it requires them to be the same object. If
 It is recommended to
 -   Use a single instance of `JavaTypeFactory` within the optiq context
 -   Store the `Type` instances so that the same object is always returned for the same `Type`.
+
+## Set up PGP signing keys (for Optiq committers)
+
+Follow instructions at http://www.apache.org/dev/release-signing to create a key pair. (On Mac OS X, I did `brew install gpg` and `gpg --gen-key`.)
+
+Add your public key to the `KEYS` file by following instructions in the `KEYS` file.
+
+## Making a snapshot (for Optiq committers)
+
+Before you start:
+* Set up signing keys as described above.
+* Make sure you are using JDK 1.7 (not 1.6 or 1.8).
+* Make sure build and tests succeed with `-Doptiq.test.db=hsqldb` (the default)
+
+```bash
+# set passphrase variable without putting it into shell history
+read GPG_PASSPHRASE
+
+# make sure that there are no junk files in the sandbox
+git clean -x
+
+mvn clean install -Prelease,apache-release -Dgpg.passphrase=${GPG_PASSPHRASE}
+```
+
+When the dry-run has succeeded, change `install` to `deploy`.
+
+## Making a release (for Optiq committers)
+
+Before you start:
+* Set up signing keys as described above.
+* Make sure you are using JDK 1.7 (not 1.6 or 1.8).
+* Make sure build and tests succeed, including with -Doptiq.test.db={mysql,hsqldb}, -Doptiq.test.slow=true, -Doptiq.test.mongodb=true, -Doptiq.test.splunk=true.
+
+```bash
+# set passphrase variable without putting it into shell history
+read GPG_PASSPHRASE
+
+# make sure that there are no junk files in the sandbox
+git clean -x
+
+```
+
+Check the artifacts:
+* Make sure that binary and source distros have a README file (README.md does not count) and that the version in the README is correct
+* The file name must start `apache-optiq-` and include `incubating`.
+* Check PGP, per https://httpd.apache.org/dev/verification.html
+

http://git-wip-us.apache.org/repos/asf/incubator-optiq/blob/ab15a72b/KEYS
----------------------------------------------------------------------
diff --git a/KEYS b/KEYS
new file mode 100644
index 0000000..b52616a
--- /dev/null
+++ b/KEYS
@@ -0,0 +1,74 @@
+This file contains the PGP keys of various developers.
+Please don't use them for email unless you have to. Their main
+purpose is code signing.
+
+Examples of importing this file in your keystore:
+ gpg --import KEYS.txt
+ (need pgp and other examples here)
+
+Examples of adding your key to this file:
+ pgp -kxa <your name> and append it to this file.
+ (pgpk -ll <your name> && pgpk -xa <your name>) >> this file.
+ (gpg --list-sigs <your name>
+     && gpg --armor --export <your name>) >> this file.
+
+-----------------------------------------------------------------------------------
+
+pub   4096R/2AD3FAE3 2014-07-24
+uid                  Julian Hyde (CODE SIGNING KEY) <jh...@apache.org>
+sig 3        2AD3FAE3 2014-07-24  Julian Hyde (CODE SIGNING KEY) <jh...@apache.org>
+sub   4096R/B9E5F68D 2014-07-24
+sig          2AD3FAE3 2014-07-24  Julian Hyde (CODE SIGNING KEY) <jh...@apache.org>
+
+-----BEGIN PGP PUBLI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