Page MenuHomeSoftware Heritage

Git loader implementations divergence point of attention
Closed, MigratedEdits Locked

Description

It appears both the from_disk [1] (swh.loader.git.from_disk.GitLoaderFromDisk) and the
production (swh.loader.git.loader.GitLoader) implementations grew some objects check
divergence.

Some checks are done in the from_disk implementation [3] that is not used in the main
implementation (understand the one used in production).

One diff recently landed that increases that divergence [2].

[1] One of the implementations used to ingest gitorious and googlecode git origins possibly.

[2] D6069

[3] https://forge.softwareheritage.org/source/swh-loader-git/browse/master/swh/loader/git/from_disk.py$0-129