Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deposit form upload SWH ID #17

Open
lnielsen opened this issue Mar 13, 2023 · 2 comments
Open

Deposit form upload SWH ID #17

lnielsen opened this issue Mar 13, 2023 · 2 comments

Comments

@lnielsen
Copy link
Member

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.

ae987491-c321-42dc-94ce-b6b122b42d61

https://wiki.eduuni.fi/display/cscRDIcollaboration/InvenioRDM+-+SWH+SPECS

@moranegg
Copy link

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

@moranegg
Copy link

moranegg commented Jun 3, 2024

Use case: registering already archived software in a Scholarly repository

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.

UI / UX discussion

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.

automated version

If identifier detection, we can open the modal on click on from external source and into the value we copy the SWHID.

Educating the user

#OR2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants