packit-build-in-copr - Man Page

Build selected upstream project in Copr.

Synopsis

packit build in-copr [Options] [PATH_OR_URL]

Description

Build selected upstream project in Copr.

PATH_OR_URL argument is a local path or a URL to the upstream git repository, it defaults to the current working directory.

Options

--wait / --no-wait

Wait for the build to finish

--owner TEXT

Copr user, owner of the project. (defaults to username from copr config)

--project TEXT

Project name to build in. Will be created if does not exist. (defaults to the first found project value in the config file or 'packit-cli-{repo_name}-{branch/commit}')

--targets TEXT

Comma separated list of chroots to build in. (defaults to 'fedora-rawhide-x86_64')

--description TEXT

Description of the project to build in.

--instructions TEXT

Installation instructions for the project to build in.

--list-on-homepage

Created copr project will be visible on copr's home-page.

--preserve-project

Created copr project will not be removed after 60 days.

--additional-repos TEXT

URLs to additional yum repos, which can be used during build. Comma separated. This should be baseurl from .repo file. E.g.: http://copr-be.cloud.fedoraproject.org/results/rhughes/f20-gnome-3-12/fedora-$releasever-$basearch/

--bootstrap [default|on|off|image]

mock bootstrap feature setup.

--upstream-ref TEXT

Git ref of the last upstream commit in the current branch from which packit should generate patches (this option implies the repository is source-git).

--request-admin-if-needed

Ask for admin permissions when we need to change settings of the copr project and are not allowed to do so.

--enable-net / --disable-net

Copr build is built with explicitly enabled network access or disabled

--release-suffix TEXT

Specifies release suffix. Allows to override default generated:{current_time}.{sanitized_current_branch}{git_desc_suffix}

--default-release-suffix

Allows to use default, packit-generated, release suffix when some release_suffix is specified in the configuration.

--module-hotfixes

Created copr project will have module_hotfixes set to True

-p, --package TEXT

Package to build, if more than one available, like in a monorepo configuration. Use it multiple times to select multiple packages.Defaults to all the packages listed inside the config.

Info

2024-10-22 0.102.2 packit build in-copr Manual