HomeSoftware Heritage

nixguix: add the integrity attribute in release metadata

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

nixguix: add the integrity attribute in release metadata

The integrity attribute is also used by the incremental loading
feature.

Before, the url was used for incremental loading: if an url is already
existing in the last snapshot, this url is not downloaded again.

Using the url as key for this cache has several drawbacks:

  • if the upstream source is upgraded in place, the snapshot will reuse the previous version of the upstream source.
  • when the loader supports url mirrors, using the url as branch name will be confusing (we won't know which url to use)

The integrity attribute is now used as key (instead of the url).

Moreover, this integrity attribute will be useful to get artifacts
from SWH once a metadata API will be available.

Details

Provenance
lewoAuthored on Mar 27 2020, 3:06 PM
lewoPushed on Apr 2 2020, 10:41 AM
Differential Revision
D2907: nixguix: use the integrity attribute as snapshot branch name
Build Status
Buildable 11563
Build 17529: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.