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
R. S. Doiel committed Sep 25, 2024
2 parents e82da70 + 9405747 commit 37dbd49
Show file tree
Hide file tree
Showing 21 changed files with 44 additions and 35 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.87
version: 0.0.88
license-url: "https://caltechlibrary.github.io/irdmtools/LICENSE"
keywords: [ "institutional repository", "data
management", "Invenio", "Invenio-RDM" ]
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.87">irdmtools 0.0.87</h2>
<h2 id="irdmtools-0.0.88">irdmtools 0.0.88</h2>
<h3 id="authors">Authors</h3>
<ul>
<li>R. S. Doiel</li>
Expand Down Expand Up @@ -60,7 +60,7 @@ <h3 id="operating-systems">Operating Systems</h3>
</ul>
<h3 id="software-requiremets">Software Requiremets</h3>
<ul>
<li>Go &gt;= 1.22.1</li>
<li>Go &gt;= 1.23.1</li>
<li>PostgreSQL &gt;= 16</li>
<li>PostgREST &gt;= 12</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.87
version: 0.0.88
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.87
## irdmtools 0.0.88

### Authors

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

### Software Requiremets

- Go &gt;= 1.22.1
- Go &gt;= 1.23.1
- PostgreSQL &gt;= 16
- PostgREST &gt;= 12
- Pandoc &gt;= 3
Expand Down
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-09-17",
"dateModified": "2024-09-17",
"dateRelease": "2024-09-25",
"dateModified": "2024-09-25",
"issueTracker": "https://github.com/caltechlibrary/irdmtools/issues",
"name": "irdmtools",
"version": "0.0.87",
"version": "0.0.88",
"description": "Tools for working with institutional repositories and data management systems. Current implementation targets Invenio-RDM.",
"applicationCategory": "library science",
"releaseNotes": "doi2rdm gained different exit code status",
"releaseNotes": "refined publication date to include CrossRef's populated publication date",
"developmentStatus": "WIP",
"keywords": [
"institutional repository",
Expand All @@ -29,7 +29,7 @@
"Windows"
],
"softwareRequirements": [
"Go >= 1.22.1",
"Go >= 1.23.1",
"PostgreSQL >= 16",
"PostgREST >= 12",
"Pandoc >= 3",
Expand Down
9 changes: 9 additions & 0 deletions crossref.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ func getWorksSubjects(work *crossrefapi.Works) []*simplified.Subject {
return nil
}


func getWorksPublishedPrint(work *crossrefapi.Works) *simplified.DateType {
if work.Message != nil && work.Message.PublishedPrint != nil {
return crosswalkWorksDateObjectToDateType(work.Message.PublishedPrint, "published print")
Expand All @@ -418,6 +419,14 @@ func getWorksPublishedOnline(work *crossrefapi.Works) *simplified.DateType {
}

func getWorksPublicationDate(work *crossrefapi.Works) string {
var pubDate *simplified.DateType
if work.Message != nil && work.Message.Published != nil {
pubDate = crosswalkWorksDateObjectToDateType(work.Message.Published, "published date")
}
if pubDate != nil && pubDate.Date != "" {
return pubDate.Date
}
// If pubDate isn't available then guess what it should be.
printDate := getWorksPublishedPrint(work)
onlineDate := getWorksPublishedOnline(work)
acceptedDate := getWorksAccepted(work)
Expand Down
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.87 8739c105
%doi2rdm(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel and Tom Morrell
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
4 changes: 2 additions & 2 deletions ep3ds2citations.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%ep3ds2citations(1) irdmtools user manual | version 0.0.87 8739c105
%ep3ds2citations(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel and Tom Morrell
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
4 changes: 2 additions & 2 deletions ep3util.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%ep3util(1) irdmtools user manual | version 0.0.87 8739c105
%ep3util(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel and Tom Morrell
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
4 changes: 2 additions & 2 deletions eprint2rdm.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%eprint2rdm(1) irdmtools user manual | version 0.0.87 8739c105
%eprint2rdm(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel and Tom Morrell
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
4 changes: 2 additions & 2 deletions eprintrest.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%eprintrest(1) irdmtools user manual | version 0.0.87 8739c105
%eprintrest(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel and Tom Morrell
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
2 changes: 1 addition & 1 deletion installer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
param(
[Parameter()]
[String]$VERSION = "0.0.87"
[String]$VERSION = "0.0.88"
)
[String]$PKG_VERSION = [Environment]::GetEnvironmentVariable("PKG_VERSION")
if ($PKG_VERSION) {
Expand Down
2 changes: 1 addition & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Set the package name and version to install
#
PACKAGE="irdmtools"
VERSION="0.0.87"
VERSION="0.0.88"
GIT_GROUP="caltechlibrary"
RELEASE="https://github.com/$GIT_GROUP/$PACKAGE/releases/tag/v$VERSION"
if [ "$PKG_VERSION" != "" ]; then
Expand Down
Binary file added pagefind/fragment/unknown_bee7234.pf_fragment
Binary file not shown.
Binary file added pagefind/index/unknown_2a749dd.pf_index
Binary file not shown.
2 changes: 1 addition & 1 deletion pagefind/pagefind-entry.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1.1.1","languages":{"unknown":{"hash":"unknown_96f951c85784881","wasm":null,"page_count":23}}}
{"version":"1.1.1","languages":{"unknown":{"hash":"unknown_47bb6fcaaf8d31d","wasm":null,"page_count":23}}}
Binary file added pagefind/pagefind.unknown_47bb6fcaaf8d31d.pf_meta
Binary file not shown.
4 changes: 2 additions & 2 deletions people2vocabulary.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%people2vocabulary(1) irdmtools user manual | version 0.0.87 8739c105
%people2vocabulary(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
4 changes: 2 additions & 2 deletions rdm2eprint.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%rdm2eprint(1) irdmtools user manual | version 0.0.87 8739c105
%rdm2eprint(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel and Tom Morrell
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
4 changes: 2 additions & 2 deletions rdmds2citations.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%rdmds2citations(1) irdmtools user manual | version 0.0.87 8739c105
%rdmds2citations(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel and Tom Morrell
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
4 changes: 2 additions & 2 deletions rdmutil.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%rdmutil(1) irdmtools user manual | version 0.0.87 8739c105
%rdmutil(1) irdmtools user manual | version 0.0.88 19ea39a0
% R. S. Doiel and Tom Morrell
% 2024-09-23
% 2024-09-25

# NAME

Expand Down
6 changes: 3 additions & 3 deletions version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (

const (
// Version number of release
Version = "0.0.87"
Version = "0.0.88"

// ReleaseDate, the date version.go was generated
ReleaseDate = "2024-09-23"
ReleaseDate = "2024-09-25"

// ReleaseHash, the Git hash when version.go was generated
ReleaseHash = "8739c105"
ReleaseHash = "19ea39a0"

LicenseText = `
Redistribution and use in source and binary forms, with or without
Expand Down

0 comments on commit 37dbd49

Please sign in to comment.