Class: Paludis::Environment

Represents a working environment, which contains an available packages database and provides various methods for querying package visibility and options.

Public Instance Methods


[](Selection) → Array of PackageID

Fetch PackageID instances using the supplied Selection.


accept_keywords(keywords, package_id) → true or false

Do we accept any of the specified keywords for a particular package?


accept_license(license, package_id) → true or false

Do we accept a particular license for a particular package?


default_destinations → Array

Default: All repositories that provide RepositoryDestinationInterface and mark themselves as a default destination.


mirrors(mirror_name) → Array

Return the mirror URI prefixes for a named mirror.



root → String

Default root location, default is /.


set(set_name) → DepSpec

Fetch a named package set as a DepSpec.