Skip to content

Commit a496333

Browse files
Merge branch 'develop' into 11771-fix-npe-in-update-licenses
2 parents cafee37 + f77bb8c commit a496333

5 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/deploy_beta_testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: echo "war_file=$(ls *.war | head -1)">> $GITHUB_ENV
3737

3838
- name: Upload war artifact
39-
uses: actions/upload-artifact@v4
39+
uses: actions/upload-artifact@v5
4040
with:
4141
name: built-app
4242
path: ./target/${{ env.war_file }}
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v5
5151

5252
- name: Download war artifact
53-
uses: actions/download-artifact@v5
53+
uses: actions/download-artifact@v6
5454
with:
5555
name: built-app
5656
path: ./

.github/workflows/maven_unit_test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
# Upload the built war file. For download, it will be wrapped in a ZIP by GitHub.
6464
# See also https://github.com/actions/upload-artifact#zipped-artifact-downloads
65-
- uses: actions/upload-artifact@v4
65+
- uses: actions/upload-artifact@v5
6666
with:
6767
name: dataverse-java${{ matrix.jdk }}.war
6868
path: target/dataverse*.war
@@ -72,7 +72,7 @@ jobs:
7272
- run: |
7373
tar -cvf java-builddir.tar target
7474
tar -cvf java-m2-selection.tar ~/.m2/repository/io/gdcc/dataverse-*
75-
- uses: actions/upload-artifact@v4
75+
- uses: actions/upload-artifact@v5
7676
with:
7777
name: java-artifacts
7878
path: |
@@ -112,7 +112,7 @@ jobs:
112112
cache: maven
113113

114114
# Get the build output from the unit test job
115-
- uses: actions/download-artifact@v5
115+
- uses: actions/download-artifact@v6
116116
with:
117117
name: java-artifacts
118118
- run: |
@@ -124,7 +124,7 @@ jobs:
124124

125125
# Wrap up and send to coverage job
126126
- run: tar -cvf java-reportdir.tar target/site
127-
- uses: actions/upload-artifact@v4
127+
- uses: actions/upload-artifact@v5
128128
with:
129129
name: java-reportdir
130130
path: java-reportdir.tar
@@ -145,7 +145,7 @@ jobs:
145145
cache: maven
146146

147147
# Get the build output from the integration test job
148-
- uses: actions/download-artifact@v5
148+
- uses: actions/download-artifact@v6
149149
with:
150150
name: java-reportdir
151151
- run: tar -xvf java-reportdir.tar

doc/sphinx-guides/source/user/dataset-management.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ If you have a Contributor role (can edit metadata, upload files, and edit files,
704704
Preview URL to Review Unpublished Dataset
705705
=========================================
706706

707-
Creating a Preview URL for a draft version of your dataset allows you to share your dataset (for viewing and downloading of files) before it is published to a wide group of individuals who may not have a user account on the Dataverse installation. Anyone you send the Preview URL to will not have to log into the Dataverse installation to view the unpublished dataset. Once a dataset has been published you may create new General Preview URLs for subsequent draft versions, but the Anonymous Preview URL will no longer be available.
707+
Creating a Preview URL for a draft version of your dataset allows you to share your dataset (for viewing and downloading files, including :ref:`restricted <restricted-files>` and :ref:`embargoed <embargoes>` files) before it is published to a wide group of people who might not have a user account on the Dataverse installation. Anyone you send the Preview URL to will not have to log in to the Dataverse installation to view the unpublished dataset. Once a dataset has been published, you may create new General Preview URLs for subsequent draft versions, but the Anonymous Preview URL will no longer be available.
708708

709709
**Note:** To create a Preview URL, you must have the *ManageDatasetPermissions* permission for your draft dataset, usually given by the :ref:`roles <permissions>` *Curator* or *Administrator*.
710710

@@ -726,6 +726,8 @@ To disable a Preview URL and to revoke access, follow the same steps as above un
726726

727727
Note that only one Preview URL (normal or with anonymized access) can be configured per dataset at a time.
728728

729+
.. _embargoes:
730+
729731
Embargoes
730732
=========
731733

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<jhove.version>1.20.1</jhove.version>
3333
<poi.version>5.4.0</poi.version>
3434
<tika.version>3.2.2</tika.version>
35-
<netcdf.version>5.5.3</netcdf.version>
35+
<netcdf.version>5.9.1</netcdf.version>
3636

3737
<openapi.infoTitle>Dataverse API</openapi.infoTitle>
3838
<openapi.infoVersion>${project.version}</openapi.infoVersion>

src/main/java/edu/harvard/iq/dataverse/pidproviders/AbstractPidProvider.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import java.util.logging.Logger;
1818

1919
import org.apache.commons.lang3.RandomStringUtils;
20-
import com.beust.jcommander.Strings;
2120

2221
public abstract class AbstractPidProvider implements PidProvider {
2322

@@ -577,8 +576,8 @@ public JsonObject getProviderSpecification() {
577576
providerSpecification.add("shoulder", shoulder);
578577
providerSpecification.add("identifierGenerationStyle", identifierGenerationStyle);
579578
providerSpecification.add("datafilePidFormat", datafilePidFormat);
580-
providerSpecification.add("managedSet", Strings.join(",", managedSet.toArray()));
581-
providerSpecification.add("excludedSet", Strings.join(",", excludedSet.toArray()));
579+
providerSpecification.add("managedSet", String.join(",", managedSet));
580+
providerSpecification.add("excludedSet", String.join(",", excludedSet));
582581
return providerSpecification.build();
583582
}
584583

0 commit comments

Comments
 (0)