Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rpm-software-management/createrepo_c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2019-05-03 19:06:13 +0300
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>2019-05-16 01:27:27 +0300
commit15484a385bd48020c76085ce1b157ce4ce37b088 (patch)
tree38f101241a05407b715cdf0715ddcd701963d939 /src/koji.h
parent26b6c59a3ca3c25e2f34109387b8ae02596db15b (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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/koji.h b/src/koji.h
index 2e4ea1a..7d8e91d 100644
--- a/src/koji.h
+++ b/src/koji.h
@@ -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,