You are here: Home / LBN / Up2date / Core Linux / BastionLinux 19 / erlang-rebar-vsn-plugin-20140609-2.lbn19.x86_64

erlang-rebar-vsn-plugin-20140609-2.lbn19.x86_64

Package Attributes
RPM  erlang-rebar-vsn-plugin-20140609-2.lbn19.x86_64.rpm Architecture  x86_64 Size  8965 Created  2019/09/30 06:55:50 UTC
Package Specification
Summary Provides a more reasonable versioning scheme then the rebar standard 'git' vsn extension
Group Development/Libraries
License MIT
Home Page https://github.com/%{github_username}/rebar_vsn_plugin
Description

This plugin is designed to take the latest semver compatible tag and turn it into a semver compatible version for the OTP Application. One of the key things it does (aside from making sure that semver is respected) is insure that there is a unique monotonically increasing version for each commit built. It does this by creating a version from both the latest tag, the epoch timestamp and the ref. The ref is actually only there to make the version human readable.

So lets say you have a repository with the tag v0.0.1 and the epoch 1348518514 on the latest commit identified by 26ff3c6 then you would end up with the version 0.0.1+build.1348518514.26ff3c6. While that version string is long, it is perfectly accurate, semver compatible, and works well with OTP. This solves many of the current versioning problems with rebar and erlang OTP Apps.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(PayloadIsXz)  
rpmlib(CompressedFileNames)  
Provides
erlang-rebar-vsn-plugin
erlang-rebar-vsn-plugin(x86-64)
erlang-rebar_vsn_plugin

Document Actions