RepoOption -r allow more variants #163
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#163
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
currently -r only allow path to local git repos with remotes's to a gitea instance
make it posible to specify gitea repos with no local related git repo
if the -r argument does not match a local existing path ...
... if format is '\w+/\w+' -> split by '/', first is owner second is repo
... if format is '\w+' -> owner is current user repo is arguemnt
In what kind of workflow would it be useful to keep the current beheviour with local paths?
I'd just completely replace it with the
<owner>/<repo>
variant, which is more predictable, and avoids having multiple syntaxes.When you're in the situation of creating a PR, you're probably thinking about which owner & repo it should go to, and not where you have it locally on your device anyway.
(Also: standard workflows add upstreams/forks as remotes, not separate repos.. Not sure why such a workflow should be supported by tea)
#169 related