Skip to content

Commit

Permalink
Merge branch 'main' of github.com:caltechlibrary/irdmtools into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdoiel committed Jan 17, 2024
2 parents 3ad98b2 + 6072d0a commit ddb2422
Show file tree
Hide file tree
Showing 46 changed files with 462 additions and 80 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors:


repository-code: "https://github.com/caltechlibrary/irdmtools"
version: 0.0.66
version: 0.0.68
license-url: "https://caltechlibrary.github.io/irdmtools/LICENSE"
keywords: [ "institutional repository", "data
management", "Invenio", "Invenio-RDM" ]
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023, Caltech
Copyright (c) 2024, Caltech
All rights not granted herein are expressly reserved by Caltech.

Redistribution and use in source and binary forms, with or without
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)


Institutional Repository Data Management Tools
==============================================

Expand Down
18 changes: 13 additions & 5 deletions TODO.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,16 @@
<h1 id="action-items">Action Items</h1>
<h2 id="bugs">Bugs</h2>
<ul class="task-list">
<li><label><input type="checkbox" />progress.go is producing
non-sensical estamates of the time remaining, need to review my
math</label></li>
<li><label><input type="checkbox" />rdm2eprint should always populate
official URL, in some cases is showing up <code>/records/{rdmid}</code>
but in others it is populated, when I checked authors record efd3g-p2669
it isn’t populated in the JSON output</label></li>
<li><label><input type="checkbox" checked="" />Local group items are
including an empty “{}” as an entry when retrieved with ep3util
(e.g. thesis repository, ep3util get_record 7320)</label></li>
<li><label><input type="checkbox" checked="" />progress.go is producing
non-sensical estamates of the time remaining, need to review my math
(this was a really bad SQL query on my part)</label></li>
<li><label><input type="checkbox" />eprint2rdm missing metadata
attributes</label>
<ul class="task-list">
Expand Down Expand Up @@ -82,8 +89,9 @@ <h2 id="bugs">Bugs</h2>
</ul>
<h2 id="next">Next</h2>
<ul class="task-list">
<li><label><input type="checkbox" />rdmutil get_all_ids needs a
get_all_stale_ids counterpart, see issue #68</label></li>
<li><label><input type="checkbox" checked="" />rdmutil get_all_ids needs
a get_all_stale_ids counterpart, see issue #68 (implemented
get_record_versions”`</label></li>
<li><label><input type="checkbox" checked="" />add put_record to
rdmutil, actually done as many steps, new_record, new_draft,
update_draft, …</label></li>
Expand Down
6 changes: 4 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ Action Items
Bugs
----

- [ ] progress.go is producing non-sensical estamates of the time remaining, need to review my math
- [ ] rdm2eprint should always populate official URL, in some cases is showing up `/records/{rdmid}` but in others it is populated, when I checked authors record efd3g-p2669 it isn't populated in the JSON output
- [x] Local group items are including an empty "{}" as an entry when retrieved with ep3util (e.g. thesis repository, ep3util get_record 7320)
- [x] progress.go is producing non-sensical estamates of the time remaining, need to review my math (this was a really bad SQL query on my part)
- [ ] eprint2rdm missing metadata attributes
- [x] journal related fields (e.g. journal:journal) in custom fields
- [ ] thesis related fields
Expand Down Expand Up @@ -34,7 +36,7 @@ Bugs
Next
----

- [ ] rdmutil get_all_ids needs a get_all_stale_ids counterpart, see issue #68
- [x] rdmutil get_all_ids needs a get_all_stale_ids counterpart, see issue #68 (implemented get_record_versions"`
- [x] add put_record to rdmutil, actually done as many steps, new_record, new_draft, update_draft, ...
- [x] Implement a CrossRef to Invenio RDM record
- [x] Figure out a faster way to retrieve RDM ids without using the API or OAI-PMH. Possibly options would be to create an rdmapid service, or direct query via PostgreSQL.
Expand Down
4 changes: 2 additions & 2 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<section>
<h1 id="about-this-software">About this software</h1>
<h2 id="irdmtools-0.0.66">irdmtools 0.0.66</h2>
<h2 id="irdmtools-0.0.68">irdmtools 0.0.68</h2>
<h3 id="authors">Authors</h3>
<ul>
<li>R. S. Doiel</li>
Expand Down Expand Up @@ -59,7 +59,7 @@ <h3 id="operating-systems">Operating Systems</h3>
</ul>
<h3 id="software-requiremets">Software Requiremets</h3>
<ul>
<li>Go &gt;= 1.20.4</li>
<li>Go &gt;= 1.21.6</li>
<li>PostgreSQL &gt;= 15</li>
<li>PostgREST &gt;= 11</li>
<li>Pandoc &gt;= 3</li>
Expand Down
6 changes: 3 additions & 3 deletions about.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors:
orcid: "https://orcid.org/0000-0001-9266-5146"

