Page MenuHomeSoftware Heritage

Duplicated branch names are rendered by the webapp
Closed, MigratedEdits Locked

Description

The snapshot api returns unique branches for a given snapshot ID but the corresponding browse page shows many duplicate ones.

The original discussion started in D8386#229882

Event Timeline

KShivendu created this object in space S1 Public.
anlambert renamed this task from Duplicate branch names rendered by the web app to Duplicated branch names are rendered by the webapp.Nov 15 2022, 11:22 AM
anlambert triaged this task as Normal priority.

The issue comes from the fact that the webapp gets the release names from the release objects of our data model and not
from the branch names targeting releases in associated snapshot object.

For instance if we look at the 9999.13-1 release of that debian origin, we can see that there is three branches with different names
targeting the same release.

The simplest fix imho is to add a new column to the releases list view in the webapp displaying the branch name associated to a
release, this will avoid confusion when multiple branches target the same release object.

anlambert claimed this task.

Fixed and deployed.