HomeSoftware Heritage

Refactor the model

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

Description

Refactor the model

  • move all *Entry model classes in model.py,
  • kill the useless TreeEntry base class,
  • do not keep the archive instance as instance attribute of model objects, instead
  • implement "iterators" as explicit methods taking an ArchiveInterface object as argument,
  • refactor the code in provenance.py accordingly.

Details

Provenance
douarddaAuthored on Mar 30 2021, 2:49 PM
douarddaPushed on Apr 19 2021, 4:55 PM
Differential Revision
D5387: Refactor the model and simplify a bit origin.py
Build Status
Buildable 20849
Build 32354: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.