Page MenuHomeSoftware Heritage

migrate_extrinsic_metadata: Filter out git revisions
ClosedPublic

Authored by vlorentz on Tue, Mar 30, 5:52 PM.

Details

Summary

They can't have any extrinsic metadata, so fetching git revisions
wastes a lot of time.

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 D5390 (id=19300)

Rebasing onto 3309765d65...

Current branch diff-target is up to date.
Changes applied before test
commit 0a270d1a7ae9d9a7b8e6010fae0db393e00a351c
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Mar 30 17:51:55 2021 +0200

    migrate_extrinsic_metadata: Filter out git revisions
    
    They can't have any extrinsic metadata, so fetching git revisions
    wastes a lot of time.

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

ardumont added a subscriber: ardumont.

oh, sounds like nice an optimization indeed.

This revision is now accepted and ready to land.Tue, Mar 30, 6:09 PM