1PACKIT SOURCE-GIT UPpDaAcTkEi-tDIsSoTu-rGcIeT-(g1i)t updateP-AdCiKsItT-gSiOtURMCaEn-uGaIlT UPDATE-DIST-GIT(1)
2
3
4

NAME

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

SYNOPSIS

10       packit source-git update-dist-git [OPTIONS] SOURCE_GIT DIST_GIT
11

DESCRIPTION

13       Update a dist-git repository using content from a source-git repository
14
15           Update a dist-git repository with patches created from the commits
16           between <upstream_ref> and the current HEAD of the source-git repo.
17
18           This command, by default, performs only local operations and uses
19           the content of the source-git and dist-git repository as it is:
20           does not checkout branches or fetches remotes.
21
22           A commit in dist-git is created only if a commit  message  is  pro‐
23       vided with
24           --message  or --file. This commit will have a 'From-source-git-com‐
25       mit'
26           Git-trailer appended to it, to mark the hash of the source-git com‐
27       mit
28           from which it is created.
29
30           The  source archives are retrieved from the upstream URLs specified
31       in
32           the spec-file and uploaded to the lookaside cache in dist-git  only
33       if
34           '--pkg-tool' is specified.
35
36           Examples:
37
38           To  update  a  dist-git  repo from source-git without uploading the
39       source-archive
40           to the lookaside cache and creating a commit with the updates, run:
41
42
43               $ packit source-git update-dist-git src/curl rpms/curl
44
45           To also commit the changes and upload  the  source-archive  to  the
46       lookaside-cache
47           specify -m and --pkg-tool:
48
49
50               $  packit source-git update-dist-git -m'Update from source-git'
51       --pkg-tool fedpkg src/curl rpms/curl
52
53

OPTIONS

55       --upstream-ref TEXT
56              Git ref of the last upstream commit in the current  branch  from
57              which  packit  should  generate patches (this option implies the
58              repository is source-git).
59
60       --pkg-tool TEXT
61              Name or path of the packaging tool used to work with sources  in
62              the dist-git repo. A variant of 'rpkg'.
63
64       Skip retrieving and uploading source archives to the lookaside cache if
65       not specified.
66
67       -m, --message <msg>
68              Commit the changes in the dist-git repository and use  <msg>  as
69              the commit message.
70
71       Mutually exclusive with -F.
72
73       -F, --file <file>
74              Commit  the changes in the dist-git repository and take the com‐
75              mit message from <file>. Use - to read from the standard input.
76
77       -f, --force
78              Don't check the synchronization status  of  the  source-git  and
79              dist-git repos prior to performing the update.
80
81
82
83                                  2023-01-2P0ACKIT SOURCE-GIT UPDATE-DIST-GIT(1)
Impressum