Open lnielsen opened 1 year ago
In terms of UI, this is a complicated case. The suggested above might be hard to understand for users who are not depositing software (which are the majority of users).
HAL chose to do this in the Identifiers section using the type SWHID.
Old HAL version is displayed here: https://youtu.be/j9eMCkJOSxs?si=diyoQdIyfCS-mtCk&t=60
A researcher may need to register an artifact already archived in Software Heritage. To avoid duplication, the research will use a SWHID (of a directory with context) and insert it in the InvenioRDM interface.
The interface should not mix between the upload files button and this ues case (which exists for other types of identifiers..)
One option would be to separate with a new button, placed on the right of the existing upload button.
New button name proposal: from external source
where it opens the menu shown above with Software Heritage
/ SWHID
. clicking on the option would open a SWH modal.
For other use cases: this can be customizable with different modals.
If identifier detection, we can open the modal on click on from external source
and into the value we copy the SWHID.
The "Files"-section of the deposit form will add support for uploading/regsitering files from multiple sources include "from Software Heritage".
Choosing "from Software Heritage", will enable users to provide a SWH ID of software source code already registered in SWH. Also, this feature can detect if a SWH is already deposited in the repository.
https://wiki.eduuni.fi/display/cscRDIcollaboration/InvenioRDM+-+SWH+SPECS