This PR is primarily meant to reduce the number of output messages from publish_update so that it is easier to find the information that most of us need.
I also removed two functions that I don't think we should use (even though they were my idea in the first place).
Compare:
> ids <- get_package(mn, "resource_map_urn:uuid:103b4520-6727-458c-961f-cbb7f375b3a8")
> pkg <- publish_update(mn, metadata_pid = ids$metadata,
+ resource_map_pid = ids$resource_map,
+ data_pids = ids$data,
+ metadata_path = "~/ArcticSupport/Alkire/metadata.xml",
+ public = T)
Getting metadata from the path: ~/ArcticSupport/Alkire/metadata.xml.
Using generated UUID PID of urn:uuid:9c283a36-5bfa-46e5-9367-ffde890c35ba.
Updated metadata document urn:uuid:103b4520-6727-458c-961f-cbb7f375b3a8 with urn:uuid:9c283a36-5bfa-46e5-9367-ffde890c35ba.
Successfully updated resource_map_urn:uuid:103b4520-6727-458c-961f-cbb7f375b3a8 with resource_map_urn:uuid:9c283a36-5bfa-46e5-9367-ffde890c35ba.
To:
> ids <- get_package(mn, "resource_map_urn:uuid:9c283a36-5bfa-46e5-9367-ffde890c35ba")
> pkg <- publish_update(mn, metadata_pid = ids$metadata,
+ resource_map_pid = ids$resource_map,
+ data_pids = ids$data,
+ metadata_path = "~/ArcticSupport/baumann/metadata.xml",
+ public = T)
Getting metadata from the path: ~/ArcticSupport/baumann/metadata.xml.
Downloaded EML and sysmeta...
Using generated UUID PID of urn:uuid:2969896c-1bfb-4837-a155-cfee6b4f1b33.
No changes needed for urn:uuid:7115755e-27f7-4287-8af1-ef041bdc4e6d. Not updating.
rightsHolder field is already set to http://orcid.org/0000-0003-4703-1974. System Metadata not updated.
rightsHolder field is already set to http://orcid.org/0000-0003-4703-1974. System Metadata not updated.
Updated metadata document urn:uuid:9c283a36-5bfa-46e5-9367-ffde890c35ba with urn:uuid:2969896c-1bfb-4837-a155-cfee6b4f1b33.
Checking all the object passed in as arguments exist before going on...
rightsHolder field is already set to http://orcid.org/0000-0003-4703-1974. System Metadata not updated.
Generating resource map with pids urn:uuid:2969896c-1bfb-4837-a155-cfee6b4f1b33, urn:uuid:7115755e-27f7-4287-8af1-ef041bdc4e6d.
Getting updated copy of System Metadata for resource_map_urn:uuid:9c283a36-5bfa-46e5-9367-ffde890c35ba
Updating resource map...
rightsHolder field is already set to http://orcid.org/0000-0003-4703-1974. System Metadata not updated.
Successfully updated resource_map_urn:uuid:9c283a36-5bfa-46e5-9367-ffde890c35ba with resource_map_urn:uuid:2969896c-1bfb-4837-a155-cfee6b4f1b33.
rightsHolder field is already set to http://orcid.org/0000-0003-4703-1974. System Metadata not updated.
Updated resource map
This PR is primarily meant to reduce the number of output messages from
publish_update
so that it is easier to find the information that most of us need.I also removed two functions that I don't think we should use (even though they were my idea in the first place).
Compare:
To: