This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 22cb538 ORC-1050: Update ORC site README.md and release process page
(#963)
22cb538 is described below
commit 22cb5388c958261df8f1c3d6de82d36afb78f140
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sat Nov 13 17:27:13 2021 -0800
ORC-1050: Update ORC site README.md and release process page (#963)
### What changes were proposed in this pull request?
This PR aims to update ORC release and publish process pages.
### Why are the changes needed?
The current web content is outdated.
### How was this patch tested?
N/A
---
site/README.md | 11 +++++-----
site/develop/make-release.md | 50 ++++++++++++++++++++++++++++++--------------
2 files changed, 39 insertions(+), 22 deletions(-)
diff --git a/site/README.md b/site/README.md
index 3929fcf..19ecf39 100644
--- a/site/README.md
+++ b/site/README.md
@@ -12,7 +12,7 @@ the site is to use docker to use a standard environment.
## Run the docker container with the preview of the site.
1. `docker build -t orc-site .`
-2. `docker run -d -p 4000:4000 orc-site`
+2. `docker run -d --name orc-container -p 4000:4000 orc-site`
## Browsing
@@ -24,11 +24,10 @@ Look at the site by navigating to
You'll copy the files from the container to the site/target directory and
commit those to the asf-site branch.
-1. Find the name of the container using `docker ps`.
-2. `docker cp $CONTAINER:/home/orc/site/target .`
-3. `cd target`
-4. Commit the files and push to Apache.
+1. `docker cp orc-container:/home/orc/site/target .`
+2. `cd target`
+3. Commit the files and push to Apache.
## Shutting down the docker container
-1. `docker stop $CONTAINER`
\ No newline at end of file
+1. `docker rm -f orc-container`
diff --git a/site/develop/make-release.md b/site/develop/make-release.md
index bc244ab..38edd25 100644
--- a/site/develop/make-release.md
+++ b/site/develop/make-release.md
@@ -29,20 +29,30 @@ Generate the source tarball and checksums for the release.
% wget https://github.com/apache/orc/archive/release-X.Y.Zrc0.tar.gz
% tar xzf release-X.Y.Zrc0.tar.gz
% mv orc-release-X.Y.Zrc0 orc-X.Y.Z
-% tar czf orc-X.Y.Zrc0.tar.gz orc-X.Y.Z
-% shasum -a 256 orc-X.Y.Zrc0.tar.gz > orc-X.Y.Zrc0.tar.gz.sha256
-% gpg --detach-sig --armor orc-X.Y.Zrc0.tar.gz
+% tar czf orc-X.Y.Z.tar.gz orc-X.Y.Z
+% mkdir orc-X.Y.Z-rc0
+% mv orc-X.Y.Z.tar.gz orc-X.Y.Z-rc0
+% cd orc-X.Y.Z-rc0
+% shasum -a 256 orc-X.Y.Z.tar.gz > orc-X.Y.Z.tar.gz.sha256
+% gpg --detach-sig --armor orc-X.Y.Z.tar.gz
~~~
-Copy the artifacts into your personal Apache website.
+Verify the artifacts
~~~
-% sftp <apacheid>@home.apache.org
-sftp> cd public_html
-sftp> mkdir orc-X.Y.Zrc0
-sftp> cd orc-X.Y.Zrc0
-sftp> put orc-X.Y.Zrc0*
-sftp> quit
+% shasum -a256 orc-X.Y.Z.tar.gz | diff - orc-X.Y.Z.tar.gz.sha256
+% gpg --verify orc-X.Y.Z.tar.gz.asc
+% cd ..
+~~~
+
+Upload the artifacts into Apache dev distribution website.
+
+~~~
+% svn co --depth=files "https://dist.apache.org/repos/dist/dev/orc" svn-orc
+% mv orc-X.Y.Z-rc0 svn-orc
+% cd svn-orc
+% svn add orc-X.Y.Z-rc0
+% svn commit -m "Upload Apache ORC X.Y.Z RC0"
~~~
Make sure your GPG key is present in [Apache
@@ -58,15 +68,23 @@ Send email with the vote:
~~~
To: [email protected]
-Subject: [VOTE] Should we release ORC X.Y.Zrc0?
+Subject: [VOTE] Release Apache ORC X.Y.Z (RC0)
+
+Please vote on releasing the following candidate as Apache ORC version X.Y.Z.
+
+[ ] +1 Release this package as Apache ORC X.Y.Z
+[ ] -1 Do not release this package because ...
+
+TAG:
+https://github.com/apache/orc/releases/tag/release-X.Y.Zrc0
-All,
+RELEASE FILES:
+https://dist.apache.org/repos/dist/dev/orc/orc-X.Y.Z-rc0
-Should we release the following artifacts as ORC X.Y.Z?
+LIST OF ISSUES:
+https://issues.apache.org/jira/projects/ORC/versions/<fixid>
-tar: http://home.apache.org/~omalley/orc-X.Y.Zrc0/
-tag: https://github.com/apache/orc/releases/tag/release-X.Y.Zrc0
-jiras: https://issues.apache.org/jira/browse/ORC/fixforversion/<fixid>
+This vote will be open for 72 hours.
Thanks!
~~~