debian/0000755000000000000000000000000011671174155007176 5ustar debian/python-rbtools.manpages0000644000000000000000000000002511425040117013676 0ustar debian/post-review.1 debian/changelog0000644000000000000000000000105611671174114011045 0ustar rbtools (0.3.4-1) unstable; urgency=low [ Blair Zajac ] * New upstream release. Closes: #613669. * debian/watch: update URL to watch 0.3.x line. * debian/patches: delete since upstream fixed missing files from 0.2 tarball. [ Tzafrir Cohen ] * Switch to dh_python2. * Change section to 'devel' (Closes: #613769). -- Tzafrir Cohen Sun, 11 Dec 2011 19:31:37 +0200 rbtools (0.2-1) unstable; urgency=low * Initial release. (Closes: #573485) -- Tzafrir Cohen Sat, 31 Jul 2010 18:31:05 +0300 debian/watch0000644000000000000000000000022511671040050010210 0ustar version=3 opts="dversionmangle=s/~rc/rc/,uversionmangle=s/rc/~rc/" \ http://downloads.reviewboard.org/releases/RBTools/0.3/ RBTools-(.*)\.tar\.gz debian/post-review.10000644000000000000000000001471011425040117011532 0ustar .mso www.tmac .TH POST-REVIEW "1" "March 2010" "post-review 0.8" "User Commands" .SH NAME post-review \- post/update reviews to Review Board .SH SYNOPSIS .B post-review [\fI\-pond\fR] [\fI\-r review_id\fR] [\fIchangenum\fR] .SH OPTIONS .SS Review Request Options \fB\-p\fR, \fB\-\-publish\fR publish the review request immediately after submitting .TP \fB\-r\fR ID, \fB\-\-review\-request\-id\fR=\fIID\fR existing review request ID to update .TP \fB\-\-revision\-range\fR=\fIREVISION_RANGE\fR generate the diff for review based on given revision range .SS Server Options \fB\-\-server\fR=\fISERVER\fR specify a different Review Board server to use .TP \fB\-\-submit\-as\fR=\fIUSERNAME\fR user name to be recorded as the author of the review request, instead of the logged in user .TP \fB\-\-username\fR=\fIUSERNAME\fR user name to be supplied to the reviewboard server .TP \fB\-\-password\fR=\fIPASSWORD\fR password to be supplied to the reviewboard server .SS Basic Options \fB\-\-version\fR show program's version number and exit .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-o\fR, \fB\-\-open\fR open a web browser to the review request page .TP \fB\-n\fR, \fB\-\-output\-diff\fR outputs a diff to the console and exits. Does not post .SS Field Defaults Options \fB\-\-target\-groups\fR=\fITARGET_GROUPS\fR names of the groups who will perform the review .TP \fB\-\-target\-people\fR=\fITARGET_PEOPLE\fR names of the people who will perform the review .TP \fB\-\-summary\fR=\fISUMMARY\fR summary of the review .TP \fB\-\-description\fR=\fIDESCRIPTION\fR description of the review .TP \fB\-\-description\-file\fR=\fIDESCRIPTION_FILE\fR text file containing a description of the review .TP \fB\-\-testing\-done\fR=\fITESTING_DONE\fR details of testing done .TP \fB\-\-testing\-done\-file\fR=\fITESTING_FILE\fR text file containing details of testing done .TP \fB\-\-branch\fR=\fIBRANCH\fR affected branch .TP \fB\-\-bugs\-closed\fR=\fIBUGS_CLOSED\fR list of bugs closed .TP \fB\-\-change\-only\fR updates info from changelist, but does not upload a new diff (only available if your repository supports changesets) .TP \fB\-\-tracking\-branch\fR=\fITRACKING\fR Tracking branch from which your branch is derived (git only, defaults to origin/master) .TP \fB\-\-p4\-client\fR=\fIP4_CLIENT\fR the Perforce client name that the review is in .TP \fB\-\-p4\-port\fR=\fIP4_PORT\fR the Perforce servers IP address that the review is on .TP \fB\-d\fR, \fB\-\-debug\fR display debug output .TP \fB\-\-diff\-filename\fR=\fIDIFF_FILENAME\fR upload an existing diff file, instead of generating a new diff .SS Git Options \fB\-\-guess\-summary\fR guess summary from the latest commit (git/hgsubversion only) .TP \fB\-\-guess\-description\fR guess description based on commits on this branch (git/hgsubversion only) .SS Git and Mercurial Options \fB\-\-parent\fR=\fIPARENT_BRANCH\fR the parent branch this diff should be against (only available if your repository supports parent diffs) .SS Subversion Options \fB\-\-repository\-url\fR=\fIREPOSITORY_URL\fR the url for a repository for creating a diff outside of a working copy (currently only supported by Subversion). Requires either \fB\-\-revision\-rangeor\fR \fB\-\-diff\-filename\fR options .SS Perforce Options \fB\-\-diff\-only\fR uploads a new diff, but does not update info from changelist .SS ClearCase Options \fB\-\-label\fR=\fILABEL\fR Specifies the label used for ClearCase. .SH DESCRIPTION .B post-review is intended to post a review from a local repository to the Review Board server, or update such an existing review. It works differently with different version-control systems. For CVS and Subversion, the review to post is the uncommited change in a working copy. With distributed VC systems (currently Git and Mercurial are supported), the review is a topic branch. Posting it is, technically, pushing it to the repository at the Review Board server. PerForce and ClearCase also seem to be supported but the author of this page fails to understand the details. Refer to undocumented(7) for more information on using them with this program. [A more detaild description can help] .SH CONFIGURATION .B post-review needs to be told of the address of the server to post to. This can come from several possible places: .B GIT property reviewboard.url .RS For example, the following command will set a repository-specific property: .EX git config \-\-add reviewboard.url http://reviewboard.example.com .EE Refer to git\-config(1) for the full details. .RE .B Subversion Property reviewboard:url .RS The subversion property reviewboard:url may be set on the top-level directory. .EX svn propset reviewboard:url http://reviewboard.example.com . .EE .RE .B Perforce Counters .RS Rumour has it they exist and can even help in the configuration here. .RE .B .reviewboardrc .B $HOME/.reviewboardrc .RS The file .reviewboardrc can exist in either the top-level directory of the project or under the user's top-level directory. This file uses python syntax for assignments. It has two optionalmethods of defining the repository URL: .B REVIEWBOARD_URL .RS A simple variable pointing to the server: .EX REVIEWBOARD_URL = "http://reviewboard.example.com" .EE .RE .B TREES .RS A directionary of subversion repositories to REVIEWBOARD_URL-s: .EX TREES = { 'http://svn.example.com': { 'REVIEWBOARD_URL': 'http://rb.example.com', }, 'username@cvs.example.com:/cvsroot/cvs': { 'REVIEWBOARD_URL': 'http://rb.example.com', }, } .EE .RE .SH EXAMPLES post a new review from a working subversion copy: .EX post\-review .EE This generates a new draft review. Refer to the "Field Defaults" options above to set non-empty values to some fields in the review. Alternatively set them later through the web interface. Update that review, assuming its review number is 17: post\-review \-r 17 To post a review from a your GIT feature branch: .EX git checkout \-b new\-feature main\-branch emacs \-f butterfly '.......' # or ed git commit post\-review .EE [That said, I can't really follow the documentation as to how post-review works on git/hg: how does it post the last diff only?] This does not create a new diff. Rather, it updates the existing one. In the following two examples, the review was not published. .SH AUTHOR .B post-review was written by Christian Hammond and David Trowbridge. This man page was written by Tzafrir Cohen . .SH SEE ALSO .URL "http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/" "On-Line Documentation" debian/source/0000755000000000000000000000000011425040117010461 5ustar debian/source/format0000644000000000000000000000001411425040117011667 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211425040117010357 0ustar 7 debian/clean0000644000000000000000000000023611425040117010167 0ustar RBTools.egg-info/dependency_links.txt RBTools.egg-info/entry_points.txt RBTools.egg-info/PKG-INFO RBTools.egg-info/SOURCES.txt RBTools.egg-info/top_level.txt debian/control0000644000000000000000000000141711671174114010577 0ustar Source: rbtools Section: devel Priority: optional Maintainer: Tzafrir Cohen Build-Depends: debhelper (>= 7), python (>= 2.6.6-3~), python-setuptools Standards-Version: 3.9.2 Homepage: http://www.reviewboard.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/rbtools.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/rbtools.git Package: python-rbtools Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources Provides: ${python:Provides} Description: command-line client-side script for Review Board collection of command-line tools for use with the Review Board code review system. . At the moment it only includes the script post-review, which is intended for posting / updating reviews from the command-line. debian/rules0000755000000000000000000000005511671174114010251 0ustar #!/usr/bin/make -f %: dh $@ --with python2 debian/copyright0000644000000000000000000000244511671040050011120 0ustar Source: http://downloads.reviewboard.org/releases/RBTools/ Original COPYRIGHT file: Copyright (c) 2007-2010 Christian Hammond Copyright (c) 2007-2010 David Trowbridge Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Debian packaging: debian/* Copyright (C) 2010-2011 Tzafrir Cohen License: same as the above.