Skip to content

Commit

Permalink
Update help messages of CLI commands
Browse files Browse the repository at this point in the history
  • Loading branch information
lbarcziova authored Jan 21, 2025
1 parent 8488924 commit ac4bdd7
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions docs/cli/dist-git/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ Create a Packit's dist-git configuration for release syncing to Fedora.

By default, all 3 jobs (`pull_from_upstream`, `koji_build`, `bodhi_update`)
for release syncing are configured. You can use --no-pull, --no-koji-build
or --no-bodhi-update options to not add some of the jobs (at the moment,
Bodhi updates are created only for Koji builds built by Packit, therefore
--no-koji-build implies also no Bodhi update job).
or --no-bodhi-update options to not add some of the jobs.

You can either create the Packit config file only locally (default), or
create a pull request (using --create-pr option) or push directly to the
Expand All @@ -38,14 +36,23 @@ Create a Packit's dist-git configuration for release syncing to Fedora.

Examples

Local generation for dist-git repo in current working directory:
Local Packit configuration generation for a dist-git repo in the current
working directory:



$ packit dist-git init

Local Packit configuration generation for a dist-git repo in the current
working directory configuring git URL for cloning of the upstream
repository:

$ packit dist-git init --upstream-git-url https://github.com/packit/packit .

Local generation for dist-git repo specified by URL that will be cloned to
`<my-package>` dir:
Local Packit configuration generation for a dist-git repo specified by URL
that will be cloned to `<my-package>` dir:

$ packit dist-git init --upstream-git-url https://github.com/packit/packit --clone-path
$ packit dist-git init --clone-path
`<my-package>` https://src.fedoraproject.org/rpms/packit

Using arbitrary configuration options that are not provided as the command
Expand Down

0 comments on commit ac4bdd7

Please sign in to comment.