You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/12/18 23:36:59 UTC
allura git commit: Update scripts & docs for release
Repository: allura
Updated Branches:
refs/heads/master b3f3f4a9c -> ec9dac73a
Update scripts & docs for release
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/ec9dac73
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/ec9dac73
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/ec9dac73
Branch: refs/heads/master
Commit: ec9dac73a873901dd8d8ee87cfdc30fc574b2f6c
Parents: b3f3f4a
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Thu Dec 18 22:36:09 2014 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Thu Dec 18 22:36:09 2014 +0000
----------------------------------------------------------------------
scripts/asf-release.sh | 4 ++--
scripts/changelog.py | 2 +-
scripts/src-license-check/README.txt | 9 ++++++---
3 files changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/ec9dac73/scripts/asf-release.sh
----------------------------------------------------------------------
diff --git a/scripts/asf-release.sh b/scripts/asf-release.sh
index 8e9581b..880497c 100755
--- a/scripts/asf-release.sh
+++ b/scripts/asf-release.sh
@@ -46,7 +46,7 @@ scripts/changelog.py asf_release_$PREV_VERSION HEAD $VERSION > .changelog.tmp
echo >> .changelog.tmp
cat CHANGES >> .changelog.tmp
mv -f .changelog.tmp CHANGES
-prompt DUMMY "Changelog updated; press enter when ready to commit" "enter"
+prompt DUMMY "CHANGES file populated, please edit it to summarize, write upgrade notes etc. Press enter when ready to commit" "enter"
git add CHANGES
git commit -m "CHANGES updated for ASF release $VERSION"
@@ -57,7 +57,7 @@ fi
prompt KEY "PGP Key to sign with" "$DEFAULT_KEY"
FINGERPRINT=`gpg --fingerprint $KEY | grep fingerprint | cut -d' ' -f 17-20 | sed -e 's/ //g'`
-prompt RAT_LOG_PASTEBIN_URL "URL for RAT log pastebin"
+prompt RAT_LOG_PASTEBIN_URL "URL for RAT log pastebin (see scripts/src-license-check to create RAT report)"
git tag $RELEASE_TAG
COMMIT_SHA=`git rev-parse $RELEASE_TAG`
http://git-wip-us.apache.org/repos/asf/allura/blob/ec9dac73/scripts/changelog.py
----------------------------------------------------------------------
diff --git a/scripts/changelog.py b/scripts/changelog.py
index 64c37cb..d6ed617 100755
--- a/scripts/changelog.py
+++ b/scripts/changelog.py
@@ -25,7 +25,7 @@ from datetime import datetime
CHANGELOG = 'CHANGES'
-API_URL = 'http://sourceforge.net/rest/p/allura/tickets/search?limit=1000&q=ticket_num:({0})'
+API_URL = 'https://forge-allura.apache.org/rest/p/allura/tickets/search?limit=1000&q=ticket_num:({0})'
def main():
http://git-wip-us.apache.org/repos/asf/allura/blob/ec9dac73/scripts/src-license-check/README.txt
----------------------------------------------------------------------
diff --git a/scripts/src-license-check/README.txt b/scripts/src-license-check/README.txt
index 77743c1..8cfbf67 100644
--- a/scripts/src-license-check/README.txt
+++ b/scripts/src-license-check/README.txt
@@ -11,14 +11,17 @@ details, head to http://ant.apache.org/.
2. Download and unpack Apache Rat. Apache Rat is a release audit tool (hence
the name) used by Apache Software Foundation projects. It can be obtained from
-http://creadur.apache.org/rat/download_rat.cgi. After unpacking downloaded zip
+http://creadur.apache.org/rat/download_rat.cgi After unpacking downloaded zip
or tarball, you should have a directory with several .jar files and a lib/
directory.
-3. Make the directory with buildfile (build.xml file) your working directory.
+3. Make this directory with the Ant buildfile (build.xml file) your working directory.
Then execute `ant -lib [path to Apache Rat lib/ directory]`, for example:
-ant -lib ../../../apache-rat-0.8/lib/
+ant -lib ../../../apache-rat-0.11
The buildfile will be parsed by Apache Ant and after a couple of seconds, you
should be presented with a file list along with potential licensing issues.
+
+You should run this on a clean checkout / release of Allura, to avoid reporting
+on local files.
\ No newline at end of file