Page MenuHomeSoftware Heritage

algos/snapshot: Add function to resolve branch alias to real target
AbandonedPublic

Authored by anlambert on Nov 2 2020, 5:57 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Maniphest Tasks
T2734: Investigate timeout issues when querying snapshot data
Summary

The function returns a list of branches followed until the alias gets resolved
to a branch whose target type is not an alias.

Related to T2734

Diff Detail

Repository
rDSTO Storage manager
Branch
snapshot-resolve-alias
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16791
Build 25889: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 25888: arc lint + arc unit

Event Timeline

I forgot to pass the update option to arc. Abandoning this and update D4369 instead.

Build is green

Patch application report for D4393 (id=15562)

Rebasing onto 6e3e35096f...

Current branch diff-target is up to date.
Changes applied before test
commit 06adee71227e6f0150251f643b4fab68f344a3a2
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Oct 27 16:45:11 2020 +0100

    algos/snapshot: Add function to resolve branch alias to real target
    
    Related to T2734

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