| Module | Pkg::Util::Version |
| In: |
lib/packaging/util/version.rb
|
Utility methods used for versioning projects for various kinds of packaging
| GIT | = | Pkg::Util::Tool::GIT |
| is_git_repo? | -> | is_git_repo |
Utility method to return the dist method if this is a redhat box. We use this in rpm packaging to define a dist macro, and we use it in the pl:fetch task to disable ssl checking for redhat 5 because it has a certs bundle so old by default that it‘s useless for our purposes.
Return information about the current tree, using `git describe`, ready for further processing.
Returns an array of one to four elements, being:
Determines if this package is a final package via the selected version_strategy. There are currently two supported version strategies.
This method calls down to the version strategy indicated, defaulting to the rc_final strategy. The methods themselves will return false if it is a final release, so their return values are collected and then inverted before being returned.
the odd_even strategy (mcollective) final: ‘0.8.0’ ‘1.8.0-63’ ‘0.8.1-63-dirty’ development: ‘0.7.0’ ‘1.7.0-63’ ‘0.7.1-63-dirty‘