Youri::Repository - Abstract repository
This abstract class defines Youri::Repository interface.
Creates and returns a new Youri::Repository object.
No generic parameters (subclasses may define additional ones).
Warning: do not call directly, call subclass constructor instead.
Return package class for this repository.
Return package charset for this repository.
Return the list of additional archictectures to handle when dealing with noarch packages.
Return the list of additional archictectures to handle when dealing with noarch packages for a given target.
Get all older revisions from a package found in its installation directory, as a list of Youri::Package objects.
Get last older revision from a package found in its installation directory, as a single Youri::Package object.
Get all newer revisions from a package found in its installation directory, as a list of Youri::Package objects.
Get all revisions from a package found in its installation directory, using an optional filter, as a list of Youri::Package objects.
Get all packages obsoleted by given one, as a list of Youri::Package objects.
Get all packages replaced by given one, as a list of Youri::Package objects.
Get all files found in a directory, using an optional filtering pattern (applied to the whole file name), as a list of files.
Returns installation root
Returns install destination directory for given Youri::Package object and given target.
Returns archiving root
Returns archiving destination directory for given Youri::Package object and given target.
Returns versionning root
Returns versioning destination directory for given Youri::Package object and given target.
Returns install destination file for given Youri::Package object and given target.
Returns installation destination path (relative to repository root) for given Youri::Package object and given target.
Returns archiving destination path (relative to repository root) for given Youri::Package object and given target.
Returns versioning destination path (relative to repository root) for given Youri::Package object and given target.
The following methods have to be implemented:
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.
To install Youri::Repository, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Youri::Repository
CPAN shell
perl -MCPAN -e shell install Youri::Repository
For more information on module installation, please visit the detailed CPAN module installation guide.