Page MenuHomeSoftware Heritage

Add support for (topological) branches and merges in generate_repo.py
AbandonedPublic

Authored by douardda on Jun 17 2021, 3:15 PM.

Details

Reviewers
anlambert
Group Reviewers
Reviewers
Summary

and include an example input file (currently not used in actual tests).

Alsod make generate_storage_from_git include all branches by default
instead of only master.

Needed for future origin-to-revision layer tests.

Diff Detail

Event Timeline

Build is green

Patch application report for D5885 (id=21093)

Rebasing onto c9d1369ba1...

Current branch diff-target is up to date.
Changes applied before test
commit 56ccf4bdcc0c1d35cd498eb8789a97aeb03c20ab
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Jun 17 14:52:54 2021 +0200

    Add support for (topological) branches and merges in generate_repo.py
    
    include an example input file (currently not used in actual tests).

commit f79be0e5fb0fea10d03b7674c9624b8f1836fc92
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Jun 17 15:12:19 2021 +0200

    Make generate_storage_from_git include all branches by default
    
    instead of only master.

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

anlambert added a subscriber: anlambert.

Looks good to me !

swh/provenance/tests/data/generate_storage_from_git.py
105–106

you can remove an indentation level with an elif block here

This revision is now accepted and ready to land.Jun 21 2021, 4:40 PM

I believe this diff is duplicated and the other one was already landed.

I believe this diff is duplicated and the other one was already landed.

yep, looks like I messed up a rebase/arc update at some point, sorry.

Duplicate of D5892 (so closed by 6734fd36b872)