Ghrepo

Latest version: v0.7.0

Safety actively analyzes 623518 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.0

-------------------
- Drop support for Python 3.6
- Support Python 3.11
- Properly follow RFC 3986 when parsing username & password fields in
`www.github.com` URLs
- Correct the accepted format for URLs that start with `ssh://` (They need to
separate the hostname from the path with a slash rather than a colon)
- Schemes & hostnames in URLs are now parsed case-insensitively
- CLI: Don't show superfluous error traceback when the given repo does not
possess the given remote

0.6.0

-------------------
- `get_local_repo()` now raises a dedicated `NoSuchRemoteError` if the given
remote does not exist
- `get_current_branch()` now raises a dedicated `DetachedHeadError` if the
repository is in a detached `HEAD` state
- `get_branch_upstream()` now raises a dedicated `NoUpstreamError` if the given
branch does not have an upstream configured

0.5.0

-------------------
- Make `get_local_repo()` handle remote names that start with a hyphen
- Add a `get_branch_upstream()` function

0.4.1

-------------------
- Do not accept repository names that end in "`.git`" with alternate casings

0.4.0

-------------------
- Support Python 3.10
- Export and document `GH_USER_RGX` and `GH_REPO_RGX`

0.3.0

-------------------
- `ghrepo` command: If a git invocation fails, exit with the same return code
as the subprocess
- Error messages from the `ghrepo` command are now prefixed with "ghrepo:"

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.