class Archlinux::AurPackageList
Public Class Methods
new(*args, **opts)
click to toggle source
Calls superclass method
Archlinux::InstallPackageList::new
# File lib/aur/install_packages.rb, line 142 def initialize(*args, **opts) super # @install_list=self.class.cache @install_list=@config.install_list #AurMakepkgCache.new(**opts) # TODO this won't work if we use several PackageList with the same # cache at the same time @install_list.install_list_of=self @children_mode=%i(depends make_depends check_depends) @install_method=method(:install_method) @query_ignore=official end
official()
click to toggle source
# File lib/aur/install_packages.rb, line 138 def self.official @official||=%w(core extra community).map {|repo| Repo.new(repo).list(mode: :pacman)}.flatten.compact end
Public Instance Methods
official()
click to toggle source
# File lib/aur/install_packages.rb, line 154 def official self.class.official end