Skip to content

Commit 300d5b5

Browse files
authored
Merge pull request #12259 from IQSS/develop
merge develop into master for 6.10.1
2 parents 270032e + e20213c commit 300d5b5

7 files changed

Lines changed: 83 additions & 11 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Add bugs to project board
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
- labeled
8+
9+
jobs:
10+
add-to-project:
11+
name: Add bug to project
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/add-to-project@v1.0.2
15+
with:
16+
project-url: https://github.com/orgs/IQSS/projects/34
17+
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
18+
labeled: "Type: Bug"

.github/workflows/container_maintenance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ jobs:
173173
with:
174174
platforms: ${{ env.PLATFORMS }}
175175
- name: Setup Trivy binary for vulnerability scanning
176-
uses: aquasecurity/setup-trivy@v0.2.5
176+
uses: aquasecurity/setup-trivy@v0.2.6
177177
with:
178-
version: v0.63.0
178+
version: v0.69.3
179179

180180
# Execute matrix build for the discovered branches
181181
- name: Execute build matrix script
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Dataverse 6.10.1
2+
3+
This is a bug fix release for Dataverse 6.10 that fixes download bug #12251 that was fixed in pull request #12252. The bug caused single-file downloads (as opposed to multi-file zip download) to silently fail from the web interface (the API was unaffected).
4+
5+
## Complete List of Changes
6+
7+
For the complete list of code changes in this release, see the [6.10.1 milestone](https://github.com/IQSS/dataverse/issues?q=milestone%3A6.10.1+is%3Aclosed) in GitHub.
8+
9+
## Getting Help
10+
11+
For help with upgrading, installing, or general questions please see [getting help](https://guides.dataverse.org/en/latest/installation/intro.html#getting-help) in the Installation Guide.
12+
13+
## Installation
14+
15+
If this is a new installation, please follow our [Installation Guide](https://guides.dataverse.org/en/latest/installation/). Please don't be shy about [asking for help](https://guides.dataverse.org/en/latest/installation/intro.html#getting-help) if you need it!
16+
17+
Once you are in production, we would be delighted to update our [map of Dataverse installations around the world](https://dataverse.org/installations) to include yours! Please [create an issue](https://github.com/IQSS/dataverse-installations/issues) or email us at support@dataverse.org to join the club!
18+
19+
You are also very welcome to join the [Global Dataverse Community Consortium](https://www.gdcc.io/) (GDCC).
20+
21+
## Upgrade Instructions
22+
23+
Upgrading requires a maintenance window and downtime. Please plan accordingly, create backups of your database, etc.
24+
25+
Note: These instructions assume that you are upgrading from the immediate previous version. That is to say, you've already upgraded through all the 6.x releases and are now running Dataverse 6.10. See [tags on GitHub](https://github.com/IQSS/dataverse/tags) for a list of versions. If you are running an earlier version, the only supported way to upgrade is to progress through the upgrades to all the releases in between before attempting the upgrade to this version.
26+
27+
If you are running Payara as a non-root user (and you should be!), **remember not to execute the commands below as root**. By default, Payara runs as the `dataverse` user. In the commands below, we use sudo to run the commands as a non-root user.
28+
29+
Also, we assume that Payara is installed in `/usr/local/payara7`. If not, adjust as needed.
30+
31+
1. Undeploy Dataverse, if deployed, using the unprivileged service account ("dataverse", by default).
32+
33+
`sudo -u dataverse /usr/local/payara7/bin/asadmin list-applications`
34+
35+
`sudo -u dataverse /usr/local/payara7/bin/asadmin undeploy dataverse-6.10`
36+
37+
1. Deploy the Dataverse 6.10.1 war file.
38+
39+
`wget https://github.com/IQSS/dataverse/releases/download/v6.10.1/dataverse-6.10.1.war`
40+
41+
`sudo -u dataverse /usr/local/payara7/bin/asadmin deploy dataverse-6.10.1.war`
42+
43+
1. Check that you get a version number from Dataverse.
44+
45+
This is just a sanity check that Dataverse has been deployed properly.
46+
47+
`curl http://localhost:8080/api/info/version`
48+
49+
1. For installations with internationalization or text customizations:
50+
51+
Please remember to update translations via [Dataverse language packs](https://github.com/GlobalDataverseCommunityConsortium/dataverse-language-packs).
52+
53+
If you have text customizations you can get the latest English files from <https://github.com/IQSS/dataverse/tree/v6.10/src/main/java/propertyFiles>.

doc/sphinx-guides/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
# built documents.
7171
#
7272
# The short X.Y version.
73-
version = '6.10'
73+
version = '6.10.1'
7474
# The full version, including alpha/beta/rc tags.
7575
release = version
7676

doc/sphinx-guides/source/versions.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This list provides a way to refer to the documentation for previous and future v
88

99
- pre-release `HTML (not final!) <http://preview.guides.gdcc.io/en/develop/>`__ and `PDF (experimental!) <http://preview.guides.gdcc.io/_/downloads/en/develop/pdf/>`__ built from the :doc:`develop </developers/version-control>` branch :doc:`(how to contribute!) </contributor/documentation>`
1010
- |version|
11+
- `6.10 </en/6.10/>`__
1112
- `6.9 </en/6.9/>`__
1213
- `6.8 </en/6.8/>`__
1314
- `6.7.1 </en/6.7.1/>`__

modules/dataverse-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132

133133
<properties>
134134
<!-- This is a special Maven property name, do not change! -->
135-
<revision>6.10</revision>
135+
<revision>6.10.1</revision>
136136

137137
<target.java.version>21</target.java.version>
138138
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/webapp/file-download-button-fragment.xhtml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
styleClass="btn-download"
6969
process="@this"
7070
disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}"
71-
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'GlobusTransfer')}">
71+
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'GlobusTransfer', null)}">
7272
<!-- non-tabular data file: -->
7373
<!-- no guest book/terms of use/etc. - straight to the download API url: -->
7474
<span class="globus-btn ui-icon" title="#{bundle['file.globus.transfer']}"/> #{bundle['file.globus.of']} #{fileMetadata.dataFile.friendlyType == 'Unknown' ? bundle['file.download.filetype.unknown'] : fileMetadata.dataFile.friendlyType}
@@ -118,7 +118,7 @@
118118
styleClass="btn-download"
119119
process="@this"
120120
disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}"
121-
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'Download')}">
121+
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'Download', null)}">
122122
<!-- non-tabular data file: -->
123123
<!-- no guest book/terms of use/etc. - straight to the download API url: -->
124124
#{fileMetadata.dataFile.friendlyType == 'Unknown' ? bundle['file.download.filetype.unknown'] : fileMetadata.dataFile.friendlyType}
@@ -142,7 +142,7 @@
142142
<li>
143143
<p:commandLink styleClass="highlightBold btn-download" rendered="#{!(guestbookAndTermsPopupRequired)}"
144144
process="@this"
145-
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'bundle')}">
145+
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'bundle', null)}">
146146
#{bundle['file.downloadBtn.format.all']}
147147
</p:commandLink>
148148
<p:commandLink styleClass="highlightBold btn-download" rendered="#{guestbookAndTermsPopupRequired}"
@@ -160,7 +160,7 @@
160160
<p:commandLink styleClass="btn-download" rendered="#{!guestbookAndTermsPopupRequired and !(fileMetadata.dataFile.originalFormatLabel == 'UNKNOWN')}"
161161
process="@this"
162162
disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}"
163-
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'original')}">
163+
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'original', null)}">
164164
<h:outputFormat value="#{bundle['file.downloadBtn.format.original']}">
165165
<f:param value="#{fileMetadata.dataFile.originalFormatLabel}"/>
166166
</h:outputFormat>
@@ -182,7 +182,7 @@
182182
<p:commandLink styleClass="btn-download" rendered="#{!guestbookAndTermsPopupRequired}"
183183
process="@this"
184184
disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}"
185-
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'tab')}">
185+
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'tab', null)}">
186186
#{bundle['file.downloadBtn.format.tab']}
187187
</p:commandLink>
188188
<p:commandLink styleClass="btn-download" rendered="#{guestbookAndTermsPopupRequired}"
@@ -200,7 +200,7 @@
200200
<p:commandLink styleClass="btn-download" rendered="#{!guestbookAndTermsPopupRequired}"
201201
process="@this"
202202
disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}"
203-
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'RData')}">
203+
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'RData', null)}">
204204
#{bundle['file.downloadBtn.format.rdata']}
205205
</p:commandLink>
206206
<p:commandLink styleClass="btn-download" rendered="#{guestbookAndTermsPopupRequired}"
@@ -228,7 +228,7 @@
228228
<p:commandLink styleClass="btn-download" rendered="#{!guestbookAndTermsPopupRequired}"
229229
process="@this"
230230
disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}"
231-
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'var')}">
231+
actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'var', null)}">
232232
#{bundle['file.downloadBtn.format.var']}
233233
</p:commandLink>
234234
<p:commandLink styleClass="btn-download" rendered="#{guestbookAndTermsPopupRequired}"

0 commit comments

Comments
 (0)