Page MenuHomeSoftware Heritage

Fix support of VCSs whose HEAD branch is an alias.
ClosedPublic

Authored by vlorentz on Jan 7 2020, 5:46 PM.

Details

Summary

Removing these methods causes the indexer to fall back to
the default (_try_get_head_generic), which already does
the right thing.

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10001
Build 14796: tox-on-jenkinsJenkins
Build 14795: arc lint + arc unit

Event Timeline

olasd added a subscriber: olasd.

All this logic should probably end up in swh.storage.algorithms, because I'm sure swh.web also has a subtly different algorithm to pick a default branch.

This revision is now accepted and ready to land.Jan 7 2020, 5:51 PM