-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
Feature Request
Is your feature request related to a problem? Please describe.
Currently, after a bucket is added, its associated Git repository URL cannot be modified directly.
If I want to change a bucket's repository to another forked version, I currently have to remove and re-add the bucket, which is not very convenient.
Describe the solution you'd like
Add a subcommand such as:
scoop bucket update <bucket> <new-url>
This would allow updating the Git remote URL of an existing bucket without removing it.
Describe alternatives you've considered
Use an alias
{
"Name": "change-bucket",
"Command": "Join-Path (scoop config root_path) "buckets" | Join-Path -ChildPath $args[0] | set-location;git remote set-url origin $args[1]",
"Summary": "scoop change-bucket [bucket] [repo]"
}