r5 - 13 Jul 2007 - 15:27:13 - MimiYinYou are here: OSAF >  Projects Web  >  ChandlerDesktopSource > BuildingChandlerDesktop > UpdatingTwisted

How to Update Twisted

  • Get the desired snapshot from subversion:

svn co -r11303 svn://svn.twistedmatrix.com/svn/Twisted/trunk Twisted-r11303

Subversion 1.0.5 client may be built from the tarball at http://downloads.osafoundation.org/compilers/osx/svn-1.0.5.tar.gz ; look in the file subversion-1.0.5/config.log to see the configure parameters I used on Mac OS X.

  • Create the tar archive ("tarball") for the build:

tar --exclude=doc --exclude=sandbox --exclude=.svn -czvf Twisted-r11303.tar.gz Twisted-r11303

  • Modify the patches file if necessary: a. copy existing patch file, rename it to new version number. cp patches-r11245 patches-r11303 b. edit the patch file to change the directory paths so they match the new version

  • Modify external/Makefile so that twisted/Twisted-XXXXXX.tar.gz has the new version number and the master version number at the top of the file is one higher than the previous

  • Run "make sources" in external to generate the correct sources-<new-version>.tar and upload sources-<new-version>.tar to oahu

  • Using an account on the build machines, generate a new debug-<new-version>.tar.gz and release-<new-version>.tar.gz for each platform: (in external) make DEBUG=1 expand build binaries upload make build binaries upload

  • Test the new binaries package on each platform: make a new test directory (test-<new-version>) cd test-<new-version> cvs co chandler-python (edit (tt>chandler/Makefile so that ARCHIVES=../$(SNAP)-<version>.tar.gz matches) make DEBUG=1 install;make install ../hardhat/hardhat.py -vt ../hardhat/hardhat.py -vdt

  • Checkin the new external/Makefile, external/twisted/Makefile and external/twisted/patches-<new-version>

  • Checkin chandler/Makefile with new version for ARCHIVES
-- MarkJaffe - 19 Aug 2004
PageInfo
PageType DevDocPage
MaintainedBy HeikkiToivonen
PageStatus Source of truth -- this page reflects current OSAF thinking? go.png
Trash.CommentsWelcome2 Feel free to contribute comments?, either by adding to the Comments Welcome section of this page, or by posting to the dev list, or by sending mail directly to the person listed as maintaining the page.
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.