Method: Autoproj::PackageSet.resolve_definition
- Defined in:
- lib/autoproj/package_set.rb
.resolve_definition(ws, raw_spec, from: nil, raw: Array.new, vars: default_expansions(ws)) ⇒ Object
Resolve the VCS information for a package set
This parses the information stored in the package_sets section of autoproj/manifest, r the imports section of the source.yml files and returns the corresponding VCSDefinition object
314 315 316 317 318 319 320 321 322 |
# File 'lib/autoproj/package_set.rb', line 314 def self.resolve_definition(ws, raw_spec, from: nil, raw: Array.new, vars: default_expansions(ws)) spec = VCSDefinition.normalize_vcs_hash(raw_spec, base_dir: ws.config_dir) , vcs_spec = Kernel. spec, auto_imports: true vcs_spec = Autoproj.(vcs_spec, vars) [VCSDefinition.from_raw(vcs_spec, from: from, raw: raw), ] end |