17453fd7cb
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) | require | minor | `v5.4.2` -> `v5.8.1` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>go-git/go-git (github.com/go-git/go-git/v5)</summary> ### [`v5.8.1`](https://github.com/go-git/go-git/releases/tag/v5.8.1) [Compare Source](https://github.com/go-git/go-git/compare/v5.8.0...v5.8.1) #### What's Changed - \*: Bump dependencies by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/815 **Full Changelog**: https://github.com/go-git/go-git/compare/v5.8.0...v5.8.1 ### [`v5.8.0`](https://github.com/go-git/go-git/releases/tag/v5.8.0) [Compare Source](https://github.com/go-git/go-git/compare/v5.7.0...v5.8.0) #### What's Changed - git: Fix fetching after shallow clone. Fixes [#​305](https://github.com/go-git/go-git/issues/305) by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/778 - git: enable fetch with unqualified references by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/762 - git: don't add to want if exists, shallow and depth 1 by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/763 - git: Clone HEAD should not force master. Fixes [#​363](https://github.com/go-git/go-git/issues/363) by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/758 - git: fix the issue with submodules having the SCP style URL fail due to the wrong URL parsing by [@​matejrisek](https://github.com/matejrisek) in https://github.com/go-git/go-git/pull/756 - git: add a clone option to allow for shallow cloning of submodules by [@​matejrisek](https://github.com/matejrisek) in https://github.com/go-git/go-git/pull/765 - worktree: minor speedup for `doAddDirectory` by [@​ThinkChaos](https://github.com/ThinkChaos) in https://github.com/go-git/go-git/pull/702 - \_examples: Remove wrong comment by [@​pascal-hofmann](https://github.com/pascal-hofmann) in https://github.com/go-git/go-git/pull/357 - \*: Handle paths starting with tilde by [@​ricci2511](https://github.com/ricci2511) in https://github.com/go-git/go-git/pull/808 - \*: Handle paths starting with ~Username by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/809 - storage: filesystem/dotgit, add support for tmp_objdir prefix by [@​L11R](https://github.com/L11R) in https://github.com/go-git/go-git/pull/812 - plumbing: gitignore, replace user dir in path by [@​Jleagle](https://github.com/Jleagle) in https://github.com/go-git/go-git/pull/772 - plumbing: gitignore, fix incorrect parsing. Fixes [#​500](https://github.com/go-git/go-git/issues/500) by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/781 - plumbing: http, Fix empty repos on Git v2.41+ by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/802 - plumbing: packp, A request is not empty if it contains shallows. Fixes [#​328](https://github.com/go-git/go-git/issues/328) by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/792 - plumbing: blame, Complete rewrite. Fixes [#​603](https://github.com/go-git/go-git/issues/603) by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/789 - plumbing: gitignore, Allow gitconfig to contain a gitignore relative to any user home. Fixes [#​578](https://github.com/go-git/go-git/issues/578) by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/785 #### New Contributors - [@​Jleagle](https://github.com/Jleagle) made their first contribution in https://github.com/go-git/go-git/pull/772 - [@​pascal-hofmann](https://github.com/pascal-hofmann) made their first contribution in https://github.com/go-git/go-git/pull/357 - [@​ricci2511](https://github.com/ricci2511) made their first contribution in https://github.com/go-git/go-git/pull/808 - [@​L11R](https://github.com/L11R) made their first contribution in https://github.com/go-git/go-git/pull/812 **Full Changelog**: https://github.com/go-git/go-git/compare/v5.7.0...v5.7.1 ### [`v5.7.0`](https://github.com/go-git/go-git/releases/tag/v5.7.0) [Compare Source](https://github.com/go-git/go-git/compare/v5.6.1...v5.7.0) #### What's Changed - \*: Add support for initializing SHA256 repositories by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/707 - git: add mirror clone option by [@​aymanbagabas](https://github.com/aymanbagabas) in https://github.com/go-git/go-git/pull/735 - git: Add support to ls-remote with peeled references. Fixes [#​749](https://github.com/go-git/go-git/issues/749) by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/750 - git: fix cloning with branch name by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/755 - git: Worktree, add check to see if file already checked in. Fixes [#​718](https://github.com/go-git/go-git/issues/718) by [@​cbbm142](https://github.com/cbbm142) in https://github.com/go-git/go-git/pull/719 - git: Worktree, git grep bare repositories by [@​aymanbagabas](https://github.com/aymanbagabas) in https://github.com/go-git/go-git/pull/728 - git: Add Depth to SubmoduleUpdateOptions by [@​matejrisek](https://github.com/matejrisek) in https://github.com/go-git/go-git/pull/754 - git: Testing, Fix tests not cleaning temp folders by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/769 - git: remote, add support for a configurable timeout. by [@​andrewpollock](https://github.com/andrewpollock) in https://github.com/go-git/go-git/pull/753 - git: Allow Initial Branch to be configurable by [@​techknowlogick](https://github.com/techknowlogick) in https://github.com/go-git/go-git/pull/764 - storage: filesystem/dotgit, Improve load packed-refs by [@​fcharlie](https://github.com/fcharlie) in https://github.com/go-git/go-git/pull/743 - storage: filesystem, Populate index before use. Fixes [#​148](https://github.com/go-git/go-git/issues/148) by [@​AriehSchneier](https://github.com/AriehSchneier) in https://github.com/go-git/go-git/pull/722 - plumbing: resolve non-external delta references by [@​ZauberNerd](https://github.com/ZauberNerd) in https://github.com/go-git/go-git/pull/485 - plumbing/transport: fix regression in scp-like match by [@​jotadrilo](https://github.com/jotadrilo) in https://github.com/go-git/go-git/pull/715 - plumbing/transport: Add support for custom proxy settings by [@​aryan9600](https://github.com/aryan9600) in https://github.com/go-git/go-git/pull/744 - \*: small fixes across the codebase by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/770 - \*: bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 by [@​dependabot](https://github.com/dependabot) in https://github.com/go-git/go-git/pull/776 - \*: bump dependencies by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/748 - \*: bump Go version to 1.18 on go.mod by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/774 - \*: add Codeql workflow and bump dependencies by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/775 - ci: fix upstream git build for master branch by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/739 #### New Contributors - [@​ZauberNerd](https://github.com/ZauberNerd) made their first contribution in https://github.com/go-git/go-git/pull/485 - [@​jotadrilo](https://github.com/jotadrilo) made their first contribution in https://github.com/go-git/go-git/pull/715 - [@​fcharlie](https://github.com/fcharlie) made their first contribution in https://github.com/go-git/go-git/pull/743 - [@​AriehSchneier](https://github.com/AriehSchneier) made their first contribution in https://github.com/go-git/go-git/pull/755 - [@​cbbm142](https://github.com/cbbm142) made their first contribution in https://github.com/go-git/go-git/pull/719 - [@​aryan9600](https://github.com/aryan9600) made their first contribution in https://github.com/go-git/go-git/pull/744 - [@​matejrisek](https://github.com/matejrisek) made their first contribution in https://github.com/go-git/go-git/pull/754 - [@​andrewpollock](https://github.com/andrewpollock) made their first contribution in https://github.com/go-git/go-git/pull/753 - [@​techknowlogick](https://github.com/techknowlogick) made their first contribution in https://github.com/go-git/go-git/pull/764 **Full Changelog**: https://github.com/go-git/go-git/compare/v5.6.1...v5.7.0 ### [`v5.6.1`](https://github.com/go-git/go-git/releases/tag/v5.6.1) [Compare Source](https://github.com/go-git/go-git/compare/v5.6.0...v5.6.1) #### What's Changed - plumbing/transport: don't use the `firstErrLine` when it is empty by [@​ThinkChaos](https://github.com/ThinkChaos) in https://github.com/go-git/go-git/pull/682 - plumbing/transport: ssh, unable to pass a custom HostKeyCallback func by [@​aymanbagabas](https://github.com/aymanbagabas) in https://github.com/go-git/go-git/pull/655 - storage/filesystem: dotgit: fix a filesystem race in Refs/walkReferencesTree by [@​MichaelMure](https://github.com/MichaelMure) in https://github.com/go-git/go-git/pull/659 - \*: bump golang.org/x/net from 0.2.0 to 0.7.0 by [@​dependabot](https://github.com/dependabot) in https://github.com/go-git/go-git/pull/684 - \*: bump dependencies by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/697 - \*: fix panic for empty revisions by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/696 - ci: bump GitHub actions, enable go test race detection and stop using developer's GPG keys during test execution by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/701 **Full Changelog**: https://github.com/go-git/go-git/compare/v5.6.0...v5.6.1 ### [`v5.6.0`](https://github.com/go-git/go-git/releases/tag/v5.6.0) [Compare Source](https://github.com/go-git/go-git/compare/v5.5.2...v5.6.0) #### What's Changed - Worktree, check for empty parent dirs during Reset (Fixes [#​670](https://github.com/go-git/go-git/issues/670)) by [@​mbohy](https://github.com/mbohy) in https://github.com/go-git/go-git/pull/671 - \*: remove need to build with CGO by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/688 - plumbing: support SSH/X509 signed tags by [@​hiddeco](https://github.com/hiddeco) in https://github.com/go-git/go-git/pull/690 **Full Changelog**: https://github.com/go-git/go-git/compare/v5.5.2...v5.6.0 ### [`v5.5.2`](https://github.com/go-git/go-git/releases/tag/v5.5.2) [Compare Source](https://github.com/go-git/go-git/compare/v5.5.1...v5.5.2) #### What's Changed - \*: update go-billy v5.4.0, removes data races. Fixes [#​629](https://github.com/go-git/go-git/issues/629) by [@​mcuadros](https://github.com/mcuadros) in https://github.com/go-git/go-git/pull/653 - Worktree: Add, fix add removed files. Fixes [#​223](https://github.com/go-git/go-git/issues/223) by [@​tfujiwar](https://github.com/tfujiwar) in https://github.com/go-git/go-git/pull/652 **Full Changelog**: https://github.com/go-git/go-git/compare/v5.5.1...v5.5.2 ### [`v5.5.1`](https://github.com/go-git/go-git/releases/tag/v5.5.1) [Compare Source](https://github.com/go-git/go-git/compare/v5.5.0...v5.5.1) #### What's Changed - \*: fix error when building with `CGO_ENABLED=0` by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/625 - plumbing: transport/ssh: fix panic on Windows 10 with paegent as ssh-agent by [@​doxsch](https://github.com/doxsch) in https://github.com/go-git/go-git/pull/617 - CommitOptions: AllowEmptyCommits, return an error instead of creating empty commits by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/623 **Full Changelog**: https://github.com/go-git/go-git/compare/v5.5.0...v5.5.1 ### [`v5.5.0`](https://github.com/go-git/go-git/releases/tag/v5.5.0) [Compare Source](https://github.com/go-git/go-git/compare/v5.4.2...v5.5.0) #### What's Changed - \*: add collision resistent SHA1 implementation by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/618 - \*: replace go-homedir with os.UserHomeDir by [@​mvdan](https://github.com/mvdan) in https://github.com/go-git/go-git/pull/535 - Remote: add RemoteURL to {Fetch,Pull,Push}Options by [@​noerw](https://github.com/noerw) in https://github.com/go-git/go-git/pull/375 - Remote: Push, add support to push commits per hashes by [@​tjamet](https://github.com/tjamet) in https://github.com/go-git/go-git/pull/325 - Remote: Push, add ForceWithLease Push Option by [@​john-cai](https://github.com/john-cai) in https://github.com/go-git/go-git/pull/404 - Remote: PushOptions add push-options by [@​S-Bohn](https://github.com/S-Bohn) in https://github.com/go-git/go-git/pull/399 - Remote: Push, add atomic to push options by [@​john-cai](https://github.com/john-cai) in https://github.com/go-git/go-git/pull/406 - Remote: add FollowTags option for pushes by [@​john-cai](https://github.com/john-cai) in https://github.com/go-git/go-git/pull/385 - Worktree: use syscall.Timespec.Unix by [@​tklauser](https://github.com/tklauser) in https://github.com/go-git/go-git/pull/437 - Worktree: Checkout, simplified sparse checkout by [@​john-cai](https://github.com/john-cai) in https://github.com/go-git/go-git/pull/410 - Repository: don't crash accessing invalid pathinfo by [@​muesli](https://github.com/muesli) in https://github.com/go-git/go-git/pull/443 - storage: filesystem, switch from os.SEEK_\* to io.Seek\* by [@​abhinav](https://github.com/abhinav) in https://github.com/go-git/go-git/pull/421 - config: add branch description support by [@​ninedraft](https://github.com/ninedraft) in https://github.com/go-git/go-git/pull/409 - revision: fix endless looping in revision parser by [@​michenriksen](https://github.com/michenriksen) in https://github.com/go-git/go-git/pull/475 - pumbling: optimise zlib reader and consolidate sync.Pools by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/608 - pumbling: parse optimisations by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/602 - plumbing: object, rename calculation uses too much memory by [@​jfontan](https://github.com/jfontan) in https://github.com/go-git/go-git/pull/503 - plumbing: protocol/pakp and server, include the contents of `GO_GIT_USER_AGENT_EXTRA`. Fixes [#​529](https://github.com/go-git/go-git/issues/529) by [@​stewing](https://github.com/stewing) in https://github.com/go-git/go-git/pull/531 - plumbing: protocol/pakp, avoid duplicate encoding when overriding a Capability value. by [@​tylerchr](https://github.com/tylerchr) in https://github.com/go-git/go-git/pull/521 - plumbing: protocol/pakp, update agent by [@​caarlos0](https://github.com/caarlos0) in https://github.com/go-git/go-git/pull/453 - plumbing: protocol/pakp: Actions should have type Action by [@​abhinav](https://github.com/abhinav) in https://github.com/go-git/go-git/pull/420 - plumbing: protocol/pakp: allow unsupported `multi_ack` capability by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/613 - plumbing: transport/ssh, auto-populate HostKeyAlgorithms. Fixes [#​411](https://github.com/go-git/go-git/issues/411) by [@​evanelias](https://github.com/evanelias) in https://github.com/go-git/go-git/pull/548 - pumbling: format/packfile, resolve external reference delta by [@​ga-paul-t](https://github.com/ga-paul-t) in https://github.com/go-git/go-git/pull/392 - plumbing: format/packfile, prevent large objects from being read into memory completely by [@​zeripath](https://github.com/zeripath) in https://github.com/go-git/go-git/pull/330 - plumbing: format/index, support v3 index by [@​john-cai](https://github.com/john-cai) in https://github.com/go-git/go-git/pull/407 - plumbing: format/gitignore, Read .git/info/exclude file too. by [@​enisdenjo](https://github.com/enisdenjo) in https://github.com/go-git/go-git/pull/402 - plumbing: format/gitattributes, Avoid index out of range by [@​To1ne](https://github.com/To1ne) in https://github.com/go-git/go-git/pull/598 - plumbing: format/config, Branch name with hash can be cloned. Fixes [#​309](https://github.com/go-git/go-git/issues/309) by [@​dowy](https://github.com/dowy) in https://github.com/go-git/go-git/pull/354 - go.mod: update github.com/xanzy/ssh-agent to v0.3.1 by [@​tklauser](https://github.com/tklauser) in https://github.com/go-git/go-git/pull/403 - go.mod: update dependencies to remove supply chain CVEs by [@​pjbgf](https://github.com/pjbgf) in https://github.com/go-git/go-git/pull/620 - examples: added "tag find if head is tagged" by [@​snebel29](https://github.com/snebel29) in https://github.com/go-git/go-git/pull/374 - examples: remote fix typo by [@​nep-0](https://github.com/nep-0) in https://github.com/go-git/go-git/pull/408 **Full Changelog**: https://github.com/go-git/go-git/compare/v5.4.2...v5.5.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Reviewed-on: https://gitea.com/gitea/tea/pulls/578 Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com> |
||
---|---|---|
.gitea | ||
cmd | ||
contrib | ||
docs | ||
modules | ||
.changelog.yml | ||
.dockerignore | ||
.gitignore | ||
.goreleaser.checksum.sh | ||
.goreleaser.yaml | ||
.revive.toml | ||
build.go | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
DCO | ||
demo.gif | ||
Dockerfile | ||
FEATURE-COMPARISON.md | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md | ||
renovate.json5 |
T E A
The official CLI for Gitea
tea - command line tool to interact with Gitea
version 0.8.0-preview
USAGE
tea command [subcommand] [command options] [arguments...]
DESCRIPTION
tea is a productivity helper for Gitea. It can be used to manage most entities on
one or multiple Gitea instances & provides local helpers like 'tea pr checkout'.
tea tries to make use of context provided by the repository in $PWD if available.
tea works best in a upstream/fork workflow, when the local main branch tracks the
upstream repo. tea assumes that local git state is published on the remote before
doing operations with tea. Configuration is persisted in $XDG_CONFIG_HOME/tea.
COMMANDS
help, h Shows a list of commands or help for one command
ENTITIES:
issues, issue, i List, create and update issues
pulls, pull, pr Manage and checkout pull requests
labels, label Manage issue labels
milestones, milestone, ms List and create milestones
releases, release, r Manage releases
times, time, t Operate on tracked times of a repository's issues & pulls
organizations, organization, org List, create, delete organizations
repos, repo Show repository details
comment, c Add a comment to an issue / pr
HELPERS:
open, o Open something of the repository in web browser
notifications, notification, n Show notifications
clone, C Clone a repository locally
SETUP:
logins, login Log in to a Gitea server
logout Log out from a Gitea server
shellcompletion, autocomplete Install shell completion for tea
whoami Show current logged in user
OPTIONS
--help, -h show help (default: false)
--version, -v print the version (default: false)
EXAMPLES
tea login add # add a login once to get started
tea pulls # list open pulls for the repo in $PWD
tea pulls --repo $HOME/foo # list open pulls for the repo in $HOME/foo
tea pulls --remote upstream # list open pulls for the repo pointed at by
# your local "upstream" git remote
# list open pulls for any gitea repo at the given login instance
tea pulls --repo gitea/tea --login gitea.com
tea milestone issues 0.7.0 # view open issues for milestone '0.7.0'
tea issue 189 # view contents of issue 189
tea open 189 # open web ui for issue 189
tea open milestones # open web ui for milestones
# send gitea desktop notifications every 5 minutes (bash + libnotify)
while :; do tea notifications --mine -o simple | xargs -i notify-send {}; sleep 300; done
ABOUT
Written & maintained by The Gitea Authors.
If you find a bug or want to contribute, we'll welcome you at https://gitea.com/gitea/tea.
More info about Gitea itself on https://gitea.io.
- Compare features with other git forge CLIs
- tea uses code.gitea.io/sdk and interacts with the Gitea API.
Installation
There are different ways to get tea
:
-
Install via your system package manager:
- macOS via
brew
(gitea-maintained):brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea brew install tea
- arch linux (gitea-tea-git, thirdparty)
- alpine linux (tea, thirdparty)
- macOS via
-
Use the prebuilt binaries from dl.gitea.io
-
Install from source: see Compilation
-
Docker (thirdparty): tgerczei/tea
-
asdf (thirdparty): mvaldes14/asdf-tea
Compilation
Make sure you have a current go version installed (1.13 or newer).
-
To compile the source yourself with the recommended flags & tags:
git clone https://gitea.com/gitea/tea.git # or: tea clone gitea.com/gitea/tea ;) cd tea make
Note that GNU Make (gmake on OpenBSD) is required. If you want to install the compiled program you have to execute the following command:
make install
This installs the binary into the "bin" folder inside of your GOPATH folder (
go env GOPATH
). It is possible that this folder isn't in your PATH Environment Variable. -
For a quick installation without
git
&make
, set $version and exec:go install code.gitea.io/tea@${version}
Contributing
Fork -> Patch -> Push -> Pull Request
make test
run testsuitemake vet
run checks (check the order of imports; preventing failure on CI pipeline beforehand)- ... (for other development tasks, check the
Makefile
)
Please read the CONTRIBUTING documentation, it will tell you about internal structures and concepts.
License
This project is under the MIT License. See the LICENSE file for the full license text.