Class: Autoproj::RepositoryManagers::Manager

Inherits:
Object
  • Object
show all
Defined in:
lib/autoproj/repository_managers/manager.rb

Overview

Base class for all repository managers. Subclasses must add the #install(entries) method

Repository managers must be registered in OS_REPOSITORY_MANAGERS

Direct Known Subclasses

APT, UnknownOSManager

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ws) ⇒ Manager

Create a repository manager

Parameters:

  • ws (Workspace)

    the underlying workspace



14
15
16
# File 'lib/autoproj/repository_managers/manager.rb', line 14

def initialize(ws)
    @ws = ws
end

Instance Attribute Details

#wsWorkspace (readonly)

Returns the workspace.

Returns:



9
10
11
# File 'lib/autoproj/repository_managers/manager.rb', line 9

def ws
  @ws
end

Instance Method Details

#install(definitions) ⇒ Object



18
19
# File 'lib/autoproj/repository_managers/manager.rb', line 18

def install(definitions)
end

#os_dependenciesObject



21
22
23
# File 'lib/autoproj/repository_managers/manager.rb', line 21

def os_dependencies
    []
end