ports/175627: New Port: ports-mgmt/prhistory Query tool for PR that match ports
Waitman Gobble
uzimac at da3m0n8t3r.com
Sun Jan 27 10:50:01 UTC 2013
>Number: 175627
>Category: ports
>Synopsis: New Port: ports-mgmt/prhistory Query tool for PR that match ports
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 27 10:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Waitman Gobble
>Release: FreeBSD 9.1-STABLE
>Organization:
Waitman Gobble
>Environment:
FreeBSD kamira.waitman.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r245772M: Tue Jan 22 06:09:00 PST 2013 root at kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64
>Description:
This program searches the GNATS database for all PR corresponding to a port. The user can get a list of PR for the port by changing to the path of the port and typing `prhistory`, or they may type `prhistory` and specify <portname>. The PR summary database is stored in an SQLite3 database in /var/db/ports, and can be updated by using the `-u` option of the command.
Examples:
1) within a port path:
# cd /usr/ports/lang/perl5.16
# prhistory
2) anywhere, specifying the port
# prhistory perl
3) display the PR from the GNATS database.
# prhistory -p 123456
For more information please see the man page (7)
Thank you,
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# prhistory
# prhistory/Makefile
# prhistory/distinfo
# prhistory/pkg-descr
#
echo c - prhistory
mkdir -p prhistory > /dev/null 2>&1
echo x - prhistory/Makefile
sed 's/^X//' >prhistory/Makefile << '47dfa5e7d8b011786a62f1ed8a72dc35'
X# Created by: "Waitman Gobble" <uzimac at da3m0n8t3r.com>
X# $FreeBSD$
X# New ports collection makefile for: prhistory
X# Date created: 27 January 2013
X
XPORTNAME= prhistory
XPORTVERSION= 1.0
XCATEGORIES= ports-mgmt
XMASTER_SITES= GH
XDISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
X
XMAINTAINER= waitman at waitman.net
XCOMMENT= PR review for ports
X
XLIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
X sqlite3:${PORTSDIR}/databases/sqlite3
X
XUSE_GITHUB= yes
XGH_ACCOUNT= waitman
XGH_PROJECT= prhistory
XGH_TAGNAME= master
XGH_COMMIT= 3cd7d50
X
XWRKSRC= ${WRKDIR}/waitman-prhistory-3cd7d50
X
XMAN7= prhistory.7
X
XPLIST_FILES= bin/prhistory
X
X.include <bsd.port.mk>
47dfa5e7d8b011786a62f1ed8a72dc35
echo x - prhistory/distinfo
sed 's/^X//' >prhistory/distinfo << 'aa203ed62194e4a4c34a34cc8ce3b93e'
XSHA256 (waitman-prhistory-1.0-0-g3cd7d50.tar.gz) = 23b673c3487fdbd24dd8eb3ce10b201f6be365372c5681b736dd24051e6318ac
XSIZE (waitman-prhistory-1.0-0-g3cd7d50.tar.gz) = 4027
aa203ed62194e4a4c34a34cc8ce3b93e
echo x - prhistory/pkg-descr
sed 's/^X//' >prhistory/pkg-descr << '154489a26e54d48ec675607da2fe515b'
Xprhistory shows PR from the FreeBSD GNATS database corresponding
Xto a port. Show a summary view of all PR related to a port and
Xrequest an individual PR by number.
X
XWWW: https://github.com/waitman/prhistory/
154489a26e54d48ec675607da2fe515b
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list