Page MenuHomeSoftware Heritage

[WIP] In-memory storage implementation
AbandonedPublic

Authored by vlorentz on Nov 7 2018, 5:35 PM.

Details

Reviewers
olasd
Group Reviewers
Reviewers
Summary

This is a very work in progress in-memory storage implementation, to
help discussion around T1306 and D631.

The test data refactoring should be split off in another diff but the
scaffolding is really starting to get painful.

Test Plan

Some of the (easy) tests pass; for now all tests are marked xfail,
use pytest --runxfail to show tracebacks and try to fix them.

Diff Detail

Repository
rDSTO Storage manager
Branch
wip/in-memory-storage
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2259
Build 2718: tox-on-jenkinsJenkins
Build 2717: arc lint + arc unit

Event Timeline

olasd planned changes to this revision.Nov 7 2018, 5:35 PM
vlorentz added a reviewer: olasd.
  • More progress.
  • Add release-related methods.
  • Rename the 'ts' argument of 'origin_visit_add' to 'date'.
  • Add origin_visit_get.
  • Document metadata providers.
  • Add origin_get and metadata_provider-related methods.
  • Add origin_metadata-related methods.
  • Add origin_search.
  • Fix pg tests.
  • Add object_find_by_sha1_git.
  • Detect hash collisions.
  • Fix remaining tests.
  • Skip test_stat_counters in remote API test.
  • un-mark xfail.