HomeSoftware Heritage

browse/snapshot_context: Better handle missing revision edge case

Description

browse/snapshot_context: Better handle missing revision edge case

It exists some cases (nix and guix origins for instance) when a snapshot
branch targets a revision that is missing in the archive.

So ensure to remove Web UI components related to missing objects (revision
and directory) as they will lead to errors when following the links they
contain.

Details

Provenance
anlambertAuthored on Sep 9 2021, 3:01 PM
anlambertPushed on Sep 9 2021, 4:16 PM
Differential Revision
D6230: browse/snapshot_context: Better handle missing revision edge case
Parents
rDWAPPS45583024a8f7: templates/layout: Refine piwik script inclusion check
Branches
Unknown
Tags
Unknown
References
tag: v0.0.325
Build Status
Buildable 23487
Build 36643: test-and-buildJenkins console · Jenkins