[Buildbot-commits] buildbot README.w32,NONE,1.1 NEWS,1.40,1.41 MANIFEST.in,1.16,1.17 ChangeLog,1.404,1.405

Brian Warner warner at users.sourceforge.net
Thu Apr 28 07:57:31 UTC 2005


Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14423

Modified Files:
	NEWS MANIFEST.in ChangeLog 
Added Files:
	README.w32 
Log Message:
* buildbot/__init__.py (version): Releasing buildbot-0.6.4

* debian/changelog: update for 0.6.4

* README.w32: add a checklist of steps for getting buildbot running on windows.
* MANIFEST.in: include it in the tarball

* NEWS: update


Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.404
retrieving revision 1.405
diff -u -d -r1.404 -r1.405
--- ChangeLog	28 Apr 2005 07:34:29 -0000	1.404
+++ ChangeLog	28 Apr 2005 07:57:28 -0000	1.405
@@ -1,5 +1,17 @@
 2005-04-28  Brian Warner  <warner at lothar.com>
 
+	* buildbot/__init__.py (version): Releasing buildbot-0.6.4
+
+	* debian/changelog: update for 0.6.4
+
+2005-04-28  Brian Warner  <warner at lothar.com>
+
+	* README.w32: add a checklist of steps for getting buildbot
+	running on windows.
+	* MANIFEST.in: include it in the tarball
+
+	* NEWS: update
+
 	* buildbot/master.py (BuildMaster.upgradeToVersion3): deal with
 	broken .tap files from 0.6.3 by getting rid of .services,
 	.namedServices, and .change_svc at load time.

Index: MANIFEST.in
===================================================================
RCS file: /cvsroot/buildbot/buildbot/MANIFEST.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- MANIFEST.in	26 Apr 2005 03:14:15 -0000	1.16
+++ MANIFEST.in	28 Apr 2005 07:57:28 -0000	1.17
@@ -1,5 +1,5 @@
 
-include ChangeLog MANIFEST.in README NEWS
+include ChangeLog MANIFEST.in README README.w32 NEWS
 include docs/PyCon-2003/buildbot.html docs/PyCon-2003/stylesheet.css
 include docs/PyCon-2003/overview.png docs/PyCon-2003/slave.png
 include docs/PyCon-2003/waterfall.png

Index: NEWS
===================================================================
RCS file: /cvsroot/buildbot/buildbot/NEWS,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- NEWS	28 Apr 2005 00:51:01 -0000	1.40
+++ NEWS	28 Apr 2005 07:57:28 -0000	1.41
@@ -1,6 +1,6 @@
 User visible changes in Buildbot.
 
-* Release 0.6.4 (XX)
+* Release 0.6.4 (28 Apr 2005)
 
 ** major bugs fixed
 
@@ -60,6 +60,7 @@
 docs/images/ should you care to play with it).
 
 
+
 * Release 0.6.3 (25 Apr 2005)
 
 ** 'buildbot' tool gets more uses

--- NEW FILE: README.w32 ---
Several users have reported success in running a buildslave under Windows.
The following list of steps might help you accomplish the same. They are a
list of what I did as a unix guy struggling to make a winXP box run the
buildbot unit tests. When I was done, most of the unit tests passed.

If you discover things that are missing or incorrect, please send your
corrections to the buildbot-devel mailing list (archives and subscription
information are available at http://buildbot.sourceforge.net).

Many thanks to Mike "Bear" Taylor for developing this list.


0. Check to make sure your PATHEXT environment variable has ";.PY" in 
it -- if not set your global environment to include it.

 Control Panels / System / Advanced / Environment Variables / System variables

1. Install python -- 2.4 -- http://python.org
	* run win32 installer - no special options needed so far

2. install zope interface package -- 3.0.1final -- 
http://www.zope.org/Products/ZopeInterface
	* run win32 installer - it should auto-detect your python 2.4
          installation

3. python for windows extensions -- build 203 -- 
http://pywin32.sourceforge.net/
	* run win32 installer - it should auto-detect your python 2.4 
          installation

 the installer complains about a missing DLL. Download mfc71.dll from the
 site mentioned in the warning
 (http://starship.python.net/crew/mhammond/win32/) and move it into
 c:\Python24\DLLs

4. at this point, to preserve my own sanity, I grabbed cygwin.com's setup.exe
   and started it. It behaves a lot like dselect. I installed bash and other
   tools (but *not* python). I added C:\cygwin\bin to PATH, allowing me to
   use tar, md5sum, cvs, all the usual stuff. I also installed emacs, going
   from the notes at http://www.gnu.org/software/emacs/windows/ntemacs.html .
   Their FAQ at http://www.gnu.org/software/emacs/windows/faq3.html#install
   has a note on how to swap CapsLock and Control.

 I also modified PATH (in the same place as PATHEXT) to include C:\Python24
 and C:\Python24\Scripts . This will allow 'python' and (eventually) 'trial'
 to work in a regular command shell.

5. twisted -- 2.0 -- http://twistedmatrix.com/projects/core/
	* unpack tarball and run
		python setup.py install
	Note: if you want to test your setup - run:
		python c:\python24\Scripts\trial.py -o -R twisted
	(the -o will format the output for console and the "-R twisted" will 
         recursively run all unit tests)

 I had to edit Twisted (core)'s setup.py, to make detectExtensions() return
 an empty list before running builder._compile_helper(). Apparently the test
 it uses to detect if the (optional) C modules can be compiled causes the
 install process to simply quit without actually installing anything.

 I installed several packages: core, Lore, Mail, Web, and Words. They all got
 copied to C:\Python24\Lib\site-packages\

 At this point

   trial --version

 works, so 'trial -o -R twisted' will run the Twisted test suite. Note that
 this is not necessarily setting PYTHONPATH, so it may be running the test
 suite that was installed, not the one in the current directory.

6. I used CVS to grab a copy of the latest Buildbot sources. To run the
   tests, you must first add the buildbot directory to PYTHONPATH. Windows
   does not appear to have a Bourne-shell-style syntax to set a variable just
   for a single command, so you have to set it once and remember it will
   affect all commands for the lifetime of that shell session.

  set PYTHONPATH=.
  trial -o -r win32 buildbot.test

 To run against both buildbot-CVS and, say, Twisted-SVN, do:

  set PYTHONPATH=.;C:\path to\Twisted-SVN


All commands are done using the normal cmd.exe command shell. As of
buildbot-0.6.4, only one unit test fails (test_webPathname_port) when you run
under the 'win32' reactor. (if you run under the default reactor, many of the
child-process-spawning commands fail, but test_webPathname_port passes. go
figure.)

Actually setting up a buildslave is not yet covered by this document. Patches
gladly accepted.

 -Brian





More information about the Commits mailing list