Build And Branch Versions

Status

Details

The question is the format of version that dpkg will recognise as a binary-only NMU, an upload that changes the binary version of the package but not the source version.

The reason we want this is so dpkg can obtain the original source version from the binary version and arrange matters such that both ${Source-Version} and the Source: header reflect this.

Using wibble in the following example as the binary-only NMU identifier, we want to achieve:

Source: foo (1.2-3)
Binary: foo
Version: 1.2-3wibble
Depends: foo-common (= 1.2-3)

This solves:

This does not solve:

The choice of format is important for its sorting properties:

a) it must sort higher than the previous version of the package;

b) it must sort lower than the next version of the package, including minor/NMU revisions;

c) it must sort lower than security and cdd uploads, though we have the freedom to suggest a change of format for these;

The formats suggested so far:

Other Ideas

dpkg: BuildAndBranchVersions (last edited 2005-07-17 11:46:02 by ScottJamesRemnant)