mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:31:47 +00:00
| .. | ||
| BUILD.bazel | ||
| main.go | ||
| README.md | ||
Bulkreposettings
A CLI tool to update an organization repositories settings in batch.
Supported operations:
- set visibility to private.
Supported codehosts:
- GitHub and GitHub enterprise.
Usage
go run ./dev/scaletesting/bulkreposettings [flags...]
Flags:
- Authenticating:
github.token: GHE Token to create the repositories (required).github.url: Base URL to the GHE instance (ex:https://ghe.sgdev.org) (required).github.org: Existing organization to create the repositories in (required).
- Managing the workload
state: sqlite database name to create or resume from (defaultstate.db)retry: Number of times to retry pushind (can be tedious at high concurrency)