Closed apirogov closed 1 year ago
When I run somesy sync in this repo itself, it deletes my email in codemeta.json. Is it the expected behavior?
Interesting, nice catch. Its apparently behavior of codemetapy
- seems to not manage to merge the persons properly, too :D cffconvert creates a codemeta with the orcid, codemeta extracts email from pyproject, and when you "combine" them, it keeps just one of those things.
Don't know if its a bug or intended, but not a problem with somesy.
While refactoring, I also changed some stuff with the config logic.
when I run the command
somesy sync
codemeta.json changes as belowdiff --git a/codemeta.json b/codemeta.json index 37a734c..d4675f5 100644 --- a/codemeta.json +++ b/codemeta.json @@ -11,17 +11,17 @@ "audience": [ { "@type": "Audience", - "audienceType": "Developers" + "audienceType": "Science/Research" }, { "@type": "Audience", - "audienceType": "Science/Research" + "audienceType": "Developers" } ], "author": [ { + "@id": "https://orcid.org/0000-0003-2637-0432", "@type": "Person", - "email": "m.soylu@fz-juelich.de", "familyName": "Soylu", "givenName": "Mustafa" }
Yeah, because the graph changed (email out, orcid in). When you run it again, it should not update it again.
Yeah, because the graph changed (email out, orcid in). When you run it again, it should not update it again.
Sorry, I don't understand it, Email is recorded in somesy config file, cff file and pyproject file so it should be in codemeta.json, right?
Added codemeta support (using cffconvert + codemetapy)
added new file to model and flags
updated readme + removed complete cli argument dump
various other small changes