Skip to content

Commit 395efe2

Browse files
committed
Merge remote-tracking branch 'iqss/develop' into npe-cvoc
2 parents 320628d + 1d03a2f commit 395efe2

File tree

166 files changed

+4765
-1636
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+4765
-1636
lines changed

.github/workflows/copy_labels.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66

77
jobs:
88
copy-labels:
9+
# Avoid being triggered by forks
10+
if: "! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]'"
11+
permissions:
12+
pull-requests: write
913
runs-on: ubuntu-latest
1014
name: Copy labels from linked issues
1115
steps:

.github/workflows/deploy_beta_testing.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343

4444
deploy-to-payara:
4545
needs: build
46+
if: ${{ github.repository_owner == 'IQSS' }}
4647
runs-on: ubuntu-latest
4748

4849
steps:
@@ -80,10 +81,10 @@ jobs:
8081
APPLICATION_NAME=dataverse-backend
8182
ASADMIN='/usr/local/payara6/bin/asadmin --user admin'
8283
$ASADMIN undeploy $APPLICATION_NAME
83-
$ASADMIN stop-domain
84-
rm -rf /usr/local/payara6/glassfish/domains/domain1/generated
85-
rm -rf /usr/local/payara6/glassfish/domains/domain1/osgi-cache
86-
$ASADMIN start-domain
84+
#$ASADMIN stop-domain
85+
#rm -rf /usr/local/payara6/glassfish/domains/domain1/generated
86+
#rm -rf /usr/local/payara6/glassfish/domains/domain1/osgi-cache
87+
#$ASADMIN start-domain
8788
$ASADMIN deploy --name $APPLICATION_NAME $INPUT_WAR_FILE
88-
$ASADMIN stop-domain
89-
$ASADMIN start-domain
89+
#$ASADMIN stop-domain
90+
#$ASADMIN start-domain

conf/solr/solrconfig.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
have some sort of hard autoCommit to limit the log size.
239239
-->
240240
<autoCommit>
241-
<maxTime>${solr.autoCommit.maxTime:30000}</maxTime>
241+
<maxTime>${solr.autoCommit.maxTime:300000}</maxTime>
242242
<openSearcher>false</openSearcher>
243243
</autoCommit>
244244

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Dataset Types can set available Licenses
2+
3+
Licenses (e.g. "MIT") can now be linked to dataset types (e.g. "software") using new superuser APIs. The create Dataset Type APIs have been extended to allow you to set metadata blocks and/or licenses on the creation of a Dataset Type.
4+
5+
If a license is not available for a given dataset type then the Create Dataset API will prevent that license from being applied to the dataset.
6+
Also, the UI will only show those licenses that are available to a the dataset's dataset type.
7+
8+
For more information, see the guides ([overview](https://dataverse-guide--11385.org.readthedocs.build/en/11385/user/dataset-management.html#dataset-types), [new APIs](https://dataverse-guide--11385.org.readthedocs.build/en/11385/api/native-api.html#set-available-licenses-for-a-dataset-type)), #10519 and #11001.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Archival Bag Configuration Change
2+
3+
Archival Bags now use the JVM option `dataverse.bagit.sourceorg.name` in generating the bag-info.txt file's "Internal-Sender-Identifier" (in addition to its use for "Source-Organization") rather than pulling the value from a deprecated `bagit.SourceOrganization` entry in Bundle.properties ("Internal-Sender-Identifier" is generated by appending " Catalog" in both cases). Sites using archival bags would not see a change if these settings were already using the same value. See #10680 and #11416.
4+
5+
## Upgrade Instructions
6+
7+
If you are using archival bags, be sure that the `dataverse.bagit.sourceorg.name` JVM option is set.
8+
9+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Navigation across the guides has been improved. You can now click in the upper left to go "home". The navbar has been simplified with fewer links. The bottom of every page now has "Next" and "Previous" links. A "Source" link at the bottom has also been added. See #10942.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Update File Metadata API (PR #11271)
2+
3+
A new API endpoint has been added to allow updating file metadata for one or more files in a dataset.
4+
5+
See the [Native API documentation](https://guides.dataverse.org/en/latest/api/native-api.html) for details on usage.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Dataset Metadata Can Be Exported From Draft Datasets (via API)
2+
3+
In previous versions of Dataverse, it was only possible to export metadata from published datasets. It is now possible to export metadata from draft datasets via API as long as you supply an API token that has access to the draft. As before, when exporting metadata from published datasets, only the latest published version is supported. Internal exporters have been updated to work with drafts but external exporters might need to be updated (Croissant definitely does). See "upgrade instructions" below for details. See [the guides](https://dataverse-guide--11398.org.readthedocs.build/en/11398/api/native-api.html#export-metadata-of-a-dataset-in-various-formats), #11305, and #11398.
4+
5+
## Upgrade Instructions
6+
7+
If you are using the Croissant exporter, [update it](https://github.com/gdcc/exporter-croissant) to version 0.1.4 or newer for compatibility with exporting drafts. Other external exporters may need to be updated as well. See https://github.com/gdcc/dataverse-exporters for a list.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Solr Indexing speed improved
2+
3+
The performance of Solr indexing has been significantly improved, particularly for datasets with many files.
4+
5+
A new dataverse.solr.min-files-to-use-proxy microprofile setting can be used to further improve performance/lower memory requirements for datasets with many files (e.g. 500+) (defaults to Integer.MAX, disabling use of the new functionality)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### versionNote Bug fix
2+
3+
An issue causing more than one edit of a versionNote to fail, when done without a page refresh, has been fixed.

0 commit comments

Comments
 (0)