Module: OodPackaging
- Defined in:
- lib/ood_packaging.rb,
lib/ood_packaging/options.rb,
lib/ood_packaging/version.rb
Overview
Version code for OodPackaging
Defined Under Namespace
Modules: Utils Classes: Build, BuildBox, Package, RakeTask
Constant Summary collapse
- OPTIONS =
[:package, :version, :dist, :arch, :work_dir, :clean_work_dir, :output_dir, :clean_output_dir, :tar, :tar_only, :skip_download, :gpg_sign, :gpg_name, :gpg_pubkey, :gpg_private_key, :gpg_passphrase, :debug, :attach].freeze
- VERSION =
'0.19.0'- PACKAGE_VERSION =
{ 'ondemand-release' => { '(ubuntu|debian)' => '4.1.0', 'default' => '4.1' }, 'ondemand-release-latest' => { '(ubuntu|debian)' => '6', 'default' => '1-8' }, 'ondemand-runtime' => '4.1.0-2', 'scl-utils' => '2.0.3', 'passenger' => { '(ubuntu|debian)' => '6.1.0', 'default' => '6.1.0-2' }, 'ondemand_exporter' => '0.11.2', 'ondemand-compute' => { '(ubuntu|debian)' => '4.1.0', 'default' => '4.1.0' }, 'python-websockify' => '0.11.0-2', 'turbovnc' => '3.2.1' }.freeze
Class Method Summary collapse
Class Method Details
.package_version(package, dist) ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/ood_packaging/version.rb', line 30 def self.package_version(package, dist) return PACKAGE_VERSION[package] if PACKAGE_VERSION[package].is_a?(String) PACKAGE_VERSION[package].each_pair do |k, v| return v if dist =~ /#{k}/ end PACKAGE_VERSION[package]['default'] end |