Page MenuHomeSoftware Heritage

Add an unweighted average for filtered_objects + fix existing metric name
ClosedPublic

Authored by vlorentz on May 20 2022, 3:11 PM.

Diff Detail

Repository
rDLDG Git loader
Branch
storage-metrics
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 29512
Build 46115: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 46114: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D7873 (id=28421)

Could not rebase; Attempt merge onto 85a4794094...

Updating 85a4794..5ced09d
Fast-forward
 requirements-swh.txt                |   2 +-
 swh/loader/git/base.py              | 128 ++++++++++++++++++++++++++++++++++++
 swh/loader/git/from_disk.py         |   4 +-
 swh/loader/git/loader.py            |   4 +-
 swh/loader/git/tests/test_loader.py |  99 +++++++++++++++++++++++++++-
 5 files changed, 230 insertions(+), 7 deletions(-)
 create mode 100644 swh/loader/git/base.py
Changes applied before test
commit 5ced09db7e6636c0959cca2bb36088b2e3a86e4f
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri May 20 15:10:55 2022 +0200

    Add an unweighted average for filtered_objects + fix existing metric name

commit f45ca1c2c0fac2f57cd1b43af984251078c89169
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri May 20 13:46:58 2022 +0200

    Add metrics in store_data on ratios of objects already stored

commit 083e1aa18e24cd3311162e259b15c1867b313060
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri May 20 12:16:23 2022 +0200

    Move store_data from DVCSLoader to a new BaseGitLoader
    
    In preparation for the removal of DVCSLoader from swh.loader.core,
    as the git loader is the only one to use it anymore.

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

This revision is now accepted and ready to land.May 20 2022, 4:02 PM