pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/hub hub: Update net/hub to 2.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03e9ea22d4f3
branches:  trunk
changeset: 382768:03e9ea22d4f3
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Jul 14 11:06:17 2018 +0000

description:
hub: Update net/hub to 2.5.0

pkgsrc changes:
 - Delete patch-github_editor.go, imported upstream
 - Adjust SUBST_SEDs commands for the current man page
 - Manually regen files/hub.1 man page

Changes:
2.5.0
-----
Features
 - Have ci-status also query Checks API

Fixes
 - Do not pass `--cmd' to vi editor to ensure compatibility with older vi
 - Simplify cherry-picking commits from pull request URLs
 - Allow single-character branches/tag names in hub compare
 - Fix hub compare for Enterprise when <USER> is specified
 - Support remote add -t BRANCH argument
 - Bash shell completion fixes for git 2.18
 - Documentation fixes

diffstat:

 net/hub/Makefile                       |   7 ++-----
 net/hub/distinfo                       |  11 +++++------
 net/hub/files/hub.1                    |  12 ++++++++++--
 net/hub/patches/patch-github_editor.go |  18 ------------------
 4 files changed, 17 insertions(+), 31 deletions(-)

diffs (105 lines):

diff -r 83e17f97f33f -r 03e9ea22d4f3 net/hub/Makefile
--- a/net/hub/Makefile  Sat Jul 14 07:36:40 2018 +0000
+++ b/net/hub/Makefile  Sat Jul 14 11:06:17 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2018/06/12 17:50:26 bsiegert Exp $
+# $NetBSD: Makefile,v 1.9 2018/07/14 11:06:17 leot Exp $
 
-DISTNAME=      hub-2.4.0
-PKGREVISION=   1
+DISTNAME=      hub-2.5.0
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=github/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -20,10 +19,8 @@
 SUBST_STAGE.man=       pre-configure
 SUBST_MESSAGE.man=     Fix hub name in hub(1) man page
 SUBST_FILES.man=       share/man/man1/hub.1
-SUBST_SED.man+=                -e 's/\\fBgit/\\fBhub/g'
 SUBST_SED.man+=                -e 's/\$$ git/$$ hub/'
 SUBST_SED.man+=                -e '/\$$ GITHUB_HOST=/ s/ git clone / hub clone /'
-SUBST_SED.man+=                -e 's/\.SS "git/.SS "hub/'
 
 INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
 
diff -r 83e17f97f33f -r 03e9ea22d4f3 net/hub/distinfo
--- a/net/hub/distinfo  Sat Jul 14 07:36:40 2018 +0000
+++ b/net/hub/distinfo  Sat Jul 14 11:06:17 2018 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2018/06/10 12:14:30 leot Exp $
+$NetBSD: distinfo,v 1.5 2018/07/14 11:06:17 leot Exp $
 
-SHA1 (hub-2.4.0.tar.gz) = 4b04365f84169eede7e1414838fde2017a869102
-RMD160 (hub-2.4.0.tar.gz) = 2bec11625461b6ca68632c9486bf9ded383c514f
-SHA512 (hub-2.4.0.tar.gz) = 302a508b7353ed96f969d399d87cd395b5561490c41f46043969a49eaa997a63d2649b3f6f23a565f1b8c821f93c4db1b8c7104c85d0b08fc6d96f03e765f2f7
-Size (hub-2.4.0.tar.gz) = 984312 bytes
-SHA1 (patch-github_editor.go) = fa21efb055ea91c689eceb676548cf528a6aaefe
+SHA1 (hub-2.5.0.tar.gz) = df0031d0c97886a18fe33bfa55dc31a1bd80c253
+RMD160 (hub-2.5.0.tar.gz) = 515475bf4a714e99bd69014da4e5e161d5def6cc
+SHA512 (hub-2.5.0.tar.gz) = 100e9695ef0bc0f9ea0decdc22d01696f520d741529c1591bbd10d49e9ba14455a12c60343aefb3af619b5dded7a53574c0b2b111005fb045637bc95fb52a4cb
+Size (hub-2.5.0.tar.gz) = 990029 bytes
diff -r 83e17f97f33f -r 03e9ea22d4f3 net/hub/files/hub.1
--- a/net/hub/files/hub.1       Sat Jul 14 07:36:40 2018 +0000
+++ b/net/hub/files/hub.1       Sat Jul 14 11:06:17 2018 +0000
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "HUB" "1" "May 2018" "" ""
+.TH "HUB" "1" "July 2018" "" ""
 .
 .SH "NAME"
 \fBhub\fR \- make git easier with GitHub
@@ -90,6 +90,10 @@
 Create a new repository on GitHub and add a git remote for it\.
 .
 .TP
+hub\-delete(1)
+Delete a repository on Github\.
+.
+.TP
 hub\-fork(1)
 Fork the current project on GitHub and add a git remote for it\.
 .
@@ -98,6 +102,10 @@
 Create a GitHub pull request\.
 .
 .TP
+hub\-pr(1)
+List and checkout GitHub pull requests\.
+.
+.TP
 hub\-issue(1)
 List and create GitHub issues\.
 .
@@ -170,7 +178,7 @@
 .
 .TP
 \fBHUB_CONFIG\fR
-Set the location of a custom config file (default: \fB~/\.config/hub\fR)\.
+The file path where hub configuration is read from and stored\. If \fBXDG_CONFIG_HOME\fR is present, the default is \fB$XDG_CONFIG_HOME/hub\fR; otherwise it\'s \fB$HOME/\.config/hub\fR\. The 
configuration file is also searched for in \fBXDG_CONFIG_DIRS\fR per XDG Base Directory Specification\.
 .
 .TP
 \fBHUB_PROTOCOL\fR
diff -r 83e17f97f33f -r 03e9ea22d4f3 net/hub/patches/patch-github_editor.go
--- a/net/hub/patches/patch-github_editor.go    Sat Jul 14 07:36:40 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-github_editor.go,v 1.1 2018/06/10 10:42:56 leot Exp $
-
-Avoid vim-isms.
-
-vi(1) is not always vim, avoid to treat it as such and to pass to
-it possible not supported arguments.
-
---- github/editor.go.orig      2018-05-29 13:34:37.000000000 +0000
-+++ github/editor.go
-@@ -129,7 +129,7 @@ func (e *Editor) readContent() (content 
- 
- func openTextEditor(program, file string) error {
-       editCmd := cmd.New(program)
--      r := regexp.MustCompile(`\b(?:[gm]?vim|vi)(?:\.exe)?$`)
-+      r := regexp.MustCompile(`\b(?:[gm]?vim)(?:\.exe)?$`)
-       if r.MatchString(editCmd.Name) {
-               editCmd.WithArg("--cmd")
-               editCmd.WithArg("set ft=gitcommit tw=0 wrap lbr")



Home | Main Index | Thread Index | Old Index