dmd owners set
dmd owners set
Set the ownership of repo(s) in bulk
Usage
set owner [notes]
Examples
# set the owner for a whole organisation, `jamietanna`, (regardless of the `platform` or `repo`) to be `Jamie Tanna`.
dmd owners set 'Jamie Tanna' --organisation jamietanna
# Set a specific repository to have the owner name `Job DSL Plugin developers`, with the notes `https://github.com/orgs/jenkinsci/teams/job-dsl-plugin-developers`,
dmd owners set --platform 'github' --organisation jenkinsci --repo job-dsl-plugin 'Job DSL Plugin developers' 'https://github.com/orgs/jenkinsci/teams/job-dsl-plugin-developers'
Synopsis
Set the ownership of repo(s) in bulk, by using flags to filter
At least one of the command-line flags --platform
, --organisation
, or --repo
are required.
See the examples for an idea of how the filtering works.
Options
Flag (type) | Usage | Notes |
---|---|---|
-h, --help
|
help for set |
|
--organisation (string)
|
Set ownership information to the given owner, limited to the specific organisation. Leaving empty will match against any organisation |
|
--platform (string)
|
Set ownership information to the given owner, limited to the specific platform. Leaving empty will match against any platform |
|
--repo (string)
|
Set ownership information to the given owner, limited to the specific repo. Leaving empty will match against any repo |
|
Options inherited from parent commands
Flag (type) | Usage | Notes |
---|---|---|
--db (string)
|
the path to the input/output database |
|
--debug
|
whether to enable debug logging |
|
Related
dmd owners
- Manage the ownership of repositories