Commit graph

56 commits

Author SHA1 Message Date
bsiegert
624af70d8a Revbump all Go packages after go116 update 2021-08-11 19:35:03 +00:00
bsiegert
267ed82d11 Revbump all Go packages after go116 update 2021-07-13 11:36:30 +00:00
bsiegert
de0d02561a Revbump all Go packages after go116 update 2021-06-06 12:18:40 +00:00
bsiegert
3eec32f259 hub: make the build use modules
Bump revision.
2021-05-09 14:46:27 +00:00
bsiegert
2af0bedf36 Revbump all Go packages after go116 update 2021-05-08 15:02:22 +00:00
bsiegert
f6095694fd Revbump all Go packages after go115 update 2021-03-19 17:36:46 +00:00
bsiegert
9956fb746f Revbump all Go packages after go115 update 2021-01-23 14:22:52 +00:00
bsiegert
2915abcd8b Revbump all Go packages after go115 update 2020-11-13 19:26:03 +00:00
bsiegert
bea1f7d75a Revbump all Go packages after Go 1.15 update. 2020-11-08 21:59:09 +00:00
bsiegert
de10215f91 Revbump all Go packages after go115 update. 2020-10-15 13:08:12 +00:00
bsiegert
43f54ecac5 Revbump all Go packages after default Go version was changed to 1.15.1 2020-09-03 07:29:32 +00:00
bsiegert
9fad3613b8 Revbump all Go packages after go114 update 2020-08-14 20:01:19 +00:00
bsiegert
20b9b74c5f Revbump all Go packages after go114 update. 2020-07-17 18:04:11 +00:00
bsiegert
121a05e61b Revbump Go packages after Go 1.14.4 update. 2020-06-17 09:54:00 +00:00
bsiegert
9429a8bf7a Revbump all Go packages after default version switch to 1.14. 2020-04-12 11:01:37 +00:00
bsiegert
f5efefe062 Revbump all Go packages after go113 update. 2020-03-21 16:57:00 +00:00
leot
928cf8fa74 hub: Update to 2.14.2
Changes:
2.14.2
------
 * Ensure man pages are shown at full width
 * Fix subject in `ci-status` docs
 * Indicate in docs that you can do plain `git push` after
   `hub pr checkout` #2467
 * Fix using hub inside git worktree #2489

2.14.1
------
 * Fixed script/build when running from within the downloaded hub
   tarball
2020-03-05 19:45:28 +00:00
bsiegert
f6baaa9181 Revbump all Go packages after go113 update. 2020-02-02 14:18:56 +00:00
leot
a34012c28c hub: Update to 2.14.0
Changes:
2.14.0
------
Features:
 * New command: `hub issue update` #2432
 * New command: `hub issue transfer` #2363
 * Support git flag `hub version --build-options` #2440
 * Refuse to follow HTTP 301/302 redirects for non-GET requests #2442

Fixes:
 * Fix `hub help <cmd>` on Windows #2384
 * Ensure that `grep` command is being used in shell completions #2390
 * Consult global `git config color.ui` setting when `--color=auto` #2378

Improvements:
 * Print more user-friendly HTTP 40x errors #2446
 * Enable debugging file uploads via `HUB_VERBOSE=1 hub release create -a <file>`
 * Improve parsing malformed YAML config files #2380
2020-01-21 14:17:40 +00:00
bsiegert
5220c156ea Revbump Go packages after Go default version bump. 2020-01-10 13:32:09 +00:00
leot
67ea6b7d86 hub: Generate and install hub-* man pages
Add necessary logic to generate and install hub man pages.

We could use the existent targets provided by Makefile by introducing a gmake
tool dependency and adjusting install.sh but it is probably easier to mimic it
and rarely new commands are added to hub (so possible HUB_COMMANDS sync against
${WRKSRC}/Makefile should hopefully scale).  We can revisit that in the future
if that will not be the case.

PKGREVISION++
2020-01-09 11:59:53 +00:00
leot
21326e1840 hub: Update to 2.13.0
Changes:
2.13.0
------
  * New command: hub gist
  * Add git pr show --format=... flag
  * Add hub api --obey-ratelimit flag
  * hub help: support compressed man pages
  * Add hub release download --include=PATTERN flag
  * hub help: Enable hub help --web <command>
  * hub release: Retry attaching release assets on 5xx server errors
  * hub pr checkout fixes
      + handle case when the PR given matches the current branch
      + avoid overriding existing branch merge config
  * hub release: Fail fast when attempting to attach unavailable files
  * Honor HTTPS_PROXY, NO_PROXY environment variables
  * Strip "co-authored-by" lines when populating PR body from git log
  * git compatibility: have hub <cmd> --help open the man page
  * hub fork bash completion improvements
  * hub pr fish completion improvements

2.12.8
------
  * hub compare: improve upstream branch detection & error messages
  * hub compare: allow slash character in branch names
  * hub api: fix GraphQL requests made to Enterprise hosts
  * Docs: clarify --message, --file, and --edit flags

2.12.7
------
  * Fix password prompt on Windows
2020-01-02 11:52:48 +00:00
bsiegert
924057ee4f Revbump all Go packages after Go 1.12.14 update. 2019-12-13 07:43:47 +00:00
bsiegert
cb070cf0eb Revbump all Go packages after lang/go112 update 2019-10-18 14:58:43 +00:00
bsiegert
866c85b303 Revbump all Go packages after 1.12.10 update.
ok wiz@ for PMC
2019-09-26 20:10:39 +00:00
leot
11ee04df58 hub: Update to 2.12.6
Changes:
2.12.6
------
  * Fix Windows build

2.12.5
------
  * Correctly resolve ~/.ssh/config hostname aliases on Windows
  * Added hub pr to fish completions script
  * Have fish completions script wrap git if hub is aliased

2.12.4
------
Bug fixes
  * Fix invocation of hub --paginate
  * Consistently expand all occurrences of {owner} and {repo} in hub api
  * Docs: unlist %NC/%Nc among available fields in hub pr list --format

Enhancements
  * GitHub Actions compatibility: infer GITHUB_USER value from
    GITHUB_REPOSITORY if available
  * Handle TERM signal during password prompt in terminal
  * Use consistent quote style in hub sync output
2019-09-22 15:09:07 +00:00
bsiegert
2b7e432294 Recursive bump of all packages using Go after Go 1.12.8 update. 2019-08-14 15:45:31 +00:00
leot
15e682f936 hub: Update to 2.12.3
Changes:
2.12.3
------
* Allow hub use within GitHub Actions by specifying GITHUB_USER
* Show friendlier error message when GITHUB_TOKEN is set, but fetching
  the current user fails
2019-07-21 12:39:44 +00:00
leot
53fc0b527c hub: Update to 2.12.2
Changes:
2.12.2
------
* Improve `pull-request` push target detection for `git config push.default`
  is "upstream", but when the current branch does not have upstream
  configuration
2019-07-10 18:02:46 +00:00
leot
5ddd17225d hub: Update to 2.12.1
Changes:
Fixes:
- hub pull-request: Avoid crash when the current branch is pushed to a
  non-GitHub remote
- BROWSER environment variable now supports values with spaces in them
  (must be shell-quoted)
- hub help: support man appearing in a path that has spaces
- Docs: mention that comma-separated lists must not have spaces
2019-06-30 21:23:24 +00:00
leot
d01b466f28 hub: Update to 2.12.0
Changes:
2.12.0
------
## Features
* Add `hub pr show [<number>]` command to open a pull request in the browser
* Add `hub api --paginate` option to automatically fetch all pages of results
* Add `hub pull-request --no-maintainer-edits` flag to disallow project
  maintainers being able to push to your branch
* `hub issue -M` can now accept milestone names instead of just numbers
* Abort `hub pull-request` with a helpful error message if the current branch
  wasn't pushed to a git remote
* Drop support for legacy `hub.http-clone` git config value

## Fixes
* Fix querying git configuration when GIT_TRACE is used
* Support detached HEAD if `hub pull-request --head` was passed
* Fix newline in `hub create` error message
* Ensure HTTP connection reuse across API calls
2019-06-15 15:28:11 +00:00
bsiegert
6b2717c133 Revbump all Go packages after go112 update. 2019-05-27 15:18:17 +00:00
bsiegert
65fc216b57 Revbump all Go packages after go112 update 2019-04-16 18:41:08 +00:00
leot
d1654657a9 hub: Update to 2.11.2
Changes:
2.11.2
------
  * Avoid crash in hub remote argument parsing
  * Fix hub -C mydir merge <URL> by propagating global git arguments to Before/
    After chains
  * Preserve tilde ~ character in man pages

2.11.1
------
  * Fix non-draft pull requests for certain repositories

2.11.0
------
  * Create draft pull requests with hub pull-request --draft
    Draft pull requests are considered work in progress: they don't
    automatically request others for review and they are not mergeable while in
    their draft state.

2.10.2
------
  * Fix compatibility with git when run with no arguments: hub --git-dir=.git
  * Fix issue/PR --format %L output in no-color mode

2.10.1
------
  * Fix writing over existing cache files in hub api
  * Allow repository names that start with a - character
  * List api among custom hub commands in help
