HomeSoftware Heritage

debian: Fix confusion between the two versions

Description

debian: Fix confusion between the two versions

'version' was documented as the intrinsic version (eg. '0.7.2-3') and
'full_version' as the one containing the suite name (eg. 'stretch/contrib/0.7.2-3').

In practice, it was the opposite, except in a few incorrect test.

This commit fixes said tests, and renamed 'full_version' to
'intrinsic_version'.

This is only a refactoring, the behavior is unchanged for now;
but a future commit will remove the 'version' (which is extrinsic) from
the release name (which should contain only data intrinsic to the DSC).

Details

Provenance
vlorentzAuthored on Dec 6 2021, 1:48 PM
vlorentzPushed on Dec 7 2021, 1:25 PM
Differential Revision
D6748: debian: Fix confusion between the two versions
Parents
rDLDBASE2d9e93a2f246: debian: Add md5 sum fallback when sha* checksum is missing in metadata
Branches
Unknown
Tags
Unknown
Build Status
Buildable 25425
Build 39746: test-and-buildJenkins console · Jenkins