From owner-svn-ports-head@FreeBSD.ORG Wed Jun 18 20:18:34 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A79B4961; Wed, 18 Jun 2014 20:18:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C4942C2E; Wed, 18 Jun 2014 20:18:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5IKIYkm045383; Wed, 18 Jun 2014 20:18:34 GMT (envelope-from sbz@svn.freebsd.org) Received: (from sbz@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5IKIYMX045381; Wed, 18 Jun 2014 20:18:34 GMT (envelope-from sbz@svn.freebsd.org) Message-Id: <201406182018.s5IKIYMX045381@svn.freebsd.org> From: Sofian Brabez Date: Wed, 18 Jun 2014 20:18:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358313 - head/Tools/scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2014 20:18:34 -0000 Author: sbz Date: Wed Jun 18 20:18:33 2014 New Revision: 358313 URL: http://svnweb.freebsd.org/changeset/ports/358313 QAT: https://qat.redports.org/buildarchive/r358313/ Log: - Switch to bugzilla as default value for the mode CR: D235 Submitted by: rakuco Modified: head/Tools/scripts/README.getpatch head/Tools/scripts/getpatch Modified: head/Tools/scripts/README.getpatch ============================================================================== --- head/Tools/scripts/README.getpatch Wed Jun 18 20:18:11 2014 (r358312) +++ head/Tools/scripts/README.getpatch Wed Jun 18 20:18:33 2014 (r358313) @@ -37,15 +37,15 @@ EXAMPLES getpatch --mode gnats ports/166692 - or + Retrieve all patches attached to PR ports/166692 from Bugzilla BTS: - getpatch 166692 + getpatch --mode bz ports/166692 - Gnats is the default BTS and category isn't mandatory. + or - Retrieve all patches attached to PR ports/166692 from Bugzilla BTS: + getpatch 166692 - getpatch --mode bz ports/166692 + Bugzilla is the default BTS and category isn't mandatory. Retrieve only the latest iteration of the patch: @@ -82,4 +82,4 @@ BUGS If you're using getpatch and you encounter a bug or want an improvement don't hesitate to mail me. -FreeBSD 14 August 2012 FreeBSD +FreeBSD 18 June 2014 FreeBSD Modified: head/Tools/scripts/getpatch ============================================================================== --- head/Tools/scripts/getpatch Wed Jun 18 20:18:11 2014 (r358312) +++ head/Tools/scripts/getpatch Wed Jun 18 20:18:33 2014 (r358313) @@ -171,7 +171,7 @@ def main(): parser.add_argument('pr', metavar='pr', type=str, nargs=1, help='Pr id number') parser.add_argument('--mode', type=str, choices=['gnats','bz'], - default='gnats', help='available modes to retrieve patch') + default='bz', help='available modes to retrieve patch') parser.add_argument('--last', action='store_true', help='only retrieve the latest iteration of a patch') parser.add_argument('--stdout', action='store_true',