Page MenuHomeSoftware Heritage

Small refactoring of the InMemoryStorage to make it more consistent
ClosedPublic

Authored by douardda on Jun 5 2020, 12:33 PM.

Details

Summary
  • make self._persons a dict
  • make self._snapshots value Snapshot only instead of the couple (Snapshot, sorted_branch_names)

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D3231 (id=11456)

Rebasing onto 25f584ffc4...

Current branch diff-target is up to date.
Changes applied before test
commit c75da7a90e1d9c1418600b1b9519afc2ab447d6e
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jun 5 12:25:58 2020 +0200

    Small refactoring of the InMemoryStorage to make it more consistent
    
    - make self._persons a dict
    - make self._snapshots value Snapshot only instead of the couple
      (Snapshot, sorted_branch_names)

See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/228/ for more details.

ardumont added a subscriber: ardumont.

That simplifies ;)

This revision is now accepted and ready to land.Jun 5 2020, 2:34 PM