Allow ssh info command to list repositories available #3
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Certain other repository management tools, such as Gitolite, allow a user to see what repositories they have access to by passing info to the SSH command.
For example, ssh email@example.com info
The result is a list of repositories.
This is really useful not only for command-line users but also for quickly verifying what access someone has.
Could Gitea support this?
(Moved from https://github.com/go-gitea/gitea/issues/5124)
I think we can implement both
ssh firstname.lastname@example.org info.
I'd like to work on the feature to manage repositories as we want to use 'tea' in our company to managed repositories.
My initial focus would be listing of repositories.
The following features for listing are currently on my roadmap:
I created an initial pull request with the ability to list all repositories the provided login has access to.
Currently it is printing repo-fullname, repo-mode, repo-SSH-URL and repo-owner-username.
I implemented the filter flags into the list subcommand.
The main command 'tea repo' does not allow filtering but list all repos visible to the running user.
created PR #44
6543 referenced this issue 2019-11-03 04:29:58 +00:00
6543 referenced this issue 2019-11-03 04:30:11 +00:00