From ca011207c7e8590c1d38cb9a8e1606efb5d212cf Mon Sep 17 00:00:00 2001 From: Daniel Holbach Date: Fri, 7 Sep 2007 14:21:20 +0200 Subject: [PATCH] * revuput: added a tool to upload packages to PPA and file sponsoring bugs automatically. * doc/revuput.1.docbook, debian/control, debian/rules: build manpage for it from DocBook. * setup.py: install it. --- debian/changelog | 10 +++ debian/control | 1 + debian/rules | 6 ++ doc/revuput.1.docbook | 145 ++++++++++++++++++++++++++++++++++++++++++ setup.py | 21 +++--- 5 files changed, 173 insertions(+), 10 deletions(-) create mode 100644 doc/revuput.1.docbook diff --git a/debian/changelog b/debian/changelog index d55bbde..2a8bec2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +ubuntu-dev-tools (0.4) UNRELEASED; urgency=low + + * revuput: added a tool to upload packages to PPA and file sponsoring bugs + automatically. + * doc/revuput.1.docbook, debian/control, debian/rules: build manpage for it + from DocBook. + * setup.py: install it. + + -- Daniel Holbach Fri, 07 Sep 2007 14:14:57 +0200 + ubuntu-dev-tools (0.3) gutsy; urgency=low * debian/copyright: added Canonical copyright. diff --git a/debian/control b/debian/control index ea4804f..c30dc76 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Maintainer: Ubuntu MOTU Developers XS-Vcs-Bzr: https://launchpad.net/ubuntu-dev-tools/ XS-Vcs-Browser: http://codebrowse.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk/changes Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5), python-central (>= 0.5), python-all-dev (>= 2.4) +Build-Depends-Indep: docbook2x XS-Python-Version: all Standards-Version: 3.7.2 diff --git a/debian/rules b/debian/rules index 7ed7af5..12b64ce 100755 --- a/debian/rules +++ b/debian/rules @@ -6,3 +6,9 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk DEB_INSTALL_MANPAGES_ubuntu-dev-tools = doc/*.1 + +build/ubuntu-dev-tools:: + docbook2x-man doc/revuput.1.docbook; mv revuput.1 doc + +clean:: + rm -f doc/revuput.1 diff --git a/doc/revuput.1.docbook b/doc/revuput.1.docbook new file mode 100644 index 0000000..0795bfb --- /dev/null +++ b/doc/revuput.1.docbook @@ -0,0 +1,145 @@ + + + + + + Daniel + Holbach + daniel.holbach@ubuntu.com + + + 2007 + Daniel Holbach + + + + 2007-09-07 + + + + revuput + 1 + + + revuput + A tool for uploading packages for sponsorship + + + + revuput + + + + + + + + + + + + + PREREQUISITES + + To use this tool, you will need to set up your PPA in Launchpad and + therefore carefully follow the instructions in the PPA documentation. + + + Also you need to copy your Launchpad cookie to + ~/.lpcookie. Firefox uses + ~/.mozilla/firefox/<random>cookies.txt, + Epiphany uses + ~/.gnome2/epiphany/mozilla/epiphany/cookies.txt. + + + + OVERVIEW + + This tool aims to help with the sponsoring + process and is written by the MOTU team. + + + This tool will 1) build a source package of the current source tree + you're in, 2) upload the package to <dput + location> (using 'default' if not specified), 3) follow up on the bug + report (if specified in debian/changelog as per the + changelog + spec), 4) set the right status and subscribe the right people to + the bug report. + + + If you use the option, it + will also 1) file a bug and add 2) a (LP: #.....) header to the source + package. + + + The + sponsoring process was complicated enough and package uploads + were done to either Malone, + REVU or personal web servers. This tool aims + to unify processes and make use of existing infrastructure such as + Launchpad Bugs (Malone) and + Launchpad PPA. + In September 2007, Daniel Holbach started working on this tool. + + + + DESCRIPTION + + This tool has lists of known strings for a given package that + it searches for in bug reports (even in the attachments uploaded), + thus helping to find duplicates, related bugs and other information, + but mainly making bug triagers job a lot easier. + + + + OPTIONS + + These are all the options available so far: + + + + revuput options: + + + files a new bug report and adds it's number to + debian/changelog + + + + + specifies the location you upload the source package + to according to the alias you specified in either + /etc/dput.cf or + ~/.dput.cf + + + + will be passed to debuild + during source package creation + + + + + + + COPYRIGHT + + This manual page was written by the MOTU team for the + revutool bug tracking system. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License, + Version 3 or any later version published by the Free Software Foundation. + + + On Debian systems (like Ubuntu), the complete text of the + GNU General Public License can be found in + /usr/share/common-licenses/GPL-3. + + + diff --git a/setup.py b/setup.py index c723d0d..cd7904f 100755 --- a/setup.py +++ b/setup.py @@ -16,15 +16,16 @@ if os.path.exists(changelog): setup(name='ubuntu-dev-tools', version=version, scripts=['404main', - 'check-symbols', - 'get-branches', - 'pbuilder-dist', - 'update-maintainer', - 'dch-repeat', - 'mk-sbuild-lv', - 'pull-debian-debdiff', - 'what-patch', - 'suspicious-source', - ], + 'check-symbols', + 'get-branches', + 'pbuilder-dist', + 'update-maintainer', + 'dch-repeat', + 'mk-sbuild-lv', + 'pull-debian-debdiff', + 'what-patch', + 'suspicious-source', + 'revuput' + ], )