diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2019-05-03 19:06:13 +0300 |
---|---|---|
committer | Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com> | 2019-05-16 01:27:27 +0300 |
commit | 15484a385bd48020c76085ce1b157ce4ce37b088 (patch) | |
tree | 38f101241a05407b715cdf0715ddcd701963d939 /src/koji.h | |
parent | 26b6c59a3ca3c25e2f34109387b8ae02596db15b (diff) |
Add --pkgorigins mode
When handling modules, we want a mode of operation for Koji that
handles the pkgorigins file but does not do any of the other
filtering or blocking that the --koji mode does.
Note: this patch doesn't need to change any code where the
pkgorigins file is actually populated, because it was already
conditionalized merely on the koji_stuff->pkgorigins pointer
being non-NULL, not driven by the cmd_options->koji.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'src/koji.h')
-rw-r--r-- | src/koji.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -80,6 +80,11 @@ struct KojiMergedReposStuff { gboolean simple; }; +/* Limited version of koji_stuff_prepare() that sets up only pkgorigins */ +int +pkgorigins_prepare(struct KojiMergedReposStuff **koji_stuff_ptr, + const gchar *tmpdir); + int koji_stuff_prepare(struct KojiMergedReposStuff **koji_stuff_ptr, struct CmdOptions *cmd_options, |