Sha256: 06e877081ec6558b87572a39101a3f16e60782d38729a9d55ace54577e1bc571

Contents?: true

Size: 906 Bytes

Versions: 14

Compression:

Stored size: 906 Bytes

Contents

#! /usr/bin/env ruby

require 'autoproj'
require 'autoproj/cmdline'
require 'pp'

Autoproj.silent = true
root_dir  = Autoproj::CmdLine.initialize_root_directory
selection = Autoproj::CmdLine.initialize_and_load(ARGV)

selection.each do |name|
    puts "resolved '#{name}' with"
    resolved = Autoproj.manifest.resolve_package_name(name)

    packages, osdeps = resolved.partition { |type, name| type == :package }
    packages = packages.map(&:last)
    osdeps   = osdeps.map(&:last)

    puts "#{packages.size} source packages"
    puts "  " + packages.sort.join("\n  ")
    puts "#{osdeps.size} OS dependencies"
    osdeps.each do |pkg_name|
        puts "  the osdep '#{pkg_name}'"
        Autoproj.osdeps.resolve_os_dependencies(pkg_name).each do |manager, packages|
            puts "    #{manager.names.first}: #{packages.map { |*subnames| subnames.join(" ") }.join(", ")}"
        end
    end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
autoproj-1.8.2.rc1 bin/autoproj-inspect
autoproj-1.8.2.b25 bin/autoproj-inspect
autoproj-1.8.2.b24 bin/autoproj-inspect
autoproj-1.8.2.b23 bin/autoproj-inspect
autoproj-1.8.2.b22 bin/autoproj-inspect
autoproj-1.8.2.b21 bin/autoproj-inspect
autoproj-1.8.2.b20 bin/autoproj-inspect
autoproj-1.8.2.b19 bin/autoproj-inspect
autoproj-1.8.2.b18 bin/autoproj-inspect
autoproj-1.8.2.b17 bin/autoproj-inspect
autoproj-1.8.2.b16 bin/autoproj-inspect
autoproj-1.8.2.b15 bin/autoproj-inspect
autoproj-1.8.2.b14 bin/autoproj-inspect
autoproj-1.8.2.b13 bin/autoproj-inspect