Module: OodPackaging
- Defined in:
- lib/ood_packaging/options.rb,
lib/ood_packaging.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.12.0'
- PACKAGE_VERSION =
{ 'ondemand-release' => { '(ubuntu|debian)' => '3.1.0', 'default' => '3.1' }, 'ondemand-release-latest' => { '(ubuntu|debian)' => '2', 'default' => '1-8' }, 'ondemand-runtime' => '3.1.3', 'scl-utils' => '2.0.3', 'passenger' => '6.0.17', 'cjose' => '0.6.1', 'mod_auth_openidc' => '2.4.14.1', 'sqlite' => '3.26.0-4', 'ondemand_exporter' => '0.10.0', 'ondemand-compute' => { '(ubuntu|debian)' => '3.1.0', 'default' => '3.1.0' }, 'python-websockify' => '0.10.0', 'turbovnc' => '2.2.5' }.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 |