forked from OpenWrap/openwrap
-
Notifications
You must be signed in to change notification settings - Fork 1
Package versioning
serialseb edited this page Dec 26, 2010
·
1 revision
OpenWrap considers packages immutable. Each package has a name and a version, and the two together form a unique package identifier.
When building a package, OpenWrap tries to read the version in one of two locations.
- A file alongside your descriptor called version, and containing a version identifier
- A version section in the descriptor file.
When reading a package, OpenWrap uses the same two locations, and if not found, relies on the version in the package file name.
When building a package, if the package definition is in the form major.minor.build.*, OpenWrap will automatically generate a revision number using the date and time on the system building the package.
When resolving dependencies, OpenWrap ignores the revision part of the version (the fourth number), it is only used for marking different and compatible versions of packages.