Page MenuHomeSoftware Heritage

Add Save Code Now button on the origin browsing page
Closed, InvalidPublic

Description

When I'm browsing an origin, I see that the last visit was in 2018 an I want to save it.
Instead of going to the Save Code Now page and where I might copy the "wrong" url (where I can have multiple origins for the same repository with / or .git at the end),
I want to push a button where I am (visits, directory, release and even file) and push a the current origin to save code now.

Last week I pushed a save for the "wrong" origin
Example:
https://archive.softwareheritage.org/browse/origin/https://github.com/sagemath/sage/visits/
https://archive.softwareheritage.org/browse/origin/https://github.com/sagemath/sage.git/visits/

Event Timeline

moranegg triaged this task as Wishlist priority.Oct 21 2019, 2:34 PM
moranegg created this task.
anlambert closed this task as Invalid.Oct 21 2019, 3:29 PM
anlambert claimed this task.
anlambert added a subscriber: anlambert.

In fact, the feature you are looking at is already implemented and deployed. You have to select the Take a new snapshot entry from the Actions menu.
However, I agree this action should be visible without having to open a drop-down menu.

A lot of UX improvements for swh-web will be added in the coming weeks and notably the rework of that Actions menu.
Until then, you will have to proceed as explained above.

@anlambert thanks for the detailed explanation !

So first, Yey ! we can save code easily.. :-)

However, I agree this action should be visible without having to open a drop-down menu.

I agree with your remark and happy to know that it is on the roadmap.