Skip to content

Refactor the model and simplify a bit origin.py

  • kill the useless OriginIterator class,
  • remove commented thread locks
  • 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.

Note: we are far from a nice and clean model here, just trying to improve things step by step.

Depends on !11 (closed)


Migrated from D5387 (view on Phabricator)

Merge request reports