repository-code: "https://github.com/caltechlibrary/irdmtools"
version: 0.0.66
version: 0.0.68
license-url: "https://caltechlibrary.github.io/irdmtools/LICENSE"
keywords: [ "institutional repository", "data
management", "Invenio", "Invenio-RDM" ]
Expand All @@ -24,7 +24,7 @@ management", "Invenio", "Invenio-RDM" ]
About this software
===================

## irdmtools 0.0.66
## irdmtools 0.0.68

### Authors

Expand Down Expand Up @@ -58,7 +58,7 @@ systems. Current implementation targets Invenio-RDM.

### Software Requiremets

- Go &gt;= 1.20.4
- Go &gt;= 1.21.6
- PostgreSQL &gt;= 15
- PostgREST &gt;= 11
- Pandoc &gt;= 3
Expand Down
24 changes: 24 additions & 0 deletions blank.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"pids": {
},
"access": {
"files": "restricted",
"status": "restricted",
"record": "restricted"
},
"metadata": {
"resource_type": {"id": "other"},
"creators": [
{
"person_or_org": {
"name": "Caltech Library",
"type": "organizational"
}
}
],
"title": "Deleted Record",
"publisher": "Caltech Library",
"publication_date": "1700",
"description": "This record was created accidentally and will be deleted"
}
}
10 changes: 5 additions & 5 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"license": "https://caltechlibrary.github.io/irdmtools/LICENSE",
"codeRepository": "https://github.com/caltechlibrary/irdmtools",
"dateCreated": "2022-10-27",
"dateRelease": "2024-01-08",
"dateRelease": "2024-01-16",
"issueTracker": "https://github.com/caltechlibrary/irdmtools/issues",
"name": "irdmtools",
"version": "0.0.66",
"version": "0.0.68",
"description": "Tools for working with institutional repositories and data management systems. Current implementation targets Invenio-RDM.",
"applicationCategory": "library science",
"releaseNotes": "Proof of concept and refinements towards production testing, updated doi2rdm to map book-chapter to publication-section",
"developmentStatus": "concept",
"releaseNotes": "Proof of concept and refinements, piloting in production",
"developmentStatus": "WIP",
"keywords": [
"institutional repository",
"data management",
Expand All @@ -28,7 +28,7 @@
"Windows"
],
"softwareRequirements": [
"Go >= 1.20.4",
"Go >= 1.21.6",
"PostgreSQL >= 15",
"PostgREST >= 11",
"Pandoc >= 3",
Expand Down
4 changes: 4 additions & 0 deletions deleted_records/64yes-0bb89.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"status": 403,
"message": "Permission denied."
}
185 changes: 185 additions & 0 deletions deleted_records/72k82-bv782.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"parent": {
"communities": {
"default": "aedd135f-227e-4fdf-9476-5b3fd011bac6",
"ids": [
"aedd135f-227e-4fdf-9476-5b3fd011bac6"
]
},
"id": "sddc3-dpf53"
},
"stats": {
"this_version": {
"downloads": 11,
"views": 8,
"unique_views": 5,
"data_volume": 25991918.0,
"unique_downloads": 6
},
"all_versions": {
"downloads": 11,
"views": 8,
"unique_views": 5,
"data_volume": 25991918.0,
"unique_downloads": 6
}
},
"access": {
"files": "public",
"record": "public",
"status": "open",
"embargo": {
"active": false,
"reason": null
}
},
"created": "2023-09-21T22:27:14.309389+00:00",
"revision_id": 3,
"links": {
"self": "https://authors.library.caltech.edu/api/records/72k82-bv782",
"self_html": "https://authors.library.caltech.edu/records/72k82-bv782",
"self_doi": "https://authors.library.caltech.edu/doi/10.7907111/72k82-bv782",
"doi": "https://doi.org/10.7907111/72k82-bv782",
"self_iiif_manifest": "https://authors.library.caltech.edu/api/iiif/record:72k82-bv782/manifest",
"self_iiif_sequence": "https://authors.library.caltech.edu/api/iiif/record:72k82-bv782/sequence/default",
"files": "https://authors.library.caltech.edu/api/records/72k82-bv782/files",
"archive": "https://authors.library.caltech.edu/api/records/72k82-bv782/files-archive",
"latest": "https://authors.library.caltech.edu/api/records/72k82-bv782/versions/latest",
"latest_html": "https://authors.library.caltech.edu/records/72k82-bv782/latest",
"draft": "https://authors.library.caltech.edu/api/records/72k82-bv782/draft",
"versions": "https://authors.library.caltech.edu/api/records/72k82-bv782/versions",
"access_links": "https://authors.library.caltech.edu/api/records/72k82-bv782/access/links",
"reserve_doi": "https://authors.library.caltech.edu/api/records/72k82-bv782/draft/pids/doi",
"communities": "https://authors.library.caltech.edu/api/records/72k82-bv782/communities",
"communities-suggestions": "https://authors.library.caltech.edu/api/records/72k82-bv782/communities-suggestions",
"requests": "https://authors.library.caltech.edu/api/records/72k82-bv782/requests"
},
"versions": {
"is_latest": true,
"index": 1
},
"files": {
"default_preview": "RDMworkbook_1.0.pdf",
"total_bytes": 4533353,
"entries": {
"RDMworkbook_1.0.pdf": {
"key": "RDMworkbook_1.0.pdf",
"mimetype": "application/pdf",
"ext": "pdf",
"metadata": null,
"size": 2384285
},
"RDMworkbook_1.0.epub": {
"key": "RDMworkbook_1.0.epub",
"mimetype": "application/epub+zip",
"ext": "epub",
"metadata": null,
"size": 2149068
}
},
"enabled": true,
"order": [],
"count": 2
},
"custom_fields": {
"caltech:groups": [
{
"title": {
"en": "Caltech Library"
},
"id": "Caltech-Library"
}
],
"imprint:imprint": {
"pages": "50",
"title": "The Research Data Management Workbook",
"isbn": "978-1-60049-015-6",
"place": "Pasadena, CA"
}
},
"status": "published",
"updated": "2023-09-21T22:27:14.384495+00:00",
"id": "72k82-bv782",
"pids": {
"doi": {
"client": "datacite",
"provider": "datacite",
"identifier": "10.7907111/72k82-bv782"
},
"oai": {
"provider": "oai",
"identifier": "oai:authors.library.caltech.edu:72k82-bv782"
}
},
"metadata": {
"creators": [
{
"person_or_org": {
"identifiers": [
{
"scheme": "clpid",
"identifier": "Briney-Kristin-A"
},
{
"scheme": "orcid",
"identifier": "0000-0003-1802-0184"
}
],
"type": "personal",
"name": "Briney, Kristin",
"given_name": "Kristin",
"family_name": "Briney"
},
"affiliations": [
{
"name": "California Institute of Technology",
"id": "05dxps055"
}
]
}
],
"resource_type": {
"title": {
"de": "Buch",
"en": "Book"
},
"id": "publication-book"
},
"version": "Published",
"description": "<p>The Research Data Management Workbook is made up of a collection of exercises for researchers to improve their data management. The Workbook contains exercises across the data lifecycle, including:&nbsp;</p><ul><li>Evaluate a laboratory notebook&nbsp;</li><li>Write a project-level README.txt&nbsp;</li><li>Create a data dictionary&nbsp;</li><li>Set up a file organization system&nbsp;</li><li>Create a file naming convention&nbsp;</li><li>Pick storage and backup systems&nbsp;</li><li>Test your backup&nbsp;</li><li>Write a living data management plan (DMP)&nbsp;</li><li>Determine data stewardship&nbsp;</li><li>Pick a data repository&nbsp;</li><li>Share data&nbsp;</li><li>Prepare data for future use&nbsp;</li><li>Convert data files types&nbsp;</li><li>Create an Archive folder&nbsp;</li><li>Separate from the institution&nbsp;</li></ul><p>Every exercise comes with a description of its value within data management, instructions on how to do the exercise, original source of the exercise (when applicable), and the exercise itself.&nbsp;</p>",
"publication_date": "2023-10-02",
"publisher": "Caltech Library",
"title": "The Research Data Management Workbook",
"rights": [
{
"id": "cc-by-nc-4.0",
"description": {
"en": ""
},
"props": {
"url": "https://creativecommons.org/licenses/by-nc/4.0/legalcode",
"scheme": "spdx"
},
"title": {
"en": "Creative Commons Attribution Non Commercial 4.0 International"
}
}
],
"identifiers": [
{
"scheme": "url",
"identifier": "https://library.caltech.edu/RDMworkbook"
}
],
"languages": [
{
"title": {
"en": "English"
},
"id": "eng"
}
]
},
"is_published": true,
"is_draft": false
}
4 changes: 2 additions & 2 deletions doi2rdm.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%doi2rdm(1) irdmtools user manual | version 0.0.66 926e9462
%doi2rdm(1) irdmtools user manual | version 0.0.68 9eb40b17
% R. S. Doiel and Tom Morrell
% 2024-01-10
% 2024-01-16

# NAME

Expand Down
Loading

0 comments on commit ddb2422

Please sign in to comment.