repoman.common.filters package¶
Submodules¶
repoman.common.filters.latest module¶
Usage:
source:latest
source:latest=N
Get’s the latest N rpms (1 by default)
repoman.common.filters.name module¶
Usage:
source:name~regexp
Filter packges by file name, for example:
http://myhost.com/packages/:name~vdsm.*
Will match all the packages in that url that have vdsm.* as name (will not match any previous path in the url)
-
class
repoman.common.filters.name.
NameFilter
(config, stores)[source]¶ Bases:
repoman.common.filters.ArtifactFilter
Usage:
source:name~regexp
Filter packges by file name, for example:
http://myhost.com/packages/:name~vdsm.*
Will match all the packages in that url that have vdsm.* as name (will not match any previous path in the url)
-
CONFIG_SECTION
= 'NameFilter'¶
-
DEFAULT_CONFIG
= {}¶
-
repoman.common.filters.only_missing module¶
Usage:
source:only-missing
Gets only the artifacts that are not already there, getting only the ones that don’t have already an artifact with the same name in the repo.
It will take only the latest from the source repo if there are multiple versions available
-
class
repoman.common.filters.only_missing.
OnlyMissingFilter
(config, stores)[source]¶ Bases:
repoman.common.filters.ArtifactFilter
Usage:
source:only-missing
Gets only the artifacts that are not already there, getting only the ones that don’t have already an artifact with the same name in the repo.
It will take only the latest from the source repo if there are multiple versions available
-
CONFIG_SECTION
= 'OnlyMissingFilter'¶
-
DEFAULT_CONFIG
= {}¶
-