repoman.common.sources package¶
Submodules¶
repoman.common.sources.copr module¶
Usage:
https?://${copr_host}/*
Handles copr build urls
repoman.common.sources.dir module¶
Usage:
dir_path
file_path
dir:repo_name
Will find all the matching artifacts under the specified dir or the given file. If relative path passed, it will be relative to the base_repos_path config value
Configuration values:
- allowed_dir_paths
- Comma separated list of paths or empty string. If set, will not allow using any path/dir/repo from outside of those paths.
-
class
repoman.common.sources.dir.
DirSource
(config, stores)[source]¶ Bases:
repoman.common.sources.ArtifactSource
Usage:
dir_path file_path dir:repo_name
Will find all the matching artifacts under the specified dir or the given file. If relative path passed, it will be relative to the base_repos_path config value
Configuration values:
- allowed_dir_paths
- Comma separated list of paths or empty string. If set, will not allow using any path/dir/repo from outside of those paths.
-
CONFIG_SECTION
= 'DirSource'¶
-
DEFAULT_CONFIG
= {'allowed_dir_paths': ''}¶
repoman.common.sources.jenkins module¶
Allows you to define a jenkins build job url as a source:
- If it’s a build -> the artifacts archived on that build
- If it’s a job -> the artifacts from the last successful build
- If it’s a multiconfig build -> the artifacts from all the configs
- For example::
- repoman myrepo add
- http://jenkins.ovirt.org/jobs/lago_master_build-artifacts-el7-x86_64
will get the latest successful build artifacts for that job.
Keep in mind that if the url does not match the regexp in the config, you can still force repoman to use this source prepending the url with ‘jenkins:’, like this:
repoman myrepo add \
jenkins:http://some.strange.url/to/my_job
-
class
repoman.common.sources.jenkins.
JenkinsSource
(config, stores)[source]¶ Bases:
repoman.common.sources.ArtifactSource
Allows you to define a jenkins build job url as a source:
- If it’s a build -> the artifacts archived on that build
- If it’s a job -> the artifacts from the last successful build
- If it’s a multiconfig build -> the artifacts from all the configs
- For example::
- repoman myrepo add
- http://jenkins.ovirt.org/jobs/lago_master_build-artifacts-el7-x86_64
will get the latest successful build artifacts for that job.
Keep in mind that if the url does not match the regexp in the config, you can still force repoman to use this source prepending the url with ‘jenkins:’, like this:
repoman myrepo add \ jenkins:http://some.strange.url/to/my_job
-
CONFIG_SECTION
= 'JenkinsSource'¶
-
DEFAULT_CONFIG
= {'jenkins_host_re': 'jenkins\\.ovirt\\.org'}¶
repoman.common.sources.kojibuild module¶
Usage:
koji:name@tag
koji:@tag[@inherit]
koji:name-version-release
Handles koji builds
-
class
repoman.common.sources.kojibuild.
KojiBuildSource
(config, stores)[source]¶ Bases:
repoman.common.sources.ArtifactSource
Usage:
koji:name@tag koji:@tag[@inherit] koji:name-version-release
Handles koji builds
-
CONFIG_SECTION
= 'KojiBuildSource'¶
-
DEFAULT_CONFIG
= {'koji_extra_opts': 'krbservice=host', 'koji_server': 'https://koji.fedoraproject.org/kojihub', 'koji_skip_unavailable': 'true', 'koji_topurl': 'https://kojipkgs.fedoraproject.org/'}¶
-
repoman.common.sources.kojiurl module¶
Usage:
https?://${koji_host}/*
Handles koji build urls
- TODO: Improve the second level detections (now filtering buildArch and
- buildSRPM links only)
-
class
repoman.common.sources.kojiurl.
KojiURLSource
(config, stores)[source]¶ Bases:
repoman.common.sources.ArtifactSource
Usage:
https?://${koji_host}/*
Handles koji build urls
- TODO: Improve the second level detections (now filtering buildArch and
- buildSRPM links only)
-
CONFIG_SECTION
= 'KojiURLSource'¶
-
DEFAULT_CONFIG
= {'koji_host_re': 'koji\\.fedoraproject\\.org'}¶
repoman.common.sources.url module¶
Parse a url, recursively or not.
Usage:
URL -> Will parse the url and get all the packages in that page
rec:URL -> Will parse the urls recursively
-
class
repoman.common.sources.url.
URLSource
(config, stores)[source]¶ Bases:
repoman.common.sources.ArtifactSource
Parse a url, recursively or not.
Usage:
URL -> Will parse the url and get all the packages in that page rec:URL -> Will parse the urls recursively
-
CONFIG_SECTION
= 'URLSource'¶
-
DEFAULT_CONFIG
= {}¶
-