@proggarapsody/bitbottle 1.112.0 → 1.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,7 +95,8 @@ Tokens are intentionally stripped from `hosts.yml` on every save. If you have an
|
|
|
95
95
|
| `deployment` | `list` `view` _(Cloud only)_ |
|
|
96
96
|
| `environment` | `list` `create` `delete` _(Cloud only)_ |
|
|
97
97
|
| `user` | `view` |
|
|
98
|
-
| `workspace` | `list` `member list` `hook list` `hook create` `hook delete` `project {create\|view\|edit\|delete}` _(Cloud only)_ |
|
|
98
|
+
| `workspace` | `list` `member list` `hook list` `hook create` `hook delete` `project {create\|view\|edit\|delete}` `perms {list\|repo list\|grant\|revoke}` _(Cloud only)_ |
|
|
99
|
+
| `mirror` | `list` `view` `repo list` _(Server/DC only)_ |
|
|
99
100
|
| `project` | `list WORKSPACE` _(Cloud only)_ · `server-list` `create` `view` `edit` `delete` _(Server/DC only)_ |
|
|
100
101
|
| `issue` | `list` `view` `create` `close` `edit` `reopen` `assign` `comment {list\|add\|edit\|delete}` _(Cloud only)_ |
|
|
101
102
|
| `milestone` | `list` `view` _(Cloud only)_ |
|
|
@@ -490,6 +491,15 @@ bitbottle workspace hook create myworkspace --url https://example.com/hook --eve
|
|
|
490
491
|
bitbottle workspace hook create myworkspace --url https://example.com/hook --events repo:push --events pullrequest:created
|
|
491
492
|
|
|
492
493
|
bitbottle workspace hook delete myworkspace WEBHOOK-UUID
|
|
494
|
+
|
|
495
|
+
# Workspace permissions (Cloud only)
|
|
496
|
+
bitbottle workspace perms list myworkspace
|
|
497
|
+
bitbottle workspace perms list myworkspace --json
|
|
498
|
+
|
|
499
|
+
bitbottle workspace perms repo list myworkspace
|
|
500
|
+
|
|
501
|
+
bitbottle workspace perms grant myworkspace --user alice --permission member
|
|
502
|
+
bitbottle workspace perms revoke myworkspace --user alice --confirm
|
|
493
503
|
```
|
|
494
504
|
|
|
495
505
|
All commands surface a typed unsupported-capability error against
|
|
@@ -596,6 +606,27 @@ bitbottle --hostname git.example.com code-insights merge-check delete \
|
|
|
596
606
|
Invoking any `code-insights` command against a Bitbucket Cloud host returns
|
|
597
607
|
the typed `host.unsupported` error.
|
|
598
608
|
|
|
609
|
+
### Mirror Servers _(Bitbucket Server / DC only)_
|
|
610
|
+
|
|
611
|
+
List and inspect Smart Mirror servers configured on a Bitbucket Server instance.
|
|
612
|
+
|
|
613
|
+
```bash
|
|
614
|
+
# List all mirror servers
|
|
615
|
+
bitbottle mirror list --hostname git.example.com
|
|
616
|
+
|
|
617
|
+
# View a specific mirror server
|
|
618
|
+
bitbottle mirror view MIRROR-ID --hostname git.example.com
|
|
619
|
+
|
|
620
|
+
# List repos mirrored by a specific server
|
|
621
|
+
bitbottle mirror repo list MIRROR-ID --hostname git.example.com
|
|
622
|
+
|
|
623
|
+
# JSON output
|
|
624
|
+
bitbottle mirror list --hostname git.example.com --json
|
|
625
|
+
bitbottle mirror view MIRROR-ID --hostname git.example.com --json
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
Requires the Bitbucket Server Mirror module to be enabled and at least one mirror configured.
|
|
629
|
+
|
|
599
630
|
### Permissions _(Bitbucket Server / DC only)_
|
|
600
631
|
|
|
601
632
|
Manage user and group permissions for projects and repositories.
|