1PACKIT PREPARE-SOURCES(1)packit prepare-sources ManualPACKIT PREPARE-SOURCES(1)
2
3
4

NAME

6       packit-prepare-sources - Prepare sources for a new SRPM build using...
7

SYNOPSIS

9       packit prepare-sources [OPTIONS] [PATH_OR_URL]
10

DESCRIPTION

12       Prepare  sources  for  a  new  SRPM build using content of the upstream
13       repository.  Determine version, create an archive or download  upstream
14       and  create  patches  for sourcegit, fix/update the specfile to use the
15       right archive, download the remote sources.  Behaviour can  be  custom‐
16       ized  by  specifying actions (post-upstream-clone, get-current-version,
17       create-archive, create-patches, fix-spec-file) in the configuration.
18
19       PATH_OR_URL argument is a local path or  a  URL  to  the  upstream  git
20       repository, it defaults to the current working directory
21

OPTIONS

23       --result-dir DIR
24              Copy  the sources into DIR. By default, `prepare_sources_result`
25              directory in the current working directory is created.
26
27       --upstream-ref TEXT
28              Git ref of the last upstream commit in the current  branch  from
29              which  packit  should  generate patches (this option implies the
30              repository is source-git).
31
32       --bump / --no-bump
33              Specifies whether to bump version or not.
34
35       --release-suffix TEXT
36              Specifies release suffix.  Allows  to  override  default  gener‐
37              ated:{current_time}.{sanitized_current_branch}{git_desc_suffix}
38
39       --default-release-suffix
40              Allows  to  use  default,  packit-generated, release suffix when
41              some release_suffix is specified in the configuration.
42
43       --job-config-index INTEGER
44              Internal option to override package config found in the  reposi‐
45              tory  with  job  config with given index (needed for packit ser‐
46              vice).
47
48       --ref TEXT
49              Git reference to checkout.
50
51       --pr-id TEXT
52              Specifies PR to checkout.
53
54       --merge-pr / --no-merge-pr
55              Specifies whether to merge PR into the base branch in case pr-id
56              is specified.
57
58       --target-branch TEXT
59              Specifies target branch which PR should be merged into.
60
61
62
63                                  2022-06-29         PACKIT PREPARE-SOURCES(1)
Impressum