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.
14           Determine version, create an archive or download upstream and  cre‐
15       ate patches for sourcegit,
16           fix/update  the specfile to use the right archive, download the re‐
17       mote sources.
18           Behaviour can be customized by specifying  actions  (post-upstream-
19       clone, get-current-version,
20           create-archive,  create-patches,  fix-spec-file)  in the configura‐
21       tion.
22
23           PATH_OR_URL argument is a local path or a URL to the  upstream  git
24       repository,
25           it defaults to the current working directory
26
27

OPTIONS

29       --result-dir DIR
30              Copy  the sources into DIR. By default, `prepare_sources_result`
31              directory in the current working directory is created.
32
33       --upstream-ref TEXT
34              Git ref of the last upstream commit in the current  branch  from
35              which  packit  should  generate patches (this option implies the
36              repository is source-git).
37
38       --update-release / --no-update-release
39              Specifies whether to update Release. Defaults to  value  set  in
40              configuration, which defaults to yes.
41
42       --bump / --no-bump
43              Deprecated. Use --[no-]update-release instead.
44
45       --release-suffix TEXT
46              Specifies  release  suffix.  Allows  to  override default gener‐
47              ated:{current_time}.{sanitized_current_branch}{git_desc_suffix}
48
49       --default-release-suffix
50              Allows to use default,  packit-generated,  release  suffix  when
51              some release_suffix is specified in the configuration.
52
53       --job-config-index INTEGER
54              Internal  option to override package config found in the reposi‐
55              tory with job config with given index (needed  for  packit  ser‐
56              vice).
57
58       --ref TEXT
59              Git reference to checkout.
60
61       --pr-id TEXT
62              Specifies PR to checkout.
63
64       --merge-pr / --no-merge-pr
65              Specifies whether to merge PR into the base branch in case pr-id
66              is specified.
67
68       --target-branch TEXT
69              Specifies target branch which PR should be merged into.
70
71       --create-symlinks / --no-create-symlinks
72              Specifies whether Packit should  create  symlinks  or  copy  the
73              files (e.g. archive outside specfile dir).
74
75       -p, --package TEXT
76              Package  to  prepare,  if  more  than  one  available, like in a
77              monorepo configuration. Use it multiple times to select multiple
78              packages.Defaults to all the packages listed inside the config.
79
80
81
820.87.1                            2023-11-30         PACKIT PREPARE-SOURCES(1)
Impressum