1PACKIT UPDATE-DIST-GIT(1)packit update-dist-git ManualPACKIT UPDATE-DIST-GIT(1)
2
3
4

NAME

6       packit-update-dist-git - Update a dist-git repository using content...
7

SYNOPSIS

9       packit update-dist-git [OPTIONS] SOURCE_GIT DIST_GIT
10

DESCRIPTION

12       Update a dist-git repository using content from a source-git repository
13
14       Update  a dist-git repository with patches created from the commits be‐
15       tween <upstream_ref> and the current HEAD of the source-git repo.
16
17       This command, by default, performs only local operations and  uses  the
18       content  of  the  source-git and dist-git repository as it is: does not
19       checkout branches or fetches remotes.
20
21       A commit in dist-git is created only if a commit  message  is  provided
22       with --message or --file.
23
24       The  source  archives are retrieved from the upstream URLs specified in
25       the spec-file and uploaded to the lookaside cache in dist-git only if
26
27       Examples:
28
29       To update a dist-git repo from source-git without uploading the source-
30       archive  to the lookaside cache and creating a commit with the updates,
31       run:
32
33
34           $  packit   -c   src/curl/.distro/source-git.yaml   update-dist-git
35       src/curl rpms/curl
36
37       To  also commit the changes and upload the source-archive to the looka‐
38       side-cache specify -m and --pkg-tool:
39
40
41           $  packit   -c   src/curl/.distro/source-git.yaml   update-dist-git
42       -m'Update   from  source-git'  --pkg-tool  fedpkg              src/curl
43       rpms/curl
44

OPTIONS

46       --upstream-ref TEXT
47              Git ref of the last upstream commit in the current  branch  from
48              which  packit  should  generate patches (this option implies the
49              repository is source-git).
50
51       --pkg-tool TEXT
52              Name or path of the packaging tool used to work with sources  in
53              the dist-git repo. A variant of 'rpkg'.
54
55       Skip retrieving and uploading source archives to the lookaside cache if
56       not specified.
57
58       -m, --message <msg>
59              Commit the changes in the dist-git repository and use  <msg>  as
60              the commit message.
61
62       Mutually exclusive with -F.
63
64       -F, --file <file>
65              Commit  the changes in the dist-git repository and take the com‐
66              mit message from <file>. Use - to read from the standard input.
67
68
69
70                                  2021-05-31         PACKIT UPDATE-DIST-GIT(1)
Impressum