Yup, I mentioned that as a possible solution. Well worth looking into further.
Bryce
On Thu, 3 Jun 2004, Jon Phillips wrote:
What about sf.net's render/compile farms?
Jon
On Thu, 2004-06-03 at 11:55, Bob Jamison wrote:
Bryce Harrington wrote:
Hi all,
As Bob mentioned, the visit from Slashdot cratered our nightly Win32 snapshot server, and we need some help coming up with a better solution. No Inkscape experience needed, just need to be familiar with SourceForge, scripting, and compiling apps.
The pages are not gone. Just replace /inkscape/ in the URL with /.inkscape/ for now. (Please don't tell anyone!)
The snapshots have proven useful in letting users test out and report on recently implemented features without having to compile it themselves. So this is a pretty highly valued service for the community.
What we need going forward is a script or set of scripts that:
- Checks out from CVS once a day and compiles for Win/Lin/Mac both debug and optimized. (e.g. via SF compile farm?)
- If compilation is successful, post the packages to mirrors (e.g. SourceForge).
- Allows users a place on the web to go to to get the latest version
- Creates and provides autopackage versions (the AP folks are doing this for us currently, so this may not be necessary but is worth considering if it's not hard to do.)
- Doesn't place the administrative responsibility on a single specific person
- Code is checked into a subdir of inkscape_project/
- Has a README and/or wiki page explaining install & usage
If you'd like to work on this or a piece of it, let me know and we can work out the details.
Bryce
Here is the simple script that I have been using.
Note that I am using CVS/SSH to download a current copy. The anoncvs servers are many hours older than current. The site says 5 hours, but it is much more than that, I'm sure. If you use :pserver:, then this will be easy. If you want SSH, what you will need first is to generate a DSA SSL key, upload it to SF, and configure your box so that you can SSH to the cvs server without a password. SF.net has instructions about how to do this.
Notice that the script tries to checkout 10 times before quitting. CVS often fails the first couple of times.
The XMingW32 cross-compiler and gtk2.zip are on my site. They should be all you need to auto-build on linux.
######## SNIP SNIP ############
######## nightly.cron ############ # Crontab for automated builds MAILTO=YOURADDRESS # # Every night at ten minutes after 3am 10 3 * * * (cd /home/YOURNAME/xmingw32/nightly ; /bin/bash autobuild.sh )
##### autobuild.sh #########
#!/bin/bash
PATH=/usr/local/xmingw32/bin:$PATH
# In case we are called by another user HOME=/home/YOURNAME
rm -rf inkscape
# CHECKOUT
a=0
while [ $a -le 10 ]; do
echo "##### Checkout attempt $a" a=$(($a+1))
# #### PICK ONE ### # ANONCVS # cvs -d :pserver:anonymous@...54...:/cvsroot/inkscape export -r HEAD inkscape
# CVS/SSH env CVS_RSH=/usr/bin/ssh /usr/bin/cvs -Q -d :ext:YOUR_SF_ID@...54...:/cvsroot/inkscape export -r HEAD inkscape
if [ -d inkscape ]; then break fi
done
if [ -d inkscape ]; then echo "##### Checkout success" else echo "##### Checkout failure ... abort" exit 1 fi
# BUILD
cd inkscape
/usr/bin/make -f Makefile.mingw
/usr/bin/make -f Makefile.mingw dist
# PACKAGE
datestr=`date +%y%m%d%H%M`
zipfile=Inkscape${datestr}.zip
/usr/bin/zip -r -q -9 ${zipfile} inkscape
builds=${HOME}/public_html/inkscape/builds nightly=InkscapeNightly.zip
/bin/mv ${zipfile} ${builds}
( cd ${builds} ; /bin/rm -f ${nightly} ; /bin/ln -s ${zipfile} ${nightly} )
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel