Page MenuHomeSoftware Heritage

SWHAP: Branches view and dates discrepancy
Closed, InvalidPublic

Description

On the Legacy software, the branches view doesn't show the differences of dates between master and SourceCodewhile it is shown on GitHub
Examples from TAUmus:


https://github.com/Unipisa/TAUmus/branches

Another question on coherence, there are 3 branches on SWH and 2 branches on GitHub

Event Timeline

moranegg triaged this task as Normal priority.Dec 5 2019, 11:46 PM
moranegg created this task.

The first part seems wrong indeed.

Another question on coherence, there are 3 branches on SWH and 2 branches on GitHub

coherence with what?

We actually display the state of the repository when we ingested it.
And at that moment, the HEAD (which must be an alias) targetted the branch refs/heads/master on the commit shown in your screenshots.
That much is true as well ;) It's just that we do not display exactly the same information as github.

scatenag added a comment.EditedDec 16 2019, 11:16 AM

Also for me, it is not a problem, just two way of displaying the same info;

SWH shows 3 branches: 2 branches and the HEAD;
GitHub shows 2 branches PLUS in the branches page shows what is the current (HEAD) branch.

About the diffent dates: I think it is related to what kind of dates are shown.
It seems that SWH shows commit date while GitHub shows author date.

anlambert closed this task as Invalid.Dec 16 2019, 3:12 PM
anlambert claimed this task.
anlambert added a subscriber: anlambert.

Actually, the observed dates discrepancy was due to the fact that the SWH snapshot was too old (08/10/2109) and not in sync with the current repository state on GitHub.
So the author date was not yet modified to the real release date of the software.

A new snapshot has been taken on 05/12/2019 and you can now see that the displayed dates are now correct: https://archive.softwareheritage.org/browse/origin/https://github.com/Unipisa/TAUmus/branches/

About the diffent dates: I think it is related to what kind of dates are shown.
It seems that SWH shows commit date while GitHub shows author date.

SWH webapp displays the author date and not the commit date in the branches view.

I'm closing this as more actions need to be taken.