SolverRepositoryBase(uri, user=None, secret=None)¶
Base class interface for SAT solvable creation.
param object uri: Instance of
Create SAT solvable for this repository from previously created intermediate solvables by merge and store the result solvable in the specified target_dir
Parameters: target_dir (str) – path name Returns: file path to solvable Return type: str
Download given source file from the repository and store it as target file
The repo_source location is used relative to the repository location and will be part of a mime type source like:
- repo_source (str) – source file in the repo
- target (str) – file path
KiwiUriOpenError – if the download fails
Check if repository metadata is up to date
Returns: True or False Return type: bool
Return repository timestamp
The retrieval of the repository timestamp depends on the type of the repository and is therefore supposed to be implemented in the specialized Solver Repository classes. If no such implementation exists the method returns the value ‘static’ to indicate there is no timestamp information available.
Return type: str
SolverRepositoryRpmMd(uri, user=None, secret=None)¶
Class for SAT solvable creation for rpm-md type repositories.
Get timestamp from the first primary metadata
Returns: time value as text Return type: str
SolverRepositoryRpmDir(uri, user=None, secret=None)¶
Class for SAT solvable creation for rpm_dir type repositories.