[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:kbulgrien
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Thu May 14 03:32:23 CDT 2009
A page in your DokuWiki was added or changed. Here are the details:
Date : 2009/05/14 03:32
User : kbulgrien
Edit Summary: Rework script references to make them wgets. Fix prerelease.sh --email parameter.
@@ -37,11 +37,13 @@
====svn-co.sh====
This script can do svn 1.5.x sparse checkouts or pre-1.5 checkouts. The script defaults to using subversion 1.5+ sparse checkouts. If an older client is detected, the script switches to a legacy checkout directory model. It is available for download from [[http://invidious.meflin.net/~kbulgrien/files/svn-co.sh|invidious.meflin.net]].
- Create the desired development directory first, then run the script to checkout. For example:
+ Create the desired development directory first, get the script, then run it to checkout. For example:
+ $ mkdir -p /home/devel/crossfire
$ cd /home/devel/crossfire
+ $ wget http://invidious.meflin.net/~kbulgrien/files/svn-co.sh
$ bash svn-co.sh --trunk --all
Built-in help shows:
@@ -58,13 +60,14 @@
A client checkout with --release gets arch and server too.
====svn-up.sh====
- This script is only used for SVN clients of a lower version number than 1.5, or when a non-sparse checkout is used. It is available for download from [[http://invidious.meflin.net/~kbulgrien/files/svn-up.sh|invidious.meflin.net]].
+ This script is only used for SVN clients of a lower version number than 1.5, or when a non-sparse checkout is used. It is available for download from invidious.meflin.net.
- Create the desired development directory first, then run the script to update. For example:
+ Enter the desired development directory first, get the script, and then run it to update. For example:
$ cd /home/devel/crossfire
+ $ wget http://invidious.meflin.net/~kbulgrien/files/svn-up.sh
$ bash svn-up.sh --trunk --all
Built-in help shows:
@@ -332,52 +335,51 @@
# For more information, see www.iki.fi/karvinen
====Set Up the Pre-Release Workspace====
- export RELDIR=/home/devel/crossfire/rpmbuild
- mkdir -p ${RELDIR}
- cd ${RELDIR}
+ $ export RELDIR=/home/devel/crossfire/rpmbuild
+ $ mkdir -p ${RELDIR}
+ $ cd ${RELDIR}
===Scripts to Support Pre-Releasing===
- Place these scripts in the pre-release workspace.
+ Populate the release workspace with the necessary scripts:
This example presumes the use of //trunk// sources, but the scripts support both branch and trunk. Feel free to deviate from these instructions to reduce the size of the workspace and the amount of data that must be downloaded.
==svn-co.sh==
- Place **svn-co.sh**, with the contents shown [[user:kbulgrien#svn-co.sh|above]], in **/home/devel/crossfire/rpmbuild**.
+ $ wget http://invidious.meflin.net/~kbulgrien/files/svn-co.sh
==svn-up.sh==
- Place **svn-up.sh**, with the contents shown [[user:kbulgrien#svn-up.sh|above]]. It is called by **prerelease.sh** if the svn client version is less than 1.5. It supports non-sparse checkouts.
+ $ wget http://invidious.meflin.net/~kbulgrien/files/svn-up.sh
==trunk.config.sh==
- Place **trunk.config.sh**, with the contents shown [[user:kbulgrien#trunk.config.sh|above]]. It is called by **prerelease.sh** for trunk builds.
+ $ wget http://invidious.meflin.net/~kbulgrien/files/trunk.config.sh
==branch.config.sh==
- Place **branch.config.sh**, with the contents shown [[user:kbulgrien#branch.config.sh|above]]. It is called by **prerelease.sh** for branch builds.
+ $ wget http://invidious.meflin.net/~kbulgrien/files/branch.config.sh
==prerelease.sh==
- Obtain a copy of **prerelease.sh** and place it in the release workspace directory. It is available for download from [[http://invidious.meflin.net/~kbulgrien/files/prerelease.sh|invidious.meflin.net]].
+ $ wget http://invidious.meflin.net/~kbulgrien/files/svn-co.sh
The built-in help shows:
Usage:
prerelease.sh \
{ --client | --server | --all } \
{ --trunk | --branch=1.xx } \
- [ --email="First I. Last <user at domain>" ] \
+ [ --email="First I. Last \<user at domain\>" ] \
[ --release=y ] \
[ --maps-bz2 ]
Where:
xx is the branch number;
- email format is "First I. Last <user at domain>"
email is the RPM packager (default: krb at krayduo.kbulgrien.att.net)
--release=y
Build a release instead of a snapshot. For the first release
@@ -388,9 +390,9 @@
Create a bzip2 maps tarball in addition to a gzip tarball.
=====Build Procedure=====
- bash prerelease.sh --trunk --client --email="Kevin R. Bulgrien <kbulgrien aat att daht net>"
+ bash prerelease.sh --trunk --client --email="First_I._Last_\<me at my.domain\>"
* If there are errors, rpmbuild will tell you.
* RPMs will be put in RPM/RPMS/<architecture>
* SRPM will be located in RPM/SRPMS
IP-Address : 68.90.128.197
Old Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien?rev=1242288338
New Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list