NAME
Youri::Media::URPM - URPM-based media implementation
DESCRIPTION
This is an URPM-based Youri::Media implementation.
It can be created either from local or remote full (hdlist) or partial (synthesis) compressed header files, or from a package directory. File-based inputs are only usable with this latest option.
CLASS METHODS
new(%args)
Creates and returns a new Youri::Media::URPM object.
Specific parameters:
- synthesis $synthesis
-
Path, URL or list of path or URL of synthesis file used for creating this media. If a list is given, the first successfully accessed will be used, so as to allow better reliability.
- hdlist $hdlist
-
Path, URL or list of path or URL of hdlist file used for creating this media. If a list is given, the first successfully accessed will be used, so as to allow better reliability.
- path $path
-
Path of package directory used for creating this media.
- max_age $age
-
Maximum age of packages for this media.
- rpmlint_config $file
-
rpmlint configuration file for this media.
- preload $level
-
Allows to parse headers at object creation, rather than lazily if really needed. (default: Youri::Media::URPM::None)
- cache true/false
-
Cache headers once parsed (default: true)
In case of multiple synthesis, hdlist and path options given, they will be tried in this order, so as to minimize parsing time.
INSTANCE METHODS
get_hdlist()
Returns hdlist used for creating this media, if any.
get_path()
Returns path used for creating this media, if any.
COPYRIGHT AND LICENSE
Copyright (C) 2002-2006, YOURI project
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.