assorted-commits Mailing List for Assorted projects (Page 54)
Brought to you by:
yangzhang
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(9) |
Dec
(12) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(86) |
Feb
(265) |
Mar
(96) |
Apr
(47) |
May
(136) |
Jun
(28) |
Jul
(57) |
Aug
(42) |
Sep
(20) |
Oct
(67) |
Nov
(37) |
Dec
(34) |
2009 |
Jan
(39) |
Feb
(85) |
Mar
(96) |
Apr
(24) |
May
(82) |
Jun
(13) |
Jul
(10) |
Aug
(8) |
Sep
(2) |
Oct
(20) |
Nov
(31) |
Dec
(17) |
2010 |
Jan
(16) |
Feb
(11) |
Mar
(17) |
Apr
(53) |
May
(31) |
Jun
(13) |
Jul
(3) |
Aug
(6) |
Sep
(11) |
Oct
(4) |
Nov
(17) |
Dec
(17) |
2011 |
Jan
(3) |
Feb
(19) |
Mar
(5) |
Apr
(17) |
May
(3) |
Jun
(4) |
Jul
(14) |
Aug
(3) |
Sep
(2) |
Oct
(1) |
Nov
(3) |
Dec
(2) |
2012 |
Jan
(3) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
(4) |
Aug
(5) |
Sep
(2) |
Oct
(3) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(9) |
Apr
(5) |
May
|
Jun
(2) |
Jul
(1) |
Aug
(10) |
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
2014 |
Jan
(1) |
Feb
(3) |
Mar
(3) |
Apr
(1) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <yan...@us...> - 2008-03-03 04:30:05
|
Revision: 577 http://assorted.svn.sourceforge.net/assorted/?rev=577&view=rev Author: yangzhang Date: 2008-03-02 20:30:11 -0800 (Sun, 02 Mar 2008) Log Message: ----------- added a bunch of stuff to assorted.bash Modified Paths: -------------- shell-tools/trunk/src/bash-commons/assorted.bash Modified: shell-tools/trunk/src/bash-commons/assorted.bash =================================================================== --- shell-tools/trunk/src/bash-commons/assorted.bash 2008-03-03 04:29:50 UTC (rev 576) +++ shell-tools/trunk/src/bash-commons/assorted.bash 2008-03-03 04:30:11 UTC (rev 577) @@ -2,7 +2,7 @@ # This is a common include file for all project configuration scripts for # Assorted Projects. - +# # This takes an argument specifying the operation, which can be: # # - publish: generate the website and upload it @@ -14,15 +14,15 @@ # Required variables -: $fullname $version $license $websrcs $webfiles $rels +: $fullname $version $license $websrcs $rels -projdir="$( dirname "$0" )" +projdir="$( realpath "$( dirname "$0" )" )" cd $projdir project="$( basename "$( realpath "$projdir/.." )" )" root_site_dir="$( parent-dir named assorted )/assorted-site/trunk" || die 'could not find project root dir' -: ${clean:=false} ${nodl:=false} +: ${clean:=false} ${nodl:=false} ${webfiles:=} prof=shell-sf base_web_dir=assorted/htdocs webdir=$base_web_dir/$project @@ -30,19 +30,34 @@ package=$project-$version dllinks() { - if ! $nodl ; then + if (( "${#rels}" > 0 )) && ! $nodl ; then python -c " from sys import * -def f(): +def kinds(): for arg in argv[2:]: kind, _ = arg.split(':') + yield kind +def f(): + for kind in kinds(): if kind == 'src-tgz': - yield ( '[download src tgz $version]', + yield ( '[download $version src tgz]', 'http://assorted.googlecode.com/files/$package.tar.gz' ) + elif kind in [ 'jar', 'scala-ant', 'java-ant' ]: + yield ( '[download $version jar]', + 'http://assorted.googlecode.com/files/$package.jar' ) + elif kind == 'pypi': + # TODO this should be more robust + yield ( '[download $version egg]', + 'http://pypi.python.org/packages/2.5/p/$project/$( echo $project | sed s/-/_/g )-$version-py2.5.egg' ) + yield ( '[download $version src tgz]', + 'http://pypi.python.org/packages/source/p/$project/$package.tar.gz' ) + yield ( '[PyPI page]', + 'http://pypi.python.org/pypi/$project/' ) +tail = '|' if 'pypi' in kinds() else '| [more downloads] |' if argv[1] == 'links': - print ' | '.join( tup[0] for tup in f() ) + print ' | '.join( link for (link,url) in f() ), tail else: - print '\\n'.join( tup[0] + ': ' + tup[1] for tup in f() ) + print '\\\\\\n'.join( link + ': ' + url for (link,url) in f() ) " "$@" "${rels[@]}" fi } @@ -64,35 +79,84 @@ # Body. + if head -1 README | grep -q '^\[' ; then + cat README + else + # Make space for the subsequent injection of links. + echo + echo + echo + cat README + fi | sed " 1,1 { - s/\(\[.*\]\)/\1 | $dllinks | [more downloads] | [browse svn] | [SF project page]/ - s/^$/$dllinks | [more downloads] | [browse svn] | [SF project page]/ + s/\(\[.*\)/\1 | $dllinks [browse svn] | [home page]/ + s/^$/$dllinks [browse svn] | [home page]/ } 2,2 { a\\ $dlurls\\ [more downloads]: http://code.google.com/p/assorted/downloads/list\\ [browse svn]: http://assorted.svn.sourceforge.net/viewvc/assorted/$project/trunk/\\ -[SF project page]: http://www.sourceforge.net/projects/assorted/ +[home page]: http://assorted.sf.net/$project/\\ + } - " README + " # Footer. + local license_text license_links case $license in - gpl3 ) echo " -License -------- + gpl3 ) + license_text='the [GNU GPL3]' + license_links='[GNU GPL3]: http://www.gnu.org/licenses/gpl.html' ;; + psf ) + license_text="the [PSF License], the same as Python's license" + license_links='[PSF License]: http://www.python.org/psf/license.html' ;; + scala ) + license_text="a 3-clause BSD-style license, the same as Scala's license" + license_links="$( cat << "EOF" + Copyright (c) 2007 The Scala Commons. All rights reserved. -$fullname is released under the [GNU GPL3]. + Permission to use, copy, modify, and distribute this software in source + or binary form for any purpose with or without fee is hereby granted, + provided that the following conditions are met: -[GNU GPL3]: http://www.gnu.org/licenses/gpl.html -" ;; + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. Neither the name of the Scala Commons nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS "AS IS" AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +EOF +)" ;; * ) die "unknown license: $license" ;; esac + echo " +License +------- - echo " +$fullname is released under $license_text. + +$license_links + Contact ------- @@ -108,7 +172,8 @@ } stage() { - local gendir="$( mktemp -d )" + run-if-def pre-stage + if (( ${#webfiles} > 0 )) ; then for inp in "${webfiles[@]}" ; do if [[ "${inp%:*}" == "$inp" ]] ; then @@ -120,7 +185,7 @@ done fi - local src out + local gendir="$( mktemp -d )" src out if (( ${#websrcs} > 0 )) ; then for src in "${websrcs[@]}" ; do if [[ $src == README ]] @@ -135,6 +200,8 @@ done fi + run-if-def post-stage + echo "gendir $gendir stagedir $stagedir" } @@ -152,6 +219,13 @@ " } +exp() { + svn -q export . "$1" + if [[ "${websrcs[0]}" == README ]] + then mkreadme > "$1/README" + fi +} + # TODO: insert license header into source files (intelligently, without # displacing modelines) package() { @@ -162,14 +236,24 @@ local exportdir="$( mktemp -d )" dst=${rel%:*} src=${rel#*:} case $dst in src-tgz ) - svn -q export . $exportdir/$package + exp $exportdir/$package rm -f $exportdir/$package/publish.bash tar czf $stagedir/$package.tar.gz -C $exportdir $package ;; - #jar ) - # cd $exportdir/ - # simple-build $projdir/build - # make -s - # jar cf $package.jar -C $exportdir $package ;; + scala-ant | java-ant ) + ant -q \ + -Dscala.home=/usr/local \ + -Dbuild.dir=$exportdir/build \ + -Ddist.dir=$stagedir \ + -Dtmp.dir=$exportdir/tmp ;; + jar ) + ( + cd $exportdir/ + simple-build $projdir/src/build + make -s + cp out/$project.jar $stagedir/$package.jar + ) ;; + pypi ) + exp $stagedir/$package-py ;; * ) die "unknown dst type: $dst" ;; esac fi @@ -188,10 +272,16 @@ summary="Source tarball for $fullname $version" labels='Featured,Type-Source' file=$stagedir/$package.tar.gz ;; - jar ) - summary="JAR archive for $fullname $version" + jar | java-ant | scala-ant ) + summary="JAR for $fullname $version" labels=Featured file=$stagedir/$package.jar ;; + pypi ) + ( + cd $stagedir/$package-py + ./setup.py register sdist bdist_egg upload + ) + continue ;; * ) die "unknown dst type: $dst" ;; esac googlecode_upload -p assorted -s "$summary" -l "$labels" $file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 04:29:44
|
Revision: 576 http://assorted.svn.sourceforge.net/assorted/?rev=576&view=rev Author: yangzhang Date: 2008-03-02 20:29:50 -0800 (Sun, 02 Mar 2008) Log Message: ----------- added run-if-def Modified Paths: -------------- shell-tools/trunk/src/bash-commons/common.bash Modified: shell-tools/trunk/src/bash-commons/common.bash =================================================================== --- shell-tools/trunk/src/bash-commons/common.bash 2008-03-03 04:29:39 UTC (rev 575) +++ shell-tools/trunk/src/bash-commons/common.bash 2008-03-03 04:29:50 UTC (rev 576) @@ -380,6 +380,12 @@ done } +run-if-def() { + if type "$1" >& /dev/null + then "$@" + fi +} + # Given a regex sub-pattern and a set of files, print a sorted list of all the # words (symbols) in those files that contain that sub-pattern. Example: # This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 04:29:33
|
Revision: 575 http://assorted.svn.sourceforge.net/assorted/?rev=575&view=rev Author: yangzhang Date: 2008-03-02 20:29:39 -0800 (Sun, 02 Mar 2008) Log Message: ----------- new publisher Modified Paths: -------------- shell-tools/trunk/publish.bash Modified: shell-tools/trunk/publish.bash =================================================================== --- shell-tools/trunk/publish.bash 2008-03-03 04:29:28 UTC (rev 574) +++ shell-tools/trunk/publish.bash 2008-03-03 04:29:39 UTC (rev 575) @@ -4,7 +4,6 @@ version=0.1 license=gpl3 websrcs=( README ) -webfiles=() rels=( src-tgz: ) nodl=true . assorted.bash "$@" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 04:29:23
|
Revision: 574 http://assorted.svn.sourceforge.net/assorted/?rev=574&view=rev Author: yangzhang Date: 2008-03-02 20:29:28 -0800 (Sun, 02 Mar 2008) Log Message: ----------- tweaks Modified Paths: -------------- shell-tools/trunk/README Modified: shell-tools/trunk/README =================================================================== --- shell-tools/trunk/README 2008-03-03 04:25:59 UTC (rev 573) +++ shell-tools/trunk/README 2008-03-03 04:29:28 UTC (rev 574) @@ -105,14 +105,14 @@ For help on any particular tool, please see the tool's man page. -common.bash ------------ +Here are a few of the major components in `shell-tools`. +== common.bash == + Library of various general-purpose utilities that can come in handy for shell scripting. -SimpleSetup ------------ +== SimpleSetup == Framework for writing minimal installers that support installation by symlinks, which is particularly handy for development of scripts (scripts because it's This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 04:25:52
|
Revision: 573 http://assorted.svn.sourceforge.net/assorted/?rev=573&view=rev Author: yangzhang Date: 2008-03-02 20:25:59 -0800 (Sun, 02 Mar 2008) Log Message: ----------- new publisher Modified Paths: -------------- java-reactor/trunk/publish.bash Modified: java-reactor/trunk/publish.bash =================================================================== --- java-reactor/trunk/publish.bash 2008-03-03 04:19:53 UTC (rev 572) +++ java-reactor/trunk/publish.bash 2008-03-03 04:25:59 UTC (rev 573) @@ -1,7 +1,12 @@ #!/usr/bin/env bash -project=java-reactor -clean=false +post-stage() { + javadoc -d $stagedir/doc -sourcepath src -linksource reactor +} + +fullname='Java Reactor' +version=0.1 +license=gpl3 websrcs=( README ) -webfiles=() +rels=( src-tgz: java-ant: ) . assorted.bash "$@" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 04:19:47
|
Revision: 572 http://assorted.svn.sourceforge.net/assorted/?rev=572&view=rev Author: yangzhang Date: 2008-03-02 20:19:53 -0800 (Sun, 02 Mar 2008) Log Message: ----------- typo Modified Paths: -------------- java-reactor/trunk/src/reactor/ReactorTest.java Modified: java-reactor/trunk/src/reactor/ReactorTest.java =================================================================== --- java-reactor/trunk/src/reactor/ReactorTest.java 2008-03-03 04:19:39 UTC (rev 571) +++ java-reactor/trunk/src/reactor/ReactorTest.java 2008-03-03 04:19:53 UTC (rev 572) @@ -10,7 +10,7 @@ import java.util.concurrent.TimeUnit; /** - * A simple test for the reactor.s + * A simple test for the reactor. * @author yang * */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 04:19:35
|
Revision: 571 http://assorted.svn.sourceforge.net/assorted/?rev=571&view=rev Author: yangzhang Date: 2008-03-02 20:19:39 -0800 (Sun, 02 Mar 2008) Log Message: ----------- updated readme for assorted.bash Modified Paths: -------------- java-reactor/trunk/README Modified: java-reactor/trunk/README =================================================================== --- java-reactor/trunk/README 2008-03-03 04:19:27 UTC (rev 570) +++ java-reactor/trunk/README 2008-03-03 04:19:39 UTC (rev 571) @@ -1,5 +1,4 @@ -% Java Reactor -% Yang Zhang +[documentation](doc) Overview -------- @@ -13,7 +12,7 @@ are run in-line. Aside from its simplicity, efficiency, and support for scheduled tasks, it also -has no dependencies. +has no dependencies except for Java 6. Related Work ------------ @@ -27,26 +26,8 @@ [SRON]: https://moo.cmcl.cs.cmu.edu/trac/scaleron [slf4j]: http://www.slf4j.org/ -License -------- - -Java Reactor is released under the [GNU GPL3]. - -[GNU GPL3]: http://www.gnu.org/licenses/gpl-3.0.txt - Links ----- -- Web site: <http://assorted.sf.net/java-reactor/> -- ROX NIO tutorial: <http://rox-xmlrpc.sourceforge.net/niotut/index.html> - -Contact -------- - -Copyright (C) 2008 [Yang Zhang]. -All rights reserved. - -Back to [assorted.sf.net]. - -[Yang Zhang]: http://www.mit.edu/~y_z/ -[assorted.sf.net]: http://assorted.sourceforge.net/ +- [Web site](http://assorted.sf.net/java-reactor/) +- [ROX NIO tutorial](http://rox-xmlrpc.sourceforge.net/niotut/) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 04:19:22
|
Revision: 570 http://assorted.svn.sourceforge.net/assorted/?rev=570&view=rev Author: yangzhang Date: 2008-03-02 20:19:27 -0800 (Sun, 02 Mar 2008) Log Message: ----------- added ant build file Added Paths: ----------- java-reactor/trunk/build.xml Added: java-reactor/trunk/build.xml =================================================================== --- java-reactor/trunk/build.xml (rev 0) +++ java-reactor/trunk/build.xml 2008-03-03 04:19:27 UTC (rev 570) @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<project name="java-reactor" default="jar"> + <property name="version" value="0.1"/> + <property name="src.dir" value="${basedir}/src"/> + <property name="build.dir" value="${basedir}/build"/> + <property name="dist.dir" value="${basedir}/dist"/> + + <target name="build"> + <mkdir dir="${build.dir}"/> + <javac srcdir="${src.dir}" destdir="${build.dir}"/> + </target> + + <target name="jar" depends="build"> + <mkdir dir="${dist.dir}"/> + <jar basedir="${build.dir}" + jarfile="${dist.dir}/${ant.project.name}-${version}.jar" index="true"/> + </target> + + <target name="clean"> + <delete dir="${build.dir}"/> + <delete dir="${dist.dir}"/> + </target> +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 04:01:36
|
Revision: 569 http://assorted.svn.sourceforge.net/assorted/?rev=569&view=rev Author: yangzhang Date: 2008-03-02 20:01:39 -0800 (Sun, 02 Mar 2008) Log Message: ----------- updated publisher Modified Paths: -------------- scala-commons/trunk/README scala-commons/trunk/publish.bash Modified: scala-commons/trunk/README =================================================================== --- scala-commons/trunk/README 2008-03-03 03:25:03 UTC (rev 568) +++ scala-commons/trunk/README 2008-03-03 04:01:39 UTC (rev 569) @@ -1,9 +1,5 @@ -% Scala Commons -% Yang Zhang -% gmail:yaaang +[documentation](doc) -[download] | [documentation] | [browse svn] | [sourceforge page] - Overview -------- @@ -22,6 +18,13 @@ - workarounds for buggy or inefficient facilities elsewhere (e.g. standard library methods) +[Scala]: http://www.scala-lang.org/ + +[Sun HTTP Server]: http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/index.html +[JavaBib]: http://www-plan.cs.colorado.edu/henkel/stuff/javabib/ +[JScrape]: http://apsquared.net/JScrape.html +[gnuplot]: http://www.gnuplot.info/ + Related work ------------ @@ -32,65 +35,6 @@ - the [ScalaX] community library - the [ScalaZ] library -License -------- - -Scala Commons is released under a 3-clause BSD-style license, the same as -Scala's license. - - Copyright (c) 2007 The Scala Commons. All rights reserved. - - Permission to use, copy, modify, and distribute this software in source - or binary form for any purpose with or without fee is hereby granted, - provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - 3. Neither the name of the Scala Commons nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS "AS IS" AND ANY EXPRESS - OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE - GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER - IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Contact -------- - -Copyright (C) 2008 [Yang Zhang]. -All rights reserved. - -Back to [assorted.sf.net]. - -[download]: scala-commons.jar -[documentation]: doc/ -[browse svn]: http://assorted.svn.sourceforge.net/viewvc/assorted/scala-commons/trunk/ -[sourceforge page]: http://www.sourceforge.net/projects/assorted/ - -[Scala]: http://www.scala-lang.org/ - -[Sun HTTP Server]: http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/index.html -[JavaBib]: http://www-plan.cs.colorado.edu/henkel/stuff/javabib/ -[JScrape]: http://apsquared.net/JScrape.html -[gnuplot]: http://www.gnuplot.info/ - [Scala standard library]: http://www.scala-lang.org/docu/files/api/ [scalax]: http://scalax.scalaforge.org/ [scalaz]: http://wiki.workingmouse.com/index.php/Scalaz - -[Yang Zhang]: http://www.mit.edu/~y_z/ -[assorted.sf.net]: http://assorted.sourceforge.net/ Modified: scala-commons/trunk/publish.bash =================================================================== --- scala-commons/trunk/publish.bash 2008-03-03 03:25:03 UTC (rev 568) +++ scala-commons/trunk/publish.bash 2008-03-03 04:01:39 UTC (rev 569) @@ -2,10 +2,14 @@ . common.bash || exit 1 -make -sC src/ doc jar +post-stage() { + make -sC src/ doc +} -project=scala-commons -clean=false +fullname='Scala Commons' +version=0.1 +license=scala websrcs=( README ) webfiles=( src/doc src/out/scala-commons.jar ) +rels=( src-tgz: scala-ant: ) . assorted.bash "$@" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 03:25:01
|
Revision: 568 http://assorted.svn.sourceforge.net/assorted/?rev=568&view=rev Author: yangzhang Date: 2008-03-02 19:25:03 -0800 (Sun, 02 Mar 2008) Log Message: ----------- reducing redundant documentation Modified Paths: -------------- python-commons/trunk/src/commons/__init__.py Modified: python-commons/trunk/src/commons/__init__.py =================================================================== --- python-commons/trunk/src/commons/__init__.py 2008-03-03 03:24:56 UTC (rev 567) +++ python-commons/trunk/src/commons/__init__.py 2008-03-03 03:25:03 UTC (rev 568) @@ -2,17 +2,9 @@ # vim:ft=python:et:sw=4:ts=4 """ -U{Python Commons<http://assorted.sf.net/python-commons>} is a collection of -general-purpose utilities released under the U{PSF -license<http://www.python.org/psf/license.html>} (the same license as what -Python is distributed under). +U{Python Commons<http://assorted.sf.net/python-commons>} is a +general-purpose library. -You can download the latest releases -U{here<http://assorted.sf.net/python-commons/download>}. To install, -run setup.py or setup.bash. setup.bash requires -U{simple-setup<http://assorted.sf.net/shell-tools/simple-setup>} which -is part of U{shell-tools<http://assorted.sf.net/shell-tools>}. - @author: Yang Zhang @copyright: Yang Zhang unless otherwise noted @license: PSF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 03:24:50
|
Revision: 567 http://assorted.svn.sourceforge.net/assorted/?rev=567&view=rev Author: yangzhang Date: 2008-03-02 19:24:56 -0800 (Sun, 02 Mar 2008) Log Message: ----------- small fixes Modified Paths: -------------- python-commons/trunk/src/commons/files.py python-commons/trunk/src/commons/setup.py Modified: python-commons/trunk/src/commons/files.py =================================================================== --- python-commons/trunk/src/commons/files.py 2008-03-03 03:24:26 UTC (rev 566) +++ python-commons/trunk/src/commons/files.py 2008-03-03 03:24:56 UTC (rev 567) @@ -59,7 +59,7 @@ @rtype: str """ base_dir_name += '-' + os.environ[ 'USER' ] - base_dir = paths.path( tempfile.gettempdir() ) / base_dir_name + base_dir = path( tempfile.gettempdir() ) / base_dir_name soft_makedirs( base_dir ) if do_create_subdir: return tempfile.mkdtemp( dir = base_dir ) Modified: python-commons/trunk/src/commons/setup.py =================================================================== --- python-commons/trunk/src/commons/setup.py 2008-03-03 03:24:26 UTC (rev 566) +++ python-commons/trunk/src/commons/setup.py 2008-03-03 03:24:56 UTC (rev 567) @@ -74,7 +74,7 @@ args_translations[ source_name ] = dest_name else: args_nontranslations.add( dest_name ) - + args = {} for key, value in pkg_info.iteritems(): dest_name = None @@ -89,10 +89,10 @@ # this also allows user to override our args args.update( orig_kwargs ) + args.update( { + 'package_dir': {'':'src'}, + 'packages': find_packages('src'), + 'zip_safe': True, + } ) - setup( *orig_args, - package_dir = {'':'src'}, - packages = find_packages('src'), - zip_safe = True, - **args, - ) + setup( *orig_args, **args ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 03:24:21
|
Revision: 566 http://assorted.svn.sourceforge.net/assorted/?rev=566&view=rev Author: yangzhang Date: 2008-03-02 19:24:26 -0800 (Sun, 02 Mar 2008) Log Message: ----------- newer assorted.bash; published, moving on Modified Paths: -------------- python-commons/trunk/publish.bash Modified: python-commons/trunk/publish.bash =================================================================== --- python-commons/trunk/publish.bash 2008-03-03 03:24:10 UTC (rev 565) +++ python-commons/trunk/publish.bash 2008-03-03 03:24:26 UTC (rev 566) @@ -1,9 +1,12 @@ #!/usr/bin/env bash -epydoc -o doc src/commons/ +post-stage() { + epydoc -o $stagedir/doc src/commons/ +} -project=python-commons -clean=false -websrcs=() -webfiles=( doc/* ) +fullname='Python Commons' +version=0.2 +license=psf +websrcs=( README ) +rels=( pypi: ) . assorted.bash "$@" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 03:24:04
|
Revision: 565 http://assorted.svn.sourceforge.net/assorted/?rev=565&view=rev Author: yangzhang Date: 2008-03-02 19:24:10 -0800 (Sun, 02 Mar 2008) Log Message: ----------- new useful readme! Modified Paths: -------------- python-commons/trunk/README Modified: python-commons/trunk/README =================================================================== --- python-commons/trunk/README 2008-03-03 03:23:55 UTC (rev 564) +++ python-commons/trunk/README 2008-03-03 03:24:10 UTC (rev 565) @@ -1,5 +1,35 @@ -To install, run setup.py or setup.bash. +[documentation](doc) -Future releases will come with scripts to build the epydoc API -documentation, but for now please refer to the project homepage for -the full documentation: http://assorted.sf.net/python-commons +Overview +-------- + +Python Commons is a general-purpose library for Python. To get a sense of +what it provides, please glance over the [documentation](doc). + +Requirements +------------ + +- [Python](http://python.org/) 2.5 +- [setuptools](http://peak.telecommunity.com/DevCenter/setuptools) 0.6 + +Certain sub-modules have extra requirements: + +- `async` requires [Twisted](http://twistedmatrix.com/trac/) 2.5 +- `files` requires [path](http://www.jorendorff.com/articles/python/path/) 2.2 + +This library has only been tested on Linux. + +Setup +----- + +To install, run `easy_install python-commons`, or download the source tarball +and run `python setup.py install`. + +Related Work +------------ + +- [ASPN Cookbook]: a valuable repository of Python snippets +- [AIMA Utilities]: accompaniment to a popular AI textbook + +[ASPN Cookbook]: http://aspn.activestate.com/ASPN/Cookbook/Python +[AIMA Utilities]: http://aima.cs.berkeley.edu/python/utils.py This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 03:23:51
|
Revision: 564 http://assorted.svn.sourceforge.net/assorted/?rev=564&view=rev Author: yangzhang Date: 2008-03-02 19:23:55 -0800 (Sun, 02 Mar 2008) Log Message: ----------- removed obsolete download url Modified Paths: -------------- python-commons/trunk/setup.py Modified: python-commons/trunk/setup.py =================================================================== --- python-commons/trunk/setup.py 2008-03-03 03:23:18 UTC (rev 563) +++ python-commons/trunk/setup.py 2008-03-03 03:23:55 UTC (rev 564) @@ -13,7 +13,6 @@ Author: Yang Zhang Author-email: yaaang NOSPAM at REMOVECAPS gmail Home-page: http://assorted.sourceforge.net/python-commons -Download-url: http://assorted.sourceforge.net/python-commons/download Summary: Python Commons License: Python Software Foundation License Description: General-purpose library of utilities and extensions to the This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-03 03:23:13
|
Revision: 563 http://assorted.svn.sourceforge.net/assorted/?rev=563&view=rev Author: yangzhang Date: 2008-03-02 19:23:18 -0800 (Sun, 02 Mar 2008) Log Message: ----------- added ant build file Added Paths: ----------- scala-commons/trunk/build.xml Added: scala-commons/trunk/build.xml =================================================================== --- scala-commons/trunk/build.xml (rev 0) +++ scala-commons/trunk/build.xml 2008-03-03 03:23:18 UTC (rev 563) @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<project name="scala-commons" default="jar"> + <property name="version" value="0.1"/> + <property name="src.dir" value="${basedir}/src"/> + <property name="build.dir" value="${basedir}/build"/> + <property name="dist.dir" value="${basedir}/dist"/> + <property name="tmp.dir" value="${basedir}/tmp"/> + + <target name="init"> + <property name="scala-library.jar" value="${scala.home}/share/scala/lib/scala-library.jar"/> + <path id="build.classpath"> + <pathelement location="${scala-library.jar}"/> + <pathelement location="${build.dir}"/> + </path> + <taskdef resource="scala/tools/ant/antlib.xml"> + <classpath> + <pathelement location="${scala.home}/share/scala/lib/scala-compiler.jar"/> + <pathelement location="${scala-library.jar}"/> + </classpath> + </taskdef> + </target> + + <target name="build" depends="init"> + <mkdir dir="${build.dir}"/> + <scalac srcdir="${src.dir}" destdir="${build.dir}" + classpathref="build.classpath" force="changed"> + <exclude name="commons/extras/*.scala"/> + </scalac> + </target> + + <target name="jar" depends="build"> + <mkdir dir="${dist.dir}"/> + <jar basedir="${build.dir}" + jarfile="${dist.dir}/${ant.project.name}-${version}.jar" index="true"/> + </target> + + <target name="clean"> + <delete dir="${build.dir}"/> + <delete dir="${dist.dir}"/> + <delete dir="${tmp.dir}"/> + </target> +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 22:23:27
|
Revision: 562 http://assorted.svn.sourceforge.net/assorted/?rev=562&view=rev Author: yangzhang Date: 2008-03-02 14:22:39 -0800 (Sun, 02 Mar 2008) Log Message: ----------- temporary fix for build instructions Modified Paths: -------------- numa-bench/trunk/README Modified: numa-bench/trunk/README =================================================================== --- numa-bench/trunk/README 2008-03-02 18:10:56 UTC (rev 561) +++ numa-bench/trunk/README 2008-03-02 22:22:39 UTC (rev 562) @@ -39,7 +39,7 @@ $ svn --quiet co https://assorted.svn.sourceforge.net/svnroot/assorted/numa-bench/trunk numa-bench $ ln -s "$PWD/cpp-commons/src/commons" numa-bench/src/ $ cd numa-bench/src/ - $ make + $ CPATH="$PWD:$CPATH" make $ ./malloc.bash Supporting Tools This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 18:10:51
|
Revision: 561 http://assorted.svn.sourceforge.net/assorted/?rev=561&view=rev Author: yangzhang Date: 2008-03-02 10:10:56 -0800 (Sun, 02 Mar 2008) Log Message: ----------- newer assorted.bash Modified Paths: -------------- shell-tools/trunk/README shell-tools/trunk/publish.bash Modified: shell-tools/trunk/README =================================================================== --- shell-tools/trunk/README 2008-03-02 18:10:51 UTC (rev 560) +++ shell-tools/trunk/README 2008-03-02 18:10:56 UTC (rev 561) @@ -1,6 +1,3 @@ -% Assorted Shell Tools -% Yang Zhang - Overview -------- @@ -128,19 +125,3 @@ - [Advanced Bash Scripting](http://www.faqs.org/docs/abs/HTML/): huge guide to the beautiful montrosity that is bash. - -License -------- - -Assorted Shell Tools is released under the [GNU GPL]. - -Contact -------- - -Copyright 2008 [Yang Zhang]. -All rights reserved. - -Back to [assorted.sf.net]. - -[Yang Zhang]: http://www.mit.edu/~y_z/ -[assorted.sf.net]: http://assorted.sf.net/ Modified: shell-tools/trunk/publish.bash =================================================================== --- shell-tools/trunk/publish.bash 2008-03-02 18:10:51 UTC (rev 560) +++ shell-tools/trunk/publish.bash 2008-03-02 18:10:56 UTC (rev 561) @@ -1,5 +1,10 @@ -project=shell-tools -clean=false +#!/usr/bin/env bash + +fullname='Assorted Shell Tools' +version=0.1 +license=gpl3 websrcs=( README ) webfiles=() +rels=( src-tgz: ) +nodl=true . assorted.bash "$@" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 18:10:49
|
Revision: 560 http://assorted.svn.sourceforge.net/assorted/?rev=560&view=rev Author: yangzhang Date: 2008-03-02 10:10:51 -0800 (Sun, 02 Mar 2008) Log Message: ----------- tweaks Modified Paths: -------------- shell-tools/trunk/src/bash-commons/assorted.bash Modified: shell-tools/trunk/src/bash-commons/assorted.bash =================================================================== --- shell-tools/trunk/src/bash-commons/assorted.bash 2008-03-02 16:56:25 UTC (rev 559) +++ shell-tools/trunk/src/bash-commons/assorted.bash 2008-03-02 18:10:51 UTC (rev 560) @@ -85,7 +85,7 @@ License ------- -The $fullname is released under the [GNU GPL3]. +$fullname is released under the [GNU GPL3]. [GNU GPL3]: http://www.gnu.org/licenses/gpl.html " ;; @@ -130,7 +130,7 @@ pandoc -s -S --tab-stop=2 \ -c http://assorted.sf.net/main.css \ -H "$root_site_dir/header.html" \ - -A "$root_site_dir/footer.html" \ + -A "$root_site_dir/google-footer.html" \ -o "$stagedir/$out" "$src" done fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 16:56:20
|
Revision: 559 http://assorted.svn.sourceforge.net/assorted/?rev=559&view=rev Author: yangzhang Date: 2008-03-02 08:56:25 -0800 (Sun, 02 Mar 2008) Log Message: ----------- newer assorted.bash Modified Paths: -------------- numa-bench/trunk/publish.bash Modified: numa-bench/trunk/publish.bash =================================================================== --- numa-bench/trunk/publish.bash 2008-03-02 16:56:13 UTC (rev 558) +++ numa-bench/trunk/publish.bash 2008-03-02 16:56:25 UTC (rev 559) @@ -1,7 +1,10 @@ #!/usr/bin/env bash -project=numa-bench -clean=false +fullname='NUMA Micro-Benchmarks Suite' +version=0.1 +license=gpl3 websrcs=( README doc/analysis.txt ) webfiles=( graphs:tools/graphs/*.pdf ) +rels=( src-tgz: ) +nodl=true . assorted.bash "$@" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 16:56:14
|
Revision: 558 http://assorted.svn.sourceforge.net/assorted/?rev=558&view=rev Author: yangzhang Date: 2008-03-02 08:56:13 -0800 (Sun, 02 Mar 2008) Log Message: ----------- rearranged readme Modified Paths: -------------- numa-bench/trunk/README Modified: numa-bench/trunk/README =================================================================== --- numa-bench/trunk/README 2008-03-02 16:49:24 UTC (rev 557) +++ numa-bench/trunk/README 2008-03-02 16:56:13 UTC (rev 558) @@ -1,6 +1,3 @@ -% NUMA Benchmarks -% Yang Zhang - Overview -------- @@ -10,11 +7,15 @@ program performs a variety of operations on a large piece of memory to explore the performance behavior of memory intensive programs. +[Linux NUMA API]: http://www.novell.com/collateral/4621437/4621437.pdf + Results ------- Here are some [results]. +[results]: analysis.html + Requirements ------------ @@ -23,6 +24,11 @@ - [g++] 4.2 - [libstdc++] 4.2 +[C++ Commons]: http://assorted.sf.net/cpp-commons/ +[boost]: http://www.boost.org/ +[g++]: http://gcc.gnu.org/ +[libstdc++]: http://gcc.gnu.org/libstdc++/ + Building -------- @@ -41,14 +47,8 @@ `PlotHist` processes stdout concatenated from multiple runs of the program. This will produce the averaged time measurement histograms across cores per -experiment and across experiments varying the number of cores. system. +experiment and across experiments varying the number of cores. This tool depends on the [Scala Commons]. -[Linux NUMA API]: http://www.novell.com/collateral/4621437/4621437.pdf -[C++ Commons]: http://assorted.sf.net/cpp-commons/ [Scala Commons]: http://assorted.sf.net/scala-commons/ -[boost]: http://www.boost.org/ -[g++]: http://gcc.gnu.org/ -[libstdc++]: http://gcc.gnu.org/libstdc++/ -[results]: analysis.html This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 16:49:20
|
Revision: 557 http://assorted.svn.sourceforge.net/assorted/?rev=557&view=rev Author: yangzhang Date: 2008-03-02 08:49:24 -0800 (Sun, 02 Mar 2008) Log Message: ----------- simpler auth Modified Paths: -------------- simple-build/trunk/src/googlecode_upload.py Modified: simple-build/trunk/src/googlecode_upload.py =================================================================== --- simple-build/trunk/src/googlecode_upload.py 2008-03-02 16:46:12 UTC (rev 556) +++ simple-build/trunk/src/googlecode_upload.py 2008-03-02 16:49:24 UTC (rev 557) @@ -231,19 +231,7 @@ tries: How many attempts to make. """ - if config_dir != 'none': - # Try to load username/password from svn config for first try. - if config_dir is None: - config_dir = get_svn_config_dir() - (svn_username, password) = (None, None) # get_svn_auth(project_name, config_dir) - if user_name is None: - # If username was not supplied by caller, use svn config. - user_name = svn_username - else: - user_name, password = get_basic_auth() - else: - # Just initialize password for the first try. - password = None + user_name, password = get_basic_auth() while tries > 0: if user_name is None: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 16:46:14
|
Revision: 556 http://assorted.svn.sourceforge.net/assorted/?rev=556&view=rev Author: yangzhang Date: 2008-03-02 08:46:12 -0800 (Sun, 02 Mar 2008) Log Message: ----------- newer assorted.bash does packaging, releasing, readme-munging Modified Paths: -------------- shell-tools/trunk/src/bash-commons/assorted.bash Modified: shell-tools/trunk/src/bash-commons/assorted.bash =================================================================== --- shell-tools/trunk/src/bash-commons/assorted.bash 2008-03-02 16:45:53 UTC (rev 555) +++ shell-tools/trunk/src/bash-commons/assorted.bash 2008-03-02 16:46:12 UTC (rev 556) @@ -3,43 +3,144 @@ # This is a common include file for all project configuration scripts for # Assorted Projects. +# This takes an argument specifying the operation, which can be: +# +# - publish: generate the website and upload it +# - stage: just stage; don't upload +# - package: create a package (i.e. stage a release) +# - release: package and upload release to google code + . common.bash || exit 1 -root_site_dir="$( parent-dir named assorted )/assorted-site/trunk" -: ${clean:=false} +# Required variables + +: $fullname $version $license $websrcs $webfiles $rels + +projdir="$( dirname "$0" )" +cd $projdir + +project="$( basename "$( realpath "$projdir/.." )" )" +root_site_dir="$( parent-dir named assorted )/assorted-site/trunk" || + die 'could not find project root dir' +: ${clean:=false} ${nodl:=false} prof=shell-sf base_web_dir=assorted/htdocs webdir=$base_web_dir/$project stagedir="$( mktemp -d )" +package=$project-$version -if (( ${#webfiles} > 0 )) ; then - for inp in "${webfiles[@]}" ; do - if [[ "${inp%:*}" == "$inp" ]] ; then - cp -r "$inp" "$stagedir/" - else - mkdir -p "$stagedir/${inp%:*}" - cp -r $( eval ls "${inp#*:}" ) "$stagedir/${inp%:*}" - fi - done -fi +dllinks() { + if ! $nodl ; then + python -c " +from sys import * +def f(): + for arg in argv[2:]: + kind, _ = arg.split(':') + if kind == 'src-tgz': + yield ( '[download src tgz $version]', + 'http://assorted.googlecode.com/files/$package.tar.gz' ) +if argv[1] == 'links': + print ' | '.join( tup[0] for tup in f() ) +else: + print '\\n'.join( tup[0] + ': ' + tup[1] for tup in f() ) +" "$@" "${rels[@]}" + fi +} -if (( ${#websrcs} > 0 )) ; then - for src in "${websrcs[@]}" ; do - if [[ $src == README ]] - then out=index.html - else out="$( basename "${src%.*}.html" )" - fi - pandoc -s -S --tab-stop=2 \ - -c http://assorted.sf.net/main.css \ - -H "$root_site_dir/header.html" \ - -A "$root_site_dir/footer.html" \ - -o "$stagedir/$out" "$src" - done -fi +mkreadme() { + { + # Header. -if [[ "${1:-}" == pretend ]] ; then - echo "$stagedir" -else + cat << EOF +% $fullname +% Yang Zhang +% gmail:yaaang + +EOF + + # Download links. + + local dllinks="`dllinks links`" dlurls="`dllinks urls`" + + # Body. + + sed " + 1,1 { + s/\(\[.*\]\)/\1 | $dllinks | [more downloads] | [browse svn] | [SF project page]/ + s/^$/$dllinks | [more downloads] | [browse svn] | [SF project page]/ + } + 2,2 { + a\\ +$dlurls\\ +[more downloads]: http://code.google.com/p/assorted/downloads/list\\ +[browse svn]: http://assorted.svn.sourceforge.net/viewvc/assorted/$project/trunk/\\ +[SF project page]: http://www.sourceforge.net/projects/assorted/ + } + " README + + # Footer. + + case $license in + gpl3 ) echo " +License +------- + +The $fullname is released under the [GNU GPL3]. + +[GNU GPL3]: http://www.gnu.org/licenses/gpl.html +" ;; + * ) die "unknown license: $license" ;; + esac + + echo " +Contact +------- + +Copyright 2008 [Yang Zhang]. +All rights reserved. + +Back to [assorted.sf.net]. + +[Yang Zhang]: http://www.mit.edu/~y_z/ +[assorted.sf.net]: http://assorted.sourceforge.net/ +" + } +} + +stage() { + local gendir="$( mktemp -d )" + if (( ${#webfiles} > 0 )) ; then + for inp in "${webfiles[@]}" ; do + if [[ "${inp%:*}" == "$inp" ]] ; then + cp -r "$inp" "$stagedir/" + else + mkdir -p "$stagedir/${inp%:*}" + cp -r $( eval ls -d "${inp#*:}" ) "$stagedir/${inp%:*}" + fi + done + fi + + local src out + if (( ${#websrcs} > 0 )) ; then + for src in "${websrcs[@]}" ; do + if [[ $src == README ]] + then src=$gendir/README out=index.html ; mkreadme > $src + else out="$( basename "${src%.*}.html" )" + fi + pandoc -s -S --tab-stop=2 \ + -c http://assorted.sf.net/main.css \ + -H "$root_site_dir/header.html" \ + -A "$root_site_dir/footer.html" \ + -o "$stagedir/$out" "$src" + done + fi + + echo "gendir $gendir stagedir $stagedir" +} + +publish() { + stage + tar czf - -C "$stagedir" . | ssh $prof " set -o errexit -o nounset @@ -49,4 +150,52 @@ tar xzmf - chmod -R +rX . " -fi +} + +# TODO: insert license header into source files (intelligently, without +# displacing modelines) +package() { + for rel in "${rels[@]}" ; do + if [[ ${rel%:*} == $rel ]] ; then + die "invalid release spec: $rel" + else + local exportdir="$( mktemp -d )" dst=${rel%:*} src=${rel#*:} + case $dst in + src-tgz ) + svn -q export . $exportdir/$package + rm -f $exportdir/$package/publish.bash + tar czf $stagedir/$package.tar.gz -C $exportdir $package ;; + #jar ) + # cd $exportdir/ + # simple-build $projdir/build + # make -s + # jar cf $package.jar -C $exportdir $package ;; + * ) die "unknown dst type: $dst" ;; + esac + fi + done + + echo "exportdir $exportdir stagedir $stagedir" +} + +release() { + package + + for rel in "${rels[@]}" ; do + local dst=${rel%:*} src=${rel#*:} summary labels file + case $dst in + src-tgz ) + summary="Source tarball for $fullname $version" + labels='Featured,Type-Source' + file=$stagedir/$package.tar.gz ;; + jar ) + summary="JAR archive for $fullname $version" + labels=Featured + file=$stagedir/$package.jar ;; + * ) die "unknown dst type: $dst" ;; + esac + googlecode_upload -p assorted -s "$summary" -l "$labels" $file + done +} + +"$@" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 16:45:55
|
Revision: 555 http://assorted.svn.sourceforge.net/assorted/?rev=555&view=rev Author: yangzhang Date: 2008-03-02 08:45:53 -0800 (Sun, 02 Mar 2008) Log Message: ----------- updated for newer assorted.bash Modified Paths: -------------- cpp-commons/trunk/README cpp-commons/trunk/publish.bash Modified: cpp-commons/trunk/README =================================================================== --- cpp-commons/trunk/README 2008-03-02 05:02:35 UTC (rev 554) +++ cpp-commons/trunk/README 2008-03-02 16:45:53 UTC (rev 555) @@ -1,13 +1,7 @@ -% C++ Commons -% Yang Zhang -% gmail:yaaang +[documentation] -[documentation] | [browse svn] | [sourceforge page] +[documentation]: doc -[documentation]: doc/ -[browse svn]: http://assorted.svn.sourceforge.net/viewvc/assorted/cpp-commons/trunk/ -[sourceforge page]: http://www.sourceforge.net/projects/assorted/ - Overview -------- @@ -15,7 +9,7 @@ language. The library is nascent, so it doesn't have enough to warrant a release. This is a library of header files, in the same spirit as [boost]. -Related work +Related Work ------------ Code found here generally tries to complement code in the following other handy @@ -29,20 +23,12 @@ [libstdc++]: http://gcc.gnu.org/libstdc++/ [nmstl]: http://nmstl.sourceforge.net/ -License -------- +Some other general-purpose libraries which I haven't looked at in-depth: -The C++ Commons is released under the [GNU GPL3]. +- [GNU Common C++] +- [dlib] +- [FC++]: lazy functional programming in C++ -[GNU GPL3]: http://www.gnu.org/licenses/gpl-3.0.txt - -Contact -------- - -Copyright (C) 2008 [Yang Zhang]. -All rights reserved. - -Back to [assorted.sf.net]. - -[Yang Zhang]: http://www.mit.edu/~y_z/ -[assorted.sf.net]: http://assorted.sourceforge.net/ +[GNU Common C++]: http://www.gnu.org/software/commoncpp/ +[dlib]: http://dclib.sourceforge.net/ +[FC++]: http://www.cc.gatech.edu/~yannis/fc++/ Modified: cpp-commons/trunk/publish.bash =================================================================== --- cpp-commons/trunk/publish.bash 2008-03-02 05:02:35 UTC (rev 554) +++ cpp-commons/trunk/publish.bash 2008-03-02 16:45:53 UTC (rev 555) @@ -2,8 +2,11 @@ doxygen -project=cpp-commons -clean=false +fullname='C++ Commons' +version=0.1 +license=gpl3 websrcs=( README ) webfiles=( doc:doc/html ) +rels=( src-tgz: ) +nodl=true . assorted.bash "$@" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-02 05:02:30
|
Revision: 554 http://assorted.svn.sourceforge.net/assorted/?rev=554&view=rev Author: yangzhang Date: 2008-03-01 21:02:35 -0800 (Sat, 01 Mar 2008) Log Message: ----------- tweaks Modified Paths: -------------- cpp-commons/trunk/README Modified: cpp-commons/trunk/README =================================================================== --- cpp-commons/trunk/README 2008-03-01 06:24:14 UTC (rev 553) +++ cpp-commons/trunk/README 2008-03-02 05:02:35 UTC (rev 554) @@ -4,6 +4,10 @@ [documentation] | [browse svn] | [sourceforge page] +[documentation]: doc/ +[browse svn]: http://assorted.svn.sourceforge.net/viewvc/assorted/cpp-commons/trunk/ +[sourceforge page]: http://www.sourceforge.net/projects/assorted/ + Overview -------- @@ -21,11 +25,17 @@ - [libstdc++] - [nmstl] +[boost]: http://boost.org/ +[libstdc++]: http://gcc.gnu.org/libstdc++/ +[nmstl]: http://nmstl.sourceforge.net/ + License ------- The C++ Commons is released under the [GNU GPL3]. +[GNU GPL3]: http://www.gnu.org/licenses/gpl-3.0.txt + Contact ------- @@ -34,16 +44,5 @@ Back to [assorted.sf.net]. -[documentation]: doc/ -[browse svn]: http://assorted.svn.sourceforge.net/viewvc/assorted/cpp-commons/trunk/ -[sourceforge page]: http://www.sourceforge.net/projects/assorted/ - -[C++ Commons]: http://assorted.sf.net/cpp-commons/ -[boost]: http://boost.org/ -[libstdc++]: http://gcc.gnu.org/libstdc++/ -[nmstl]: http://nmstl.sourceforge.net/ - -[GNU GPL3]: http://www.gnu.org/licenses/gpl-3.0.txt - [Yang Zhang]: http://www.mit.edu/~y_z/ [assorted.sf.net]: http://assorted.sourceforge.net/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-03-01 06:24:14
|
Revision: 553 http://assorted.svn.sourceforge.net/assorted/?rev=553&view=rev Author: yangzhang Date: 2008-02-29 22:24:14 -0800 (Fri, 29 Feb 2008) Log Message: ----------- added googlecode_upload to setup Modified Paths: -------------- simple-build/trunk/src/setup.bash Modified: simple-build/trunk/src/setup.bash =================================================================== --- simple-build/trunk/src/setup.bash 2008-03-01 06:21:37 UTC (rev 552) +++ simple-build/trunk/src/setup.bash 2008-03-01 06:24:14 UTC (rev 553) @@ -3,5 +3,6 @@ pkg=simple-build . simple-setup.bash +install_strip bin/ googlecode_upload.py install bin/ build.bash capture-javac-deps install share/$pkg/ build-templates This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |