Commit graph

11 commits

Author SHA1 Message Date
leot
b06b08d085 hub: Update net/hub to 2.6.0
Changes:
2.6.0
-----
Features
--------
- Use "scissors" line to delineate comments in editable messages instead of
  stripping away lines that start with #. This helps preserve Markdown
  headings in hub pull-request, hub release create, and similar commands
  that open a text editor interactively.
  Everything above the following line is kept in the message; everything
  below is discarded:
    # ------------------------ >8 ------------------------
- New command hub issue show <NUMBER>
- Add hub release show --format=<FORMAT> functionality
- hub pr list --format=%rs lists requested reviewers
- Add support for communicating with GitHub Enterprise over Unix socket
    # ~/.config/hub
    example.com:
    user: USER
    oauth_token: TOKEN
    unix_socket: /path/to/socket

Fixes
-----
- Prevent hub create setting a public upstream when creating a private repo
- Fix hub create in place of a renamed repo
- Fix hub release create/edit/delete when there are multiple git remotes
- Auto-detect private/pushable repos in hub remote add
- Fix hub ci-status exit code when there is only Checks
- Allow hub compare <RANGE> even if not on any branch
- Ensure consistent sort direction when listing issues, PRs
- Match requested team names by slug instead of name in
  hub pull-request -r <TEAM>
2018-10-31 08:35:32 +00:00
leot
610b7de0f1 hub: Update net/hub to 2.5.1
Changes:
2.5.1
-----
* `hub issue create`: ignore the `.github/ISSUE_TEMPLATE` directory instead of
  crashing
* `hub pull-request`: avoid re-requesting reviewers in case of CODEOWNERS
* `hub ci-status`: handle cases when Checks API is unavailable, like older
  GitHub Enterprise
* Handle HTTP 422 message format from server response
* Ignore crash for malformed `~/.config/hub` file
* Clarify `hub init -g` documentation that it doesn't imply `hub create`
* `hub clone`: add more documentation about git protocol used
2018-08-24 11:29:35 +00:00
leot
1e49195c5e 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
2018-07-14 11:06:17 +00:00
bsiegert
d22fe57854 Revbump all Go packages after lang/go update. 2018-06-12 17:50:20 +00:00
leot
bee5863669 hub: Update net/hub to 2.4.0
Changes:
2.4.0
-----
### Features
* `hub delete [<OWNER>/]<REPO>`
* Add `hub compare --copy` flag
* Add `hub release --format=<FORMAT>` option
* Add `hub pull-request --no-edit` flag
* When checking out a pull request, ensure that `git push`with no arguments
  works
* Support XDG Base Directory Specification

### Tweaks
* Enable `hub pr list -h <BRANCH>` when owner isn't specified
* Include `docs/` in list of locations to look up pull request and issue
  templates in
2018-06-10 12:14:30 +00:00
leot
e0cd04811b hub: Avoid possible vim-isms when vi(1) is used
If the editor used matches the `\b(?:[gm]?vim|vi)(?:\.exe)?$' regular
expression hub automatically add as arguments `--cmd'. The `--cmd' passed is
probably supported only by vim so delete the `|vi' from the RE in order to not
append possible non-standard arguments to non-vim vi-s.

(This was spotted using `hub pull-request' that failed due non supported
argument passed to vi)

Bump PKGREVISION
2018-06-10 10:42:56 +00:00
leot
77ffdc4f74 hub: Properly install man page via INSTALL_MAN
(Accidentally changed in 2.3.0 update.)
2018-06-01 15:46:43 +00:00
leot
f73ebce621 hub: Update net/hub to 2.3.0
pkgsrc changes:
 - Add a files/hub.1 to avoid picking up devel/ruby-ronn as a TOOL_DEPENDS

Changes:
2.3.0
-----
This is a long-awaited release of hub with an abudance of new features.
Thank you everyone for testing out prereleases, reporting bugs, and
submitting pull requests! The work of 76 contributors went into
this release.

## New commands

  * `hub issue`: list and create issues and labels

        Usage: hub issue [-a <ASSIGNEE>] [-c <CREATOR>] [-@ <USER>]
			 [-s <STATE>] [-f <FORMAT>] [-M <MILESTONE>]
			 [-l <LABELS>] [-d <DATE>] [-o <SORT_KEY> [-^]]
			 [-L <LIMIT>]
           hub issue create [-oc] [-m <MESSAGE>|-F <FILE>] [-a <USERS>]
			    [-M <MILESTONE>] [-l <LABELS>]
           hub issue labels [--color]

  * `hub pr list`: list pull requests for the current repository
  * `hub pr checkout <NUMBER>`: checkout a pull request by its number
  * `hub release`: list, create, edit, and delete releases and attachments

        Usage: hub release [--include-drafts] [--exclude-prereleases]
			   [-L <LIMIT>]
           hub release show <TAG>
           hub release create [-dpoc] [-a <FILE>] [-m <MESSAGE>|-F <FILE>]
			      [-t <TARGET>] <TAG>
           hub release edit [<options>] <TAG>
           hub release delete <TAG>

  * `hub sync`: fetch updates from remote repository and sync all local
    branches to their upstream equivalents, purging merged ones


## Improved commands

  * `hub pull-request` now has the ability to set assignees, labels,
    reviewers, and milestones.

        Usage: hub pull-request [-focp] [-b <BASE>] [-h <HEAD>]
				[-r <REVIEWERS> ] [-a <ASSIGNEES>]
				[-M <MILESTONE>] [-l <LABELS>]
           hub pull-request -m <MESSAGE>
           hub pull-request -F <FILE> [--edit]
           hub pull-request -i <ISSUE>

  * `hub pull-request` and `hub issue create` now support pull request and
     issue templates.
  * Commands that print the resulting URL, such as `hub pull-request` or
    `hub create`, now accept `--copy` to put the URL to the system clipboard
    instead.
  * `hub pull-request` now supports `--push` and `--open` flags to push the
    head branch to the remote and open the resulting PR in a web browser,
    respectively.
  * `hub pull-request` now strips away the `Signed-off-by` line and the commit
    signature when generating the default pull request message.
  * Commands that take input via `-m` or `-F` arguments now also respect
    `--edit` to additionally edit the text in a text editor before submitting.
  * Support `core.commentchar=auto` git configuration when editing
    pull request/issue/release message in a text editor.
  * Support `/OWNER/REPO/pull/XYZ/commits/SHA` format of URLs as argument to
    `cherry-pick`, `am`, and `apply`.
  * Commands such as `cherry-pick`, `merge <PR-URL>`, and `checkout <PR-URL>`
    don't leave leftover git remotes anymore.
  * New `hub compare -b BASE` flag.
  * New `hub fork --org=ORGANIZATION` flag.
  * New `hub fork --remote-name=NAME` flag to configure the new git remote.
  * New, manpage-based help system; see `hub help hub` and
    `hub help hub-<command>`.
  * Added fish shell completion script.
  * When prompted to authenticate with username/password, pasting a
    Personal Access Token now works just as well instead of the password.
2018-06-01 15:42:22 +00:00
bsiegert
429ee23e50 Revbump all Go packages after 1.10.1 update.
ok wiz@ for committing during freeze
2018-03-30 11:56:19 +00:00
bsiegert
9ab6e4ca7b Revbump all Go packages after Go 1.10 update. 2018-03-04 15:52:12 +00:00
leot
a8791adb92 hub: Import hub-2.2.9 as net/hub
hub is a command line tool that wraps git in order to extend it
with extra features and commands that make working with GitHub
easier.

 $ hub clone rtomayko/tilt
 # expands to:
 $ git clone git://github.com/rtomayko/tilt.git

hub is best aliased as `git', so you can type `git <command>' in the
shell and get all the usual hub features.
2018-02-27 17:08:35 +00:00