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

auto MD update request for non-mandatory datacite fields #10

Open
cziaarm opened this issue Jan 24, 2017 · 1 comment
Open

auto MD update request for non-mandatory datacite fields #10

cziaarm opened this issue Jan 24, 2017 · 1 comment
Milestone

Comments

@cziaarm
Copy link

cziaarm commented Jan 24, 2017

From London Area Research Data (LARD) :

"A mechanism to update non-mandatory metadata with DataCite whenever there is an update on the EPrint (using automatic on-commit trigger) and to prevent automatic update of mandatory metadata (this should not be modifiable once written to DataCite)"

@cziaarm
Copy link
Author

cziaarm commented Jan 24, 2017

An EPrint commit trigger, like

if($c->{datacitedoi}{auto_coin}){
$c->add_dataset_trigger( "eprint", EP_TRIGGER_STATUS_CHANGE , sub {
my ( %params ) = @_;
my $repository = %params->{repository};
return undef if (!defined $repository);
if (defined %params->{dataobj}) {
my $dataobj = %params->{dataobj};
my $eprint_id = $dataobj->id;
$repository->dataset( "event_queue" )->create_dataobj({
pluginid => "Event::DataCiteEvent",
action => "datacite_doi",
params => [$dataobj->internal_uri],
});
}
});
}

but without attempting to coin a new doi, just to send the new metadata to datacite. This would require

a) A new event trigger and config item to control it
c) Test feasibility of metadata updates via DataCite API (params required? etc)
b) A new action for Event::DataCiteEvent to update metadata

R

@cziaarm cziaarm added this to the v1.2 milestone Jan 24, 2017
@cziaarm cziaarm modified the milestones: v1.3 , v1.2 Aug 21, 2017
@goetzk goetzk removed this from the v1.3 milestone Sep 18, 2018
@cziaarm cziaarm added this to the v2.2 milestone Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants