diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-01-28 01:44:05 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-01-28 01:44:05 +0100 |
commit | 2466d6dc24546688276c074e2f691b72ae60464d (patch) | |
tree | c3ab7bf38e08b62e675965d58b6befd46c0c232f | |
parent | 3acfc24e54a9f6d1b2121dda1942e882549870e4 (diff) |
remove references to old cvs and sourceforge
-rw-r--r-- | README.sourceforge | 45 | ||||
-rw-r--r-- | devtools/cvs-ignore-update.py | 43 | ||||
-rw-r--r-- | devtools/cvs-root-update.py | 17 | ||||
-rwxr-xr-x | devtools/prepare-cvs.sh | 11 |
4 files changed, 0 insertions, 116 deletions
diff --git a/README.sourceforge b/README.sourceforge deleted file mode 100644 index 82e1dda..0000000 --- a/README.sourceforge +++ /dev/null @@ -1,45 +0,0 @@ - Making a SourceForge Release - ---------------------------- - -* create files to distribute and copy them to sourceforge - - Bump up release version in: - - include/cppunit/Portability.h - - configure.in - - doc/makedox.bat - - NEWS - - make distcheck - make doc-dist - scp cppunit*tar.gz <account>@cppunit.sourceforge.net: - - -* ftp the files to sourceforge; did this from the sourceforge - shell account because my home machine is masqueraded (a.k.a. NATed) - - ftp upload - cd incoming - mput cppunit*tar.gz - - -* go through the file release process: select "Admin", then - "Edit/Add File Releases" - - name of release is version number - - make take 30 minutes to show up on downloads page - - -* update web pages; this is done on cppunit.sourceforge.net - - cd /home/groups/c/cp/cppunit - mv htdocs htdocs-$(oldversion) - mkdir htdocs - cd htdocs - tar xzf ~/cppunit-docs-$(newversion).tar.gz - - -* tag the CVS sources for release x.y.z - - cvs tag REL_x_y_z - - -* bump the version in configure.in and commit the change diff --git a/devtools/cvs-ignore-update.py b/devtools/cvs-ignore-update.py deleted file mode 100644 index 335f6f7..0000000 --- a/devtools/cvs-ignore-update.py +++ /dev/null @@ -1,43 +0,0 @@ -# Explore directory recursively and append the specified line -# to all .cvsignore. -# put together by a newbie to python, use at your own risk! - -import os - -def addEOL( line ): - if len(line) > 0: - line = line.rstrip( '\n\r' ) + '\n' - return line - -def listFiles( dummy, dirName, fileNames ): - print "* Content of directory: ", os.path.abspath(dirName), ":" - for file in fileNames: - print file - -def updateCVSIgnore( linesToAdd, cvsignorePath ): - fread = file( cvsignorePath, 'r' ) - lines = fread.readlines() - fread.close() - - lines.extend( linesToAdd ) - lines = [addEOL(line) for line in lines] - - fwrite = file( cvsignorePath, 'w+' ) - fwrite.writelines( lines ) - fwrite.close() - print 'Updated: ', cvsignorePath - -def listCVSIgnore( linesToAdd, dirName, fileNames ): - print "Exploring: ", os.path.abspath( dirName ) - if ( fileNames.count( 'CVS' ) > 0 ): - fileNames.remove( 'CVS' ) - if ( fileNames.count( '.cvsignore' ) > 0 ): - cvsignorePath = os.path.join( dirName, '.cvsignore' ) - updateCVSIgnore( linesToAdd, os.path.abspath( cvsignorePath ) ) - -#if __name__ == '__main__': -# os.path.walk(sys.argv[1], lister, None) # dir name in cmdline - -lines = [ 'SunWS_cache', 'ir.out' ] - -os.path.walk( ".", listCVSIgnore, lines ) diff --git a/devtools/cvs-root-update.py b/devtools/cvs-root-update.py deleted file mode 100644 index 0edbc18..0000000 --- a/devtools/cvs-root-update.py +++ /dev/null @@ -1,17 +0,0 @@ -# Explore directory recursively and replace cvs root for access by the specified developper. -# Put together by a newbie to python, use at your own risk! - -import os -import sys - -def updateCVSRoot( developper, dirName, fileNames ): - print "Exploring: ", os.path.abspath( dirName ) - if ( fileNames.count( 'Root' ) > 0 ) and os.path.basename(dirName) == 'CVS': - cvsroot_path = os.path.join( dirName, 'Root' ) - new_root = ':ext:%s@cppunit.cvs.sourceforge.net:/cvsroot/cppunit' % developper - file( cvsroot_path, 'wt' ).write( new_root ) - print 'Updated:', cvsroot_path - -if __name__ == '__main__': - developper = sys.argv[1] - os.path.walk( ".", updateCVSRoot, developper ) diff --git a/devtools/prepare-cvs.sh b/devtools/prepare-cvs.sh deleted file mode 100755 index a42bd0a..0000000 --- a/devtools/prepare-cvs.sh +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -set -e - -perl -pi -e 's/\n/\r\n/g' `find $1 -name '*.ds?'` \ - $1/contrib/msvc/* \ - $1/INSTALL-WIN32.txt - -(cd $1 && rm -rf `find . -name CVS`) - -tar cf $1.tar $1 -gzip -9 $1.tar |