Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update help messages of CLI commands #991

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading