Page MenuHomeSolus

Update hub to 2.6.0
ClosedPublic

Authored by der_eismann on Wed, Dec 5, 4:28 PM.

Details

Summary

Features:

  • Use "scissors" line to delineate comments in editable messages instead of stripping away lines that start with #.
  • 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
  • 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
  • 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
  • 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>
Test Plan
  • Run hub --version
  • List issues of a repository hub issue

Diff Detail

Repository
R1417 hub
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
der_eismann created this revision.Wed, Dec 5, 4:28 PM
der_eismann requested review of this revision.Wed, Dec 5, 4:28 PM
JoshStrobl accepted this revision.Thu, Dec 6, 11:00 PM
This revision is now accepted and ready to land.Thu, Dec 6, 11:00 PM
This revision was automatically updated to reflect the committed changes.