2019-04-14 19:11:44 +00:00
bsiegert
df61d022ce Revbump all Go packages after Go 1.12.1 update. 2019-03-16 08:35:37 +00:00
bsiegert
7455fa5a88 all: revbump Go packages, now that they use go112 to build 2019-03-09 10:05:01 +00:00
leot
6b8d441280 hub: Update to 2.10.0
Changes:
2.10.0
------
Features
 - New hub pr list --format fields %pS and %pC for PR state and color
    o %pS: "open", "draft", "merged", or "closed"
    o %pC: green, gray, purple, or red
 - Have commands with rich output respect the --color flag
    o default: --color=auto
    o --color is equivalent to --color=always
    o --color=never disables color for TTYs

Fixes
 - Make man pages parseable with whatis
 - Make hub checkout work independently of remote refspec
2019-02-24 13:14:43 +00:00
leot
3dd785ff54 hub: Update to 2.9.0
Changes:
2.9.0
-----
Features
 - Add support for hub ci-status --format <FORMAT> string
 - Add hub create --remote-name <REMOTE> flag
 - Allow passing in a raw request body via hub api --input <FILE>
 - Cache HTTP 4xx (except 403) server responses in hub api --cache

Fixes
 - Ensure consistent ordering of hub ci-status -v results
 - Avoid crashing on invalid GitHub hostname
 - Fix parsing empty string within command-line arguments


2.8.4
-----
 - Add hub api -H flag to set HTTP request headers
 - Add hub api -i flag to output HTTP response headers
 - Change how hub api deals with HTTP errors:
    - HTTP response is now printed on stdout regardless of HTTP status
    - No longer print an extra newline after HTTP response body
    - No more Error: HTTP {STATUS} message on stderr
    - hub exits with status 22 instead of 1
 - Fix hub execution under WSL (Windows Subsystem for Linux)
2019-02-14 18:19:37 +00:00
leot
88dc3844a6 hub: Update to 2.8.3
pkgsrc changes:
* Add logic to generate man page via pre-install target instead of
  generating it manually

Changes:
### Changes since v2.7
* New `hub api` command for scripting with GitHub API
  <https://github.com/github/hub/pull/2016>
* Re-implement CLI flag parsing so that `--message <MSG>` is equivalent to
  `--message=<MSG>` <https://github.com/github/hub/pull/2008>
* Re-implement `make man-pages` in Go instead of Ruby
  <https://github.com/github/hub/pull/1990>
* `issue create --label` is now `issue create --labels` to align with
  existing documentation
* Output crash debugging information on stderr instead of stdout
* Build improvements:
   - respect environment LDFLAGS
   - strip the build path from resulting executable
   - enable reproducible builds with SOURCE_DATE_EPOCH
2019-01-27 16:09:58 +00:00
bsiegert
066e1db646 Revbump Go packages after lang/go111 update. 2019-01-24 10:00:33 +00:00
leot
9632581979 hub: Update to 2.7.1
Changes:
2.7.1
-----
* Respect chosen Enterprise host on `hub init -g`
* Ensure consistent order of options when prompted to choose between
  multiple configured GitHub hosts
* Ensure alphabetical sort of `hub issue labels` output
* Improve contrast of label text vs. its background color
* Various documentation formatting tweaks
2019-01-18 21:05:40 +00:00
leot
45b48f3542 hub: Update to 2.7.0
Changes:
2.7.0
-----
## Features
 * Add support for `hub pr list --state=merged`
 * Add base/head/merge commit SHA and merged date information to
   `hub pr list --format=FORMAT`
 * Un-deprecate converting issues to pull requests with
   `hub pull-request -i <issue>` 2a748a048d6903eca78332a484e63f8d647caf02

## Fixes
 * Improve detecting default `hub pull-request` base branch name
 * Avoid the `Aborted: the origin remote doesn't point to a GitHub repository`
   error by allowing other git remotes as fallback
 * Improve `hub create` dealing with an existing "origin" remote
 * Fix 256-color terminal support for macOS Terminal.app
 * Don't choke on literal `%` output characters when using `--format=FORMAT`
 * Replace deprecated Dial with DialContext

## Documentation
 * Document how we scan git remotes and branch tracking information
   https://hub.github.com/hub.1.html#CONVENTIONS
 * Indicate that long-form CLI flags with values must use the equal sign like `--message=VALUE`
2019-01-01 00:17:29 +00:00
bsiegert
dcd9b75b1e Revbump all Go packages after go111 update. 2018-12-19 15:46:59 +00:00
leot
b4765f2043 hub: Update net/hub to 2.6.1
Changes:
2.6.1
-----
- Fix using git aliases for git 2.20
- Add support for passing multiple --message options for compatibility
  with git
- Allow the %h token in HostName value read from ssh config
2018-12-12 10:09:05 +00:00
bsiegert
ac232c7df5 Revbump all Go packages after go111 update. 2018-11-04 18:37:54 +00:00
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