Building HTrace

Publishing a Release Candidate

TODO

Publishing htrace.incubator.apache.org website

Checkout the current website. It is in svn (that‘s right, subversion). The website is in a distinct location such that when its’ content is svn committed, the commit is published as htrace.incubator.apache.org.

Here is how you'd check out the current site into a directory named htrace.incubator.apache.org in the current directory:

$ svn checkout https://svn.apache.org/repos/asf/incubator/htrace/site/publish htrace.incubator.apache.org

Next, run the site publishing script at ${HTRACE_CHECKOUT_DIR}/bin/publish_hbase_website.sh. It will dump out usage information that looks like this: $ ./bin/publish_hbase_website.sh Usage: ./bin/publish_hbase_website.sh [-i | -a] [-g <dir>] [-s <dir>] -h Show this message -i Prompts the user for input -a Does not prompt the user. Potentially dangerous. -g The local location of the HTrace git repository -s The local location of the HTrace website svn checkout Either -i or -a is required. Edit the script to set default Git and SVN directories.

To run the publish site script interactively, here is an example where the git checkout is at ~/checkouts/incubator-htrace and the svn checkout is at ~/checkouts/htrace.incubator.apache.org:

$ ./bin/publish_hbase_website.sh -i -g ~/checkouts/incubator-htrace -s ~/checkouts/htrace.incubator.apache.org/