Changes

Jump to navigation Jump to search
Line 256: Line 256:     
Spec option ''repos'' can add new repositories or reset predefined ones.
 
Spec option ''repos'' can add new repositories or reset predefined ones.
 +
 +
== Versioning ==
 +
 +
Versioning scheme for Zero packages could be arbitrary, since ''version'' spec option supports [http://0install.net/interface-spec.html#id4016582 0install version format]. But in some cases, e.g. libraries, more strict versioning could be useful. In that case ''age'' spec option could be used.
 +
 +
Spec option ''age'' is intended to support, mostly, library packages API breakages. Not ABI, because tracking ABI is not trivial within sugar ecosystem (possible hugeness of code base of different quality)
 +
and useless since packages could be all time rebuild from sources.
 +
 +
Using ''age'' option is simple, on every API breakage of library package, increment ''age'' value. Final package version will be:
 +
<age-option>.<version-option>
    
== Glob patterns ==
 
== Glob patterns ==

Navigation menu