debian/0000755000000000000000000000000011704542571007174 5ustar debian/examples/0000755000000000000000000000000011704542571011012 5ustar debian/examples/trac-bitten-slave.upstart0000644000000000000000000000054411677032075015767 0ustar description "Trac Bitten Slave" author "debacle@debian.org" start on stopped rc RUNLEVEL=[2345] stop on runlevel [!2345] script . /etc/default/trac-bitten-slave [ -n "$URLS" ] || exit 0 exec sudo -u trac-bitten-slave /usr/bin/bitten-slave $DAEMON_ARGS $URLS end script respawn ## print all output to console (for debugging) #console output debian/examples/trac-bitten-slave.init0000644000000000000000000000412011677032075015222 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: bitten-slave # required-start: $all # required-stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: starts trac's bitten-slave # Description: starts trac's bitten-slave using start-stop-daemon ### END INIT INFO # this script is a modified version of # http://bitten.edgewall.org/wiki/BittenSlaveDaemonUbuntu PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Trac Bitten Slave" NAME=trac-bitten-slave DAEMON=/usr/bin/bitten-slave PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME USER=trac-bitten-slave # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME [ -n "$URLS" ] || exit 0 # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. . /lib/lsb/init-functions # # Function that starts the daemon/service # do_start() { start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE --exec $DAEMON --chuid "$USER" -- $DAEMON_ARGS $URLS } # # Function that stops the daemon/service # do_stop() { start-stop-daemon --stop --quiet --pidfile $PIDFILE --oknodo --retry 5 RETVAL="$?" rm -f $PIDFILE return "$RETVAL" } case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" do_start case "$?" in 0|1) log_end_msg 0 ;; 2) log_end_msg 1 ;; esac ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) log_end_msg 0 ;; 2) log_end_msg 1 ;; esac ;; restart|force-reload) # # If the "reload" option is implemented then remove the # 'force-reload' alias # log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 exit 3 ;; esac debian/examples/trac-bitten-slave.default0000644000000000000000000000072411677032075015711 0ustar # -*- sh -*- # Don't start the daemon by default. # To run it, set the URLs parameter to one or more URLs. # Alternatively, one can run the bitten-slave from crond or from an # SVN post-commit hook. # Run `/usr/bin/bitten-slave --help' for further options. DAEMON_ARGS="--config=/etc/bitten/slave.ini --interval=15" # Set one or more space separated URLs (with double quotes), such as # "https://trac.srv1.org/prj1/builds https://trac.srv2.org/prj2/builds" URLS="" debian/trac-bitten-slave.install0000644000000000000000000000056011702062135014100 0ustar Bitten*.egg-info/ usr/share/pyshared/ bitten-slave.1 usr/share/man/man1/ bitten/build/ usr/share/pyshared/bitten/ bitten/util/ usr/share/pyshared/bitten/ bitten/__init__.py usr/share/pyshared/bitten/ bitten/recipe.py usr/share/pyshared/bitten/ bitten/slave.py usr/share/pyshared/bitten/ usr/bin/bitten-slave /usr/bin/ debian/examples/ usr/share/doc/trac-bitten-slave/ debian/source/0000755000000000000000000000000011704542571010474 5ustar debian/source/format0000644000000000000000000000001411677032075011704 0ustar 3.0 (quilt) debian/trac-bitten.install0000644000000000000000000000100711702062135012765 0ustar bitten/htdocs/ usr/share/pyshared/bitten/ bitten/report/ usr/share/pyshared/bitten/ bitten/templates/ usr/share/pyshared/bitten/ bitten/admin.py usr/share/pyshared/bitten/ bitten/api.py usr/share/pyshared/bitten/ bitten/main.py usr/share/pyshared/bitten/ bitten/master.py usr/share/pyshared/bitten/ bitten/model.py usr/share/pyshared/bitten/ bitten/notify.py usr/share/pyshared/bitten/ bitten/queue.py usr/share/pyshared/bitten/ bitten/upgrades.py usr/share/pyshared/bitten/ bitten/web_ui.py usr/share/pyshared/bitten/ debian/compat0000644000000000000000000000000211266077045010374 0ustar 7 debian/copyright0000644000000000000000000000375411651371536011142 0ustar This package was debianized by: W. Martin Borgert on Fri, 16 Oct 2009 12:28:03 +0000 It was downloaded from: http://bitten.edgewall.org/wiki/Download Upstream Author: Edgewall Software Copyright: © 2004-2005 maani.us © 2005-2007 Christopher Lenz © 2005-2009 Edgewall Software © 2006, 2008 Matthew Good © 2007 Jeffrey Kyllo © 2007 Ole Trenner © 2007 Wei Zhuo © 2009 Grzegorz Sobanski © 2007-2010 Edgewall Software License: All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted 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. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. debian/watch0000644000000000000000000000014211647661604010227 0ustar version=3 opts=uversionmangle=s/$/+final/ \ http://ftp.edgewall.com/pub/bitten/Bitten-(.*).tar.gz debian/changelog0000644000000000000000000000420311704542563011046 0ustar trac-bitten (0.6+final-3) unstable; urgency=low * Add breaks/replaces in trac-bitten-slave (Closes: #655958). -- W. Martin Borgert Sun, 15 Jan 2012 12:21:50 +0000 trac-bitten (0.6+final-2) unstable; urgency=low * Lintian and piuparts fixes. Don't create trac-bitten-slave user anymore. -- W. Martin Borgert Sat, 07 Jan 2012 15:32:07 +0000 trac-bitten (0.6+final-1) unstable; urgency=low * New upstream version (Closes: #633918). * Bump standards to 3.9.2. No changes. * Make separate packages for master and slave (Closes: #575127). * Add init and upstart scripts for slave, but only as example for the moment (Closes: #595153). * Get rid of python-support. Use dh instead of CDBS. [ anatoly techtonik ] * New upstream version. * Dropped dfsg version prefix as there are no non-free SWF files anymore. * debian/control: - Build-Depends on python-all instead of python-dev-all (fixes lintian build-depends-on-python-dev-with-no-arch-any) - Remove deprecated X[SB]-Python-Version * debian/pycompat: Dropped. * debian/watch: Added. -- W. Martin Borgert Wed, 12 Oct 2011 09:46:45 +0000 trac-bitten (0.6b2.dfsg-3) unstable; urgency=low [ Jakub Wilk ] * Replace deprecated > operator with >=. -- W. Martin Borgert Mon, 08 Feb 2010 23:14:50 +0000 trac-bitten (0.6b2.dfsg-2) unstable; urgency=low * Changed erroneous target in debian/rules (Closes: #564405). -- W. Martin Borgert Mon, 08 Feb 2010 23:04:41 +0000 trac-bitten (0.6b2.dfsg-1) unstable; urgency=low * Removed (non-free) SWF files from source. (Fortunately, I'm not aware of people using Bittens charting feature.) * Changed man page license from GPL2 to BSD for compatibility. -- W. Martin Borgert Wed, 28 Oct 2009 09:49:28 +0000 trac-bitten (0.6b2-1) unstable; urgency=low * First Debian package (Closes: #489774). * The debian/copyright should now contain all copyright holders. -- W. Martin Borgert Sat, 17 Oct 2009 22:45:45 +0000 debian/control0000644000000000000000000000355411704542265010606 0ustar Source: trac-bitten Section: web Priority: optional Build-Depends: python-all (>= 2.6.6-3~), python-setuptools, debhelper (>= 7.0.50~), xsltproc, docbook-xsl Maintainer: Python Applications Packaging Team Uploaders: W. Martin Borgert Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/trac-bitten/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/trac-bitten/trunk/ Homepage: http://bitten.edgewall.org/ Package: trac-bitten Architecture: all Depends: ${python:Depends}, ${misc:Depends}, trac, trac-bitten-slave, python-pkg-resources, libjs-flot, libjs-excanvas Description: continuous integration plugin for Trac Bitten is a Trac extension for continuous integration. It uses a distributed build model, where one or more "slaves" run the actual tests, and a "master" gathers the results and displays them nicely on a web page. . Bitten is similar to BuildBot, Gump, Hudson, Jenkins, or Tinderbox, but integrated well into Trac. . This package contains the master, implemented as Trac plugin. Package: trac-bitten-slave Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources Suggests: adduser Replaces: trac-bitten (<< 0.6+final-1) Breaks: trac-bitten (<< 0.6+final-1) Description: continuous integration plugin for Trac Bitten is a Trac extension for continuous integration. It uses a distributed build model, where one or more "slaves" run the actual tests, and a "master" gathers the results and displays them nicely on a web page. . Bitten is similar to BuildBot, Gump, Hudson, Jenkins, or Tinderbox, but integrated well into Trac. . This package contains the slave, which performs the actual build. It is recommended to run the slave on behalf of a non-privileged user. You may run the slave from e.g. from cron or as a daemon. debian/bitten-slave.dbk0000644000000000000000000000630711646613564012267 0ustar
debacle@debian.org
W. Martin Borgert 2009 W. Martin Borgert 2009-10-16
bitten-slave 1 bitten-slave User Commands bitten-slave Performs a build and sends result to the Bitten master. bitten-slave URL URLs Description bitten-slave performs a continuous integration build and reports the result back to the bitten-master. Run bitten-slave --help for details. Copyright Copyright 2009 W. Martin Borgert. Redistribution and use in source and binary forms, with or without modification, are permitted under the terms of the BSD License.
debian/rules0000755000000000000000000000206511651371536010261 0ustar #!/usr/bin/make -f DEB_INSTALL_MANPAGES_trac-bitten=bitten-slave.1 DB2MAN=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl XP=xsltproc --nonet --novalid export DH_VERBOSE=1 %: dh $@ --with python2 --buildsystem=python_distutils override_dh_install: $(DEB_INSTALL_MANPAGES_trac-bitten) dh_install --buildsystem=python_distutils # don't use embedded copies, use Debian packages instead rm $(CURDIR)/debian/trac-bitten/usr/share/pyshared/bitten/htdocs/jquery.flot.js rm $(CURDIR)/debian/trac-bitten/usr/share/pyshared/bitten/htdocs/excanvas.js # we don't need unit tests at run-time rm -r $(CURDIR)/debian/trac-bitten/usr/share/pyshared/bitten/*/tests/ rm -r $(CURDIR)/debian/trac-bitten-slave/usr/share/pyshared/bitten/*/tests/ # no x bits for HTML and PNG, nor .py chmod 644 `find $(CURDIR)/debian/trac-bitten/usr/share/ -name '*.html' -o -name '*.png'` chmod 644 `find $(CURDIR)/debian/trac-bitten-slave/usr/share/ -name '*.py'` %.1: debian/%.dbk $(XP) $(DB2MAN) $< override_dh_clean: dh_clean rm -f $(DEB_INSTALL_MANPAGES_trac-bitten)