summaryrefslogtreecommitdiff
path: root/net/gh
AgeCommit message (Collapse)AuthorFilesLines
2020-12-20Update gh (Github CLI) to 1.4.0.bsiegert3-18/+18
New Features - View issue and pull request comment threads - Manage GitHub Actions secrets - Set up git credentials when logging into GitHub CLI Fixes - pr merge: attempt the merge even if mergeability status could not be determined - repo clone: enable cloning repository wikis - Recognize Include directives when parsing ssh config files - Display the new release notice only once per 24 hours
2020-11-27Update gh (Github CLI) to 1.3.0.bsiegert3-18/+18
New Stuff * If an interactive invocation of either pr create or issue create fails, gh will now save a user's input. Both create commands now support a --recover option to pick up where you left off. * Add support for GH_TOKEN and GH_ENTERPRISE_TOKEN Bug Fixes * Correctly select branch when viewing repository * Downgrade survey to v2.1.1 Cleanup * Refactor pr/issue creation code for readability and maintainability * Fix spelling errors * Fix USAGE help info for some commands
2020-11-20gh: Update to 1.2.1leot4-245/+1293
pkgsrc changes: - Remove patch-go.mod, version was bumped upstream too Changes: 1.2.1 ===== Security -------- * This fixes the security vulnerability where running gh inside of an untrusted directory on Windows could lead to .\git.exe, .\git.bat, or a similarly crafted executable in the same directory being run instead of the system git command. See GHSA-fqfh-778m-2v32 Fixes ----- * issue list: fetch and display all labels instead of just the first three * pr view <branch>: allow viewing closed PRs * pr create: omit the unnecessary and misleading Create a pull request for '<branch>' on GitHub by visiting: <URL> message generated by git push * pr checks: improve error message when no checks are reported * repo clone: print friendly error for the required argument * release create: print friendly error for the required argument * garden: completely reset status line when moving around * Allow running gh commands from Windows Explorer search bar 1.2.0 ===== Features -------- * api: add flag --hostname to set host target for api requests * pr merge: add confirmation step in interactive mode * auth login: add flag --scopes to set authorization scopes * auth status: add flag --show-token to display auth token * config set: add validation of configuration values * config set: add warning for unknown configuration keys * Codespaces: add support for "integration" tokens * Add GH_NO_UPDATE_NOTIFIER environment variable to allow skipping of update checks * Skip update checks in CI environments Bugs ---- * issue list: fix result inconsistencies when specifying limit * issue list: fix filtering by milestone for large milestone numbers * repo clone: use canonical capitalization for remote URLs * pr create: fix continue in browser for branches with special characters * repo garden: fix incorrect terminal state after Ctrl-C * Improve shell autocompletions for bash, zsh, and PowerShell Build ----- * Rename the internal command package, resulting in a rename of Version and Date variables passed via ldflags at build time. To set version and date when building from source, use the GH_VERSION and BUILD_DATE environment variables in conjunction with our Makefile. 1.1.0 ===== Features -------- * Support GH_PAGER environment override for PAGER * Disable terminal pager when its value is set to cat * repo view: add option to specify a branch * repo view: render :emoji: syntax as emoji characters Bugs ---- * Fix pr create when branch was already pushed to a non-base remote * pr status/view/create: fix API-related failures with GitHub Enterprise Server * Fix markdown rendering when terminal pager is enabled * repo create: respect repo name input given in interactive prompt * auth login: display correct hostname in Personal Access Token instructions * auth login: document minimum required token scopes * pr checkout: fix running on detached HEAD * pr merge: default to "no" for "delete branch after merge" prompt * gist list: switch to GraphQL API to improve fetching + support fetching more than 100 gists + list gists ordered by creation time, descending + for machine-readable output, serialize timestamps in RFC 3339 format + ensure newlines in gist description are rendered as spaces * gist view/edit: fix passing Gist URL as argument * gist edit: check ownership before editing * gist edit: avoid updating gist when the contents haven't changed * repo garden: fix for repositories with only a few commits * repo garden: restore tty settings on exit * Fix reading the current git branch name when it contains a non-breaking space * Document gh config set pager ... option * Fix .tar upload tests on different OSs
2020-11-13Revbump all Go packages after go115 updatebsiegert1-2/+2
2020-11-11gh: Remove an extra comment so distinfo still matchesleot1-4/+1
termenv 0.7.1 or newer is probably not helpful for just NetBSD but for everything else that is not Linux and Darwin.
2020-11-08Revbump all Go packages after Go 1.15 update.bsiegert2-3/+6
2020-10-08gh: Add NetBSD RCS keywordleot1-0/+2
2020-09-17gh: Document the rationale behind patch-go.modleot2-3/+5
muesli/termenv v0.6.0 probably only works on Darwin and Linux.
2020-09-17Remove copy-and-paste error from first line.bsiegert1-1/+0
seen by leot@
2020-09-17Github CLI: update to 1.0.0.bsiegert4-416/+442
Features - Add gh release commands for managing GitHub Releases - Add gh pr checks command - Add gh gist list/view/edit commands - Improve resolving the base repository for all commands - Additionally, gh pr create now prompts for where to push the current branch, including an option to create a fork, instead of trying to guess the head repository or automatically fork in the background. - Add gh pr create --head <branch> flag to explicitly set the head branch for automation and opt out of any forking/pushing functionality. - Add gh config set prompt disabled config setting - Add gh help environment help topic listing all supported environment variables - Add support for PAGER environment variable to enable a terminal pager program such as less, also supported through the pager config option - Add gh auth login --web flag Bugs - pr merge --squash: add pull request title to the commit subject - pr create: prepend body defaults to the selected template - repo view: do not HTML-escape output - issue list: fix misalignment due to Unicode and emoji characters - Fix terminal color display under various color schemes - Fix zsh completion script - Fix opening the web browser under WSL
2020-09-03Revbump all Go packages after default Go version was changed to 1.15.1bsiegert1-1/+2
2020-08-22Update gh (github cli) to 0.11.1.bsiegert3-290/+809
NOTE: This is also an example how you replace a non-working version of a module dependency with a working one, see the patch to go.mod. v0.11.1 * Enable custom color themes with the GLAMOUR_STYLE environment variable # 1411 * Fix printing network error in case for failed HTTP requests #1382 * Fix creating gists from stdin with argument #1383 * Correctly report HTTP and Markdown errors in repo view #1403 * Automatically adapt Markdown rendering for light terminal backgrounds #1402 * Enable adding to GO_LDFLAGS without having to replace them all #1379 * gh pr command scriptability improvements #1373 * gh repo command scriptability improvements #1388 * Misc. scriptability improvements #1387 v0.11.0 * Add support for ?shell? aliases #1191 * Add --milestone and --mention filters to gh issue list #644 * Add --web flag to gh issue/pr list #1282 * Add gh api --silent flag to avoid printing HTTP response #1283 * Print issue/PR title in confirmation messages from gh issue close/reopen and gh pr close/reopen #1337 * Scriptability improvements for gh issue list/view/create commands #1343 * gh pr checkout now prevents flag injection to git checkout via maliciously crafted head branch name #1365 * gh pr checkout OWNER:BRANCH now avoids clashes with the default branch of a repository #1365 * gh pr merge now gracefully handles when the merged branch is auto-deleted on the server per repository settings #1279 * Avoid crash in gh issue close/reopen when issue number is invalid #1328 * Support hosts.yml existing while config.yml does not #1304 * Raise more informative filesystem path error after failing to read or create the config file #1295 * Avoid warning about missing read:org OAuth scope if the authenticating token has admin:org #1359 * Improve support for legacy issue and pull request template names #1366 * Document supported environment variables #1370 * Remove the -R, --repo flag mention from commands where it's not applicable #1253 * Add VS Code example to gh config set documentation #1301
2020-08-14Revbump all Go packages after go114 updatebsiegert1-2/+2
2020-07-17Revbump all Go packages after go114 update.bsiegert1-1/+2
2020-07-08gh: Update to 0.10.1leot2-7/+7
Changes 0.10.1 ====== gh api --paginate ----------------- The api command now offers functionality to recursively fetch next pages of results until all results have been fetched. Fixes ----- - Fix pr create not respecting template when editor was skipped #1243 - Fix pr checkout OWNER:BRANCH invocation setting up upstream configuration in case maintainers are allowed to modify the pull request branch #1252 - Fix pr status not working in detached HEAD state #1155 - Do not output ANSI colour escape sequences from issue/pr/repo view if standard output is redirected elsewhere #1187 - Improve error reporting and exit status for mistyped command names #1221 - Improve error reporting when someone might have forgotten to quote values with spaces #1147 Tweaks ------ - Documentation improvements #1179 #1204 - Added description text to Debian/RPM packages #1211
2020-06-18Add a package for gh-0.10.0. From wip.bsiegert4-0/+1142
gh is GitHub on the command line, and it's now available in beta. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.