Page MenuHomeSoftware Heritage

from_disk: Do not drop tags with missing tagger or date
ClosedPublic

Authored by vlorentz on Aug 6 2021, 7:46 PM.

Details

Summary

Old versions of Git didn't writer them, eg. see tags refs/tags/v2.6.11
to refs/tags/v2.6.13-rc3 in linux.git

Diff Detail

Repository
rDLDG Git loader
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 D6069 (id=21978)

Rebasing onto 92ef526eb6...

Current branch diff-target is up to date.
Changes applied before test
commit 5448b7b1615d0eb9593d9adc0393bef51a42ef16
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Aug 6 19:46:18 2021 +0200

    from_disk: Do not drop tags with missing tagger or date
    
    Old versions of Git didn't writer them, eg. see tags refs/tags/v2.6.11
    to refs/tags/v2.6.13-rc3 in linux.git

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

This revision is now accepted and ready to land.Aug 9 2021, 11:32 AM

is there some plan to reunify the loader and from_disk implementation?

Beware the spurious prints in the implementation.

No idea, I don't know why it's designed that way.

is there some plan to reunify the loader and from_disk implementation?

No idea, I don't know why it's designed that way.

I've created T3472 to not forget about this.