-
Notifications
You must be signed in to change notification settings - Fork 9
Merge tool between SoftwareExternalData rows for the same software #299
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
Milestone
Comments
Here is a proposition of data structure : Merge would be based on priority, in type Software = {
id: string
}
type SoftwareExternalData = {
externalId: string;
softwareId: string; // clé étrangère
externalSourceSlug: string; // clé étrangère
data: "...",
// unicité : externalSourceSlug + externalId + softwareId
}
type SoftwareExternalSource = {
slug: string, // unique exemple: hal-science, hal-uga-science, wikidata
kind: "HAL" | "Wikidata" | "comptoire du libre" | "Zenodo" // "Software Heritage" | "Github" | "Gitlab",
url: string,
priority: number, // unique, postive -> lowest number is more priority
description: LocalizedString // apparait dans le formulaire d'ajout
} |
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 15, 2025
guillermau
added a commit
that referenced
this issue
May 19, 2025
guillermau
added a commit
that referenced
this issue
May 19, 2025
guillermau
added a commit
that referenced
this issue
May 19, 2025
guillermau
added a commit
that referenced
this issue
May 21, 2025
guillermau
added a commit
that referenced
this issue
May 21, 2025
guillermau
added a commit
that referenced
this issue
May 21, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to merge ?
Merge rules on software ? On source definitions ?
The text was updated successfully, but these errors were encountered: