Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
937 commits
Select commit Hold shift + click to select a range
636e7cc
fix parsing after some change.
qqmyers Feb 24, 2026
527f07a
remove this Payaya file until we have scripts like Solr
pdurbin Feb 24, 2026
a809c76
Update doc/sphinx-guides/source/developers/dev-environment.rst
qqmyers Feb 24, 2026
ad22235
adding signed param to GET endpoints
stevenwinship Feb 25, 2026
2c5985d
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Feb 25, 2026
7d40f95
Merge pull request #11983 from GlobalDataverseCommunityConsortium/GDC…
sekmiller Feb 25, 2026
cedd4c2
add overwrite to name, email, institution, and position in guestbook …
stevenwinship Feb 25, 2026
917b3fa
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Feb 25, 2026
dc9f8bc
fix doc
stevenwinship Feb 25, 2026
a1bca73
Merge branch 'develop' into 11747-review-dataset-type
pdurbin Feb 25, 2026
d6aa29a
fix doc
stevenwinship Feb 25, 2026
455759e
Merge branch 'develop' into IQSS/12020-Payara7_Java21_update
pdurbin Feb 25, 2026
72fce96
add email validation
stevenwinship Feb 25, 2026
cf2937b
add email validation
stevenwinship Feb 25, 2026
37b0bdd
Handle duplicate role assignments with 409 Conflict instead of 403 Fo…
vera Feb 26, 2026
e3ff029
Defaulting to HTTP/1 for OAI calls.
landreev Feb 21, 2026
f4e140e
Increasing the timeout; an extra comment about HTTP/1 vs. 2. #11473
landreev Feb 26, 2026
1126df8
A config guide entry and a release note. #11473
landreev Feb 26, 2026
2e093e9
typos #11473
landreev Feb 26, 2026
5c73026
Fix for Cache Test (#12172)
qqmyers Feb 26, 2026
2c6d86d
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Feb 26, 2026
a041aa9
Merge branch 'develop' into 11473-harvesting-client-ratelimit
landreev Feb 26, 2026
f5b77ea
fix role assign, add logging for revoke debugging
qqmyers Feb 25, 2026
aae1cbd
fix for revoke
qqmyers Feb 25, 2026
28a4a48
typo
landreev Feb 26, 2026
4a2578d
Merge branch '11473-harvesting-client-ratelimit' of https://github.co…
landreev Feb 26, 2026
dac0202
duplicated code rearranged; an extra comment #11473
landreev Feb 26, 2026
24dedde
fixing broken tests when dup role assingment changed to return 409 (#…
stevenwinship Feb 26, 2026
a9985d3
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Feb 26, 2026
dff0d9e
Merge branch 'develop' into 11473-harvesting-client-ratelimit
stevenwinship Feb 26, 2026
ed96e7a
Bump actions/upload-artifact from 6 to 7
dependabot[bot] Feb 26, 2026
4f9a878
Bump actions/download-artifact from 6 to 8
dependabot[bot] Feb 26, 2026
912317f
Fixes the handling of the default behavior, with no setting present. …
landreev Feb 27, 2026
7bfd5ef
Update Dataverse module GitHub link
Parthsuii Feb 27, 2026
5230722
fix: fix bug in notifications API related to SUBMITTEDDS notification…
vera Feb 27, 2026
592a352
Merge branch 'develop' into patch-1
Parthsuii Feb 27, 2026
0d165f6
Merge pull request #12187 from Parthsuii/patch-1
pdurbin Feb 27, 2026
657320b
make Payara 7 upgrade instructions much more detailed #12020
pdurbin Feb 27, 2026
f5f470e
comment out jsp servlet mappings
pdurbin Feb 27, 2026
a0ffae9
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Feb 27, 2026
66997f7
Merge branch 'develop' into 11473-harvesting-client-ratelimit
stevenwinship Feb 27, 2026
7aa4f1a
add unit test
stevenwinship Feb 27, 2026
07e05ab
upgrade from Payara 7.2026.1 to .2 and other tweaks #12020
pdurbin Mar 2, 2026
2b996dc
Merge branch 'develop' into IQSS/12020-Payara7_Java21_update
pdurbin Mar 2, 2026
6b7284d
Update doc/release-notes/11473-harvesting-client-improvements.md
landreev Mar 2, 2026
1992849
Merge branch 'develop' into 11747-review-dataset-type
pdurbin Mar 2, 2026
525a6f7
remove Java version from Temurin link and text #11585
pdurbin Mar 2, 2026
ab99c33
revert to correct version of postgres (17)
pdurbin Mar 2, 2026
be7f26a
fix formatting
pdurbin Mar 2, 2026
c3b4de6
let VS Code generate hashCode and equals
pdurbin Mar 2, 2026
b0b9b13
add test for empty string passed to allowedDatasetTypes
pdurbin Mar 2, 2026
cc5b11d
populate displayname with name but capitalize it
pdurbin Mar 2, 2026
ce4a48f
typo
pdurbin Mar 3, 2026
f09c27c
refactor croissant and add "slim" version #12123
pdurbin Mar 3, 2026
4e986a3
put the slim version of Croissant in the "head" of the HTML #12123
pdurbin Mar 3, 2026
f7e176a
add croissantSlim to list of expected export formats #12123
pdurbin Mar 3, 2026
4aaf954
add docs and release note for slim version of Croissant #12123
pdurbin Mar 3, 2026
be670d4
allow regular and review datasets the same collection #11747
pdurbin Mar 3, 2026
fe0c62f
Merge pull request #12081 from GlobalDataverseCommunityConsortium/DAN…
landreev Mar 4, 2026
8f2ad13
remove note as we are using linkedMetadataBlocks now #11747
pdurbin Mar 4, 2026
946a7e5
Merge branch 'develop' into IQSS/12020-Payara7_Java21_update
pdurbin Mar 4, 2026
122736c
Merge pull request #11486 from IQSS/11473-harvesting-client-ratelimit
sekmiller Mar 4, 2026
35c2f75
allow guest to download with signedUrl
stevenwinship Mar 4, 2026
762642d
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 4, 2026
c9831ad
remove signed= from docs
stevenwinship Mar 4, 2026
32adb99
improve "add dataset type" docs #11747
pdurbin Mar 4, 2026
ac68178
Bump docker/setup-qemu-action from 3 to 4
dependabot[bot] Mar 4, 2026
8650b25
Merge remote-tracking branch 'IQSS/develop' into
qqmyers Mar 5, 2026
de73ae1
fix OLE
qqmyers Mar 4, 2026
6968009
return updated version
qqmyers Mar 4, 2026
7d8714a
restore export time method lost in merge
qqmyers Mar 5, 2026
988e316
Apply suggestions from code review
pdurbin Mar 5, 2026
ddf3040
merge issue - if requireEarlierVersions fails, return false
qqmyers Mar 5, 2026
6279e4f
tweak docs
pdurbin Mar 5, 2026
9b5d4eb
add comment about non-use of PeerReview #11747
pdurbin Mar 5, 2026
f561a07
Merge branch 'develop' into 11747-review-dataset-type
pdurbin Mar 5, 2026
bdfccc9
fix require earlier versions logic
qqmyers Mar 5, 2026
bc06e3b
fix getting file ids from csv
stevenwinship Mar 5, 2026
8b01d05
Merge pull request #12042 from IQSS/dependabot/github_actions/actions…
pdurbin Mar 6, 2026
1c976e6
Merge pull request #12125 from IQSS/dependabot/github_actions/applebo…
pdurbin Mar 6, 2026
f4134b0
Merge pull request #12185 from IQSS/dependabot/github_actions/actions…
pdurbin Mar 6, 2026
17df493
Merge pull request #12186 from IQSS/dependabot/github_actions/actions…
pdurbin Mar 6, 2026
23fbc54
Merge pull request #12193 from IQSS/dependabot/github_actions/docker/…
pdurbin Mar 6, 2026
e818850
Handle additional line sep chars for DD-2210
qqmyers Mar 6, 2026
9c4e398
clean up test code
pdurbin Mar 6, 2026
050439d
Merge branch 'develop' into 11747-review-dataset-type
pdurbin Mar 6, 2026
2b03a64
better handling of collections disallowing "dataset" datasetType #121…
pdurbin Mar 6, 2026
38ec9a7
move "create collection" step down, just before "allow type" #11747
pdurbin Mar 6, 2026
d988622
Merge pull request #12191 from IQSS/12123-croissant-slim
landreev Mar 6, 2026
bebb87b
add sample file dataset-create-review.json #11747
pdurbin Mar 6, 2026
169aa00
Merge branch 'develop' into 11747-review-dataset-type
pdurbin Mar 6, 2026
0f8bd28
fixing questbook response handling
stevenwinship Mar 6, 2026
60371d0
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 6, 2026
f66fa60
add test for required fields in a metadata block tsv #11747
pdurbin Mar 6, 2026
92c95e6
link dataset type properly in test (fix typo) #11747
pdurbin Mar 6, 2026
6ce900b
Bump org.keycloak:keycloak-services in /conf/keycloak/builtin-users-spi
dependabot[bot] Mar 6, 2026
2bbb9b5
Bump docker/login-action from 3 to 4
dependabot[bot] Mar 6, 2026
dc6d740
lock in workflow again
qqmyers Mar 6, 2026
ad9fa5d
fix async/new txtn for updatelastIndex
qqmyers Mar 6, 2026
84676fc
don't merge in export all
qqmyers Mar 6, 2026
5274098
stop wf from overwriting timestamps
qqmyers Mar 6, 2026
366396e
add updating index, permindex, export times
qqmyers Mar 6, 2026
b561811
Add DATASETMENTIONED status to user administration guide
Parthsuii Mar 8, 2026
fc0f003
add check for downloading thumbnails
stevenwinship Mar 9, 2026
726603f
add check for downloading thumbnails
stevenwinship Mar 9, 2026
9176f57
Merge branch 'develop' into IQSS/12020-Payara7_Java21_update
pdurbin Mar 9, 2026
19cfb84
Merge pull request #12197 from IQSS/dependabot/maven/conf/keycloak/bu…
pdurbin Mar 9, 2026
2afc7bf
Merge pull request #12198 from IQSS/dependabot/github_actions/docker/…
pdurbin Mar 9, 2026
5982c56
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 9, 2026
00962b0
Update doc/sphinx-guides/source/api/native-api.rst
stevenwinship Mar 9, 2026
179d0ea
update docs
stevenwinship Mar 9, 2026
8e63f15
Update src/main/java/edu/harvard/iq/dataverse/util/UrlSignerUtil.java
stevenwinship Mar 9, 2026
faefe7f
update docs
stevenwinship Mar 9, 2026
90fd76d
add created sttaus checks to IT tests
stevenwinship Mar 9, 2026
efef793
create guestbook returns ok
stevenwinship Mar 9, 2026
f215ba6
Merge branch 'develop' into 11747-review-dataset-type
pdurbin Mar 9, 2026
f320a39
update docs
stevenwinship Mar 9, 2026
943875c
make itemReviewedCitation required #11747
pdurbin Mar 9, 2026
4d71ae2
link to linkedMetadataBlocks required in tsv issue
pdurbin Mar 9, 2026
135542f
remove prettyPrints
stevenwinship Mar 9, 2026
42f9fcf
remove print statements
stevenwinship Mar 9, 2026
4da6d9f
better citation for item reviewed
pdurbin Mar 9, 2026
39fb5f6
Merge pull request #11753 from IQSS/11747-review-dataset-type
scolapasta Mar 9, 2026
50acabb
Merge branch 'develop' into IQSS/12020-Payara7_Java21_update
pdurbin Mar 10, 2026
cf13f59
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 10, 2026
845e196
link to /api/linkeddatanotification #11864
pdurbin Mar 10, 2026
b8e629e
Merge pull request #12199 from Parthsuii/patch-2
pdurbin Mar 10, 2026
910848a
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 10, 2026
9824b62
Merge pull request #12167 from GlobalDataverseCommunityConsortium/DAN…
sekmiller Mar 10, 2026
639f4c9
Merge branch 'develop' into IQSS/12020-Payara7_Java21_update
pdurbin Mar 10, 2026
162a40f
add fix to access request test
stevenwinship Mar 10, 2026
561f24b
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 10, 2026
d045f1a
document require-embargo-reason feature flag #12067
pdurbin Mar 10, 2026
0c01e22
Merge pull request #12202 from IQSS/12067-docs-for-require-embargo-re…
pdurbin Mar 10, 2026
c095efc
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 11, 2026
485bd01
Revert "DANS QDR Merged ORE/Bag changes for QA"
sekmiller Mar 11, 2026
37aeff2
Remove Google doc link for metadata tips access
Parthsuii Mar 11, 2026
8db3dd2
Merge pull request #12203 from IQSS/revert-12167-DANS-QDR-merged_bag_…
sekmiller Mar 11, 2026
b4fe522
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 11, 2026
f1846a2
Remove tips for submitting issues and PRs from metadata doc
Parthsuii Mar 11, 2026
cbd6381
Update metadatacustomization.rst
Parthsuii Mar 11, 2026
9744886
explain :DatasetPublishPopupCustomText vs :PublishDatasetDisclaimerTe…
pdurbin Mar 11, 2026
2eb686c
add more links #12051 (#12207)
pdurbin Mar 11, 2026
15695c7
flag review datasets as experimental #11753 (#12209)
pdurbin Mar 11, 2026
29e8fab
Bump webfactory/ssh-agent from 0.9.1 to 0.10.0
dependabot[bot] Mar 11, 2026
c8d74ca
careful
pdurbin Mar 12, 2026
4234b99
Apply suggestion from @landreev
pdurbin Mar 12, 2026
87ffbaa
Apply suggestion from @landreev
pdurbin Mar 12, 2026
7e5b553
Apply suggestion from @landreev
pdurbin Mar 12, 2026
791f617
Apply suggestion from @landreev
pdurbin Mar 12, 2026
2c5fd3c
Revert "Revert "DANS QDR Merged ORE/Bag changes for QA""
qqmyers Mar 12, 2026
329b167
small tweaks and fix step numbering
pdurbin Mar 12, 2026
8b198d1
move hashtype check inside loop, remove unused ignorehashes
qqmyers Mar 11, 2026
d1660b9
restore dataverse functionality
qqmyers Mar 12, 2026
ed0b1e9
keep domain.xml editing together
pdurbin Mar 12, 2026
05c503e
copy over sitemap
pdurbin Mar 12, 2026
3642eda
Merge pull request #12210 from IQSS/dependabot/github_actions/webfact…
pdurbin Mar 12, 2026
bf72357
Add contribution tips for metadata customization guide
Parthsuii Mar 12, 2026
316fbb3
Merge pull request #12204 from Parthsuii/patch-3
pdurbin Mar 12, 2026
1addebd
adding check for missing 'answers' block in guestbook response
stevenwinship Mar 12, 2026
544fdcf
Merge remote-tracking branch 'IQSS/develop' into DANS_QDR_3
qqmyers Mar 12, 2026
f6d5e8d
adding test for access request with gustbook response required but gu…
stevenwinship Mar 12, 2026
98e4820
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 12, 2026
ac3fd32
fix signedurl with persistentId to replace it database id
stevenwinship Mar 12, 2026
8e8966d
another empty answers unit test
stevenwinship Mar 12, 2026
89cf927
Merge pull request #12213 from GlobalDataverseCommunityConsortium/DAN…
sekmiller Mar 12, 2026
7c47505
add word
pdurbin Mar 12, 2026
30be73c
typo
pdurbin Mar 12, 2026
0c7d3a6
Merge branch 'develop' into 12001-api-support-termofuse-guestbook
stevenwinship Mar 13, 2026
2d7bd80
Merge remote-tracking branch 'IQSS/develop' into IQSS/12020-Payara7_J…
qqmyers Mar 13, 2026
149ebde
fix typo guestbook_id to guestbookId in json
stevenwinship Mar 13, 2026
05a961e
adding to docs
stevenwinship Mar 13, 2026
879c465
give downloaders more hints to find the guestbookId #12001
pdurbin Mar 13, 2026
35a1eb2
add guestbookId to missing response message
stevenwinship Mar 13, 2026
b96efcf
Merge branch '12001-api-support-termofuse-guestbook' of https://githu…
stevenwinship Mar 13, 2026
d9b59ca
doc change
stevenwinship Mar 13, 2026
63db903
add guestbookId to request access error message
stevenwinship Mar 13, 2026
459af37
remove redundant commands
pdurbin Mar 13, 2026
3163b52
Bump marocchino/sticky-pull-request-comment from 2 to 3
dependabot[bot] Mar 13, 2026
ee079f1
Merge pull request #12217 from IQSS/dependabot/github_actions/marocch…
pdurbin Mar 14, 2026
05f9b92
change create guestbook from returning 200 to 201
stevenwinship Mar 16, 2026
173b1be
Merge pull request #12110 from IQSS/12001-api-support-termofuse-guest…
sekmiller Mar 16, 2026
9cdcb63
Merge branch 'develop' into IQSS/12020-Payara7_Java21_update
qqmyers Mar 16, 2026
18a462e
Merge pull request #12043 from QualitativeDataRepository/IQSS/12020-P…
landreev Mar 16, 2026
5205954
resolve merge conflicts in Guestbook.java
pdurbin Mar 16, 2026
d55acc6
Merge pull request #12219 from IQSS/12043-gb-conflicts
pdurbin Mar 16, 2026
36ab0c4
stub out 6.10 release notes #12085
pdurbin Mar 10, 2026
1fb88c3
croissant built in
pdurbin Mar 10, 2026
34a6797
review datasets
pdurbin Mar 10, 2026
c2b670b
dataverse-uploader github-action fixed
pdurbin Mar 10, 2026
0f954ed
breadcrumbs
pdurbin Mar 10, 2026
cc995bd
solr reindex deleted
pdurbin Mar 10, 2026
f32f1be
remove extra line
pdurbin Mar 10, 2026
467982f
locks info
pdurbin Mar 10, 2026
65daf36
DATASETMOVED notification
pdurbin Mar 10, 2026
3ebcd97
mydata params
pdurbin Mar 10, 2026
23f9005
handle redirect
pdurbin Mar 10, 2026
40565fe
replace file
pdurbin Mar 10, 2026
dd712ba
bearer token
pdurbin Mar 10, 2026
3d1c80e
stored proc
pdurbin Mar 10, 2026
77bb684
index perf
pdurbin Mar 10, 2026
5bb915c
proto header
pdurbin Mar 10, 2026
c1c7cb4
embargo reason
pdurbin Mar 10, 2026
ca2349a
assign role
pdurbin Mar 10, 2026
5cb200f
ignoreSettingExcludeEmailFromExport
pdurbin Mar 10, 2026
62480e2
harvest sleep
pdurbin Mar 10, 2026
a7fdd36
coar
pdurbin Mar 10, 2026
9baa523
refi
pdurbin Mar 10, 2026
146fc1a
archival status
pdurbin Mar 11, 2026
910142f
hide oidc from JSF
pdurbin Mar 11, 2026
a764057
rdm-int
pdurbin Mar 11, 2026
b77e0b9
refi
pdurbin Mar 11, 2026
5a35f2a
disclaimer
pdurbin Mar 11, 2026
6471790
templates
pdurbin Mar 11, 2026
1247390
reorg highlights
pdurbin Mar 11, 2026
f463777
no particular developer updates
pdurbin Mar 11, 2026
419d1f2
add upgrade instructions
pdurbin Mar 11, 2026
ac097c8
flag review datasets as experimental
pdurbin Mar 11, 2026
4c175a2
archiving
pdurbin Mar 12, 2026
c78e1c2
typos and cleanup #12085
pdurbin Mar 12, 2026
e5ca6e4
hidden fields bug fixed, add to release notes #11992 #12017 #12085
pdurbin Mar 13, 2026
5516947
guestbook response can be required for file download
pdurbin Mar 16, 2026
dd642d0
upgrade to Payara 7 and Java 21
pdurbin Mar 16, 2026
75f7ef7
Update 6.10-release-notes.md
doigl Mar 17, 2026
72ae455
mention guestbook API
pdurbin Mar 17, 2026
6a5b3cd
Merge pull request #12222 from doigl/patch-2
pdurbin Mar 17, 2026
07a21f5
switch back to US acknowledgment
pdurbin Mar 17, 2026
5d95b8f
Update doc/release-notes/6.10-release-notes.md
pdurbin Mar 18, 2026
570b706
fix numbering
pdurbin Mar 18, 2026
e851566
A deployment workflow for dataverse-internal.iq.dataverse.edu; largel…
landreev Mar 18, 2026
1e238ad
Update doc/release-notes/6.10-release-notes.md
pdurbin Mar 18, 2026
dcff397
Update doc/release-notes/6.10-release-notes.md
pdurbin Mar 18, 2026
f3215a9
pgdg13 workaround
pdurbin Mar 18, 2026
e9610de
removing an offending line from the workflow
landreev Mar 18, 2026
67d7028
and one more fix
landreev Mar 18, 2026
7639a3a
adding workflow_dispatch
landreev Mar 18, 2026
5ef6665
an experiment
landreev Mar 18, 2026
acaabde
an experiment
landreev Mar 18, 2026
04a63db
warfile-building workflow, with an optional build number label
landreev Mar 18, 2026
ec01449
assorted fixes; makes it possible to add arbitrary labels to the vers…
landreev Mar 18, 2026
df15374
Potential fix for code scanning alert no. 369: Use of a known vulnera…
landreev Mar 18, 2026
1703f21
Potential fix for code scanning alert no. 371: Workflow does not cont…
landreev Mar 18, 2026
0c5ef01
fixing, or hiding the test error.
landreev Mar 18, 2026
8ed62f6
Merge branch 'extra_workflows' of https://github.com/IQSS/dataverse i…
landreev Mar 18, 2026
cb48a82
Merge pull request #12226 from IQSS/extra_workflows
landreev Mar 18, 2026
ccd056c
fixing some remaining issues.
landreev Mar 18, 2026
dda0fce
Merge pull request #12227 from IQSS/extra_workflows
pdurbin Mar 18, 2026
3914474
Merge pull request #12208 from IQSS/12085-6.10-release-notes
scolapasta Mar 19, 2026
3fc1382
bump to version 6.10 #12091
pdurbin Mar 16, 2026
326aa5e
Merge pull request #12230 from IQSS/12091-bump-to-6.10
pdurbin Mar 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/check_property_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Duplicate Keys
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Run duplicates detection script
shell: bash
run: tests/check_duplicate_properties.sh
Expand All @@ -18,7 +18,7 @@ jobs:
name: Metadata Blocks Properties
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Setup GraalVM + Native Image
uses: graalvm/setup-graalvm@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/container_app_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,29 @@ jobs:
if: ${{ github.repository_owner == 'IQSS' }}
steps:
# Checkout the pull request code as when merged
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
- uses: actions/setup-java@v5
with:
java-version: "17"
java-version: "21"
distribution: 'adopt'
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

# Note: Accessing, pushing tags etc. to GHCR will only succeed in upstream because secrets.
- name: Login to Github Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Set up QEMU for multi-arch builds
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4

# Get the image tag from either the command or default to branch name (Not used for now)
#- name: Get the target tag name
Expand All @@ -69,7 +69,7 @@ jobs:
-Dapp.image.tag=${{ env.IMAGE_TAG }}
-Ddocker.registry=ghcr.io -Ddocker.platforms=${{ env.PLATFORMS }}

- uses: marocchino/sticky-pull-request-comment@v2
- uses: marocchino/sticky-pull-request-comment@v3
with:
header: registry-push
hide_and_recreate: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/container_app_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,20 @@ jobs:
# Depending on context, we push to different targets. Login accordingly.
- if: github.event_name != 'pull_request'
name: Log in to Docker Hub registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- if: ${{ github.event_name == 'pull_request' }}
name: Login to Github Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Set up QEMU for multi-arch builds
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4

- name: Add rolling image tag when pushing to develop
if: ${{ github.event_name == 'push' && github.ref_name == 'develop' }}
Expand All @@ -141,7 +141,7 @@ jobs:
${{ env.REGISTRY }} -Ddocker.platforms=${{ env.PLATFORMS }}
-P ct deploy

- uses: marocchino/sticky-pull-request-comment@v2
- uses: marocchino/sticky-pull-request-comment@v3
if: ${{ github.event_name == 'pull_request' }}
with:
header: registry-push
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/container_base_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
# Note: Accessing, pushing tags etc. to DockerHub will only succeed in upstream and
# on events in context of upstream because secrets. PRs run in context of forks by default!
- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# In case this is a push to develop, we care about buildtime.
# Configure a remote ARM64 build host in addition to the local AMD64 in two steps.
- name: Setup SSH agent
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.BUILDER_ARM64_SSH_PRIVATE_KEY }}
- name: Provide the known hosts key and the builder config
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/container_maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ jobs:
# Note: Accessing, pushing tags etc. to DockerHub will only succeed in upstream and
# on events in context of upstream because secrets. PRs run in context of forks by default!
- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU for multi-arch builds
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
with:
platforms: ${{ env.PLATFORMS }}

Expand Down Expand Up @@ -122,12 +122,12 @@ jobs:
# Note: Accessing, pushing tags etc. to DockerHub will only succeed in upstream and
# on events in context of upstream because secrets. PRs run in context of forks by default!
- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU for multi-arch builds
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
with:
platforms: ${{ env.PLATFORMS }}

Expand Down Expand Up @@ -164,16 +164,16 @@ jobs:
# Note: Accessing, pushing tags etc. to DockerHub will only succeed in upstream and
# on events in context of upstream because secrets. PRs run in context of forks by default!
- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU for multi-arch builds
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
with:
platforms: ${{ env.PLATFORMS }}
- name: Setup Trivy binary for vulnerability scanning
uses: aquasecurity/setup-trivy@v0.2.4
uses: aquasecurity/setup-trivy@v0.2.5
with:
version: v0.63.0

Expand All @@ -199,7 +199,7 @@ jobs:
- configbaker-image
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

### BASE IMAGE
- name: Render README for base image
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/deploy_beta_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'

- name: Enable API Session Auth feature flag
working-directory: src/main/resources/META-INF
Expand All @@ -36,7 +36,7 @@ jobs:
run: echo "war_file=$(ls *.war | head -1)">> $GITHUB_ENV

- name: Upload war artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: built-app
path: ./target/${{ env.war_file }}
Expand All @@ -47,10 +47,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Download war artifact
uses: actions/download-artifact@v6
uses: actions/download-artifact@v8
with:
name: built-app
path: ./
Expand All @@ -69,7 +69,7 @@ jobs:
overwrite: true

- name: Execute payara war deployment remotely
uses: appleboy/ssh-action@v1.2.3
uses: appleboy/ssh-action@v1.2.5
env:
INPUT_WAR_FILE: ${{ env.war_file }}
with:
Expand All @@ -79,11 +79,11 @@ jobs:
envs: INPUT_WAR_FILE
script: |
APPLICATION_NAME=dataverse-backend
ASADMIN='/usr/local/payara6/bin/asadmin --user admin'
ASADMIN='/usr/local/payara7/bin/asadmin --user admin'
$ASADMIN undeploy $APPLICATION_NAME
#$ASADMIN stop-domain
#rm -rf /usr/local/payara6/glassfish/domains/domain1/generated
#rm -rf /usr/local/payara6/glassfish/domains/domain1/osgi-cache
#rm -rf /usr/local/payara7/glassfish/domains/domain1/generated
#rm -rf /usr/local/payara7/glassfish/domains/domain1/osgi-cache
#$ASADMIN start-domain
$ASADMIN deploy --name $APPLICATION_NAME $INPUT_WAR_FILE
#$ASADMIN stop-domain
Expand Down
90 changes: 90 additions & 0 deletions .github/workflows/deploy_to_internal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: 'Deploy to dataverse-internal.iq.harvard.edu'

on:
workflow_dispatch:
inputs:
buildlabel:
description: 'Custom label that will appear after the version number (the equivalent of the old "build number" entry). Leaving it empty will default to the legacy behavior, i.e. " build <branch>-<checksum>".'
type: string
required: false

permissions:
contents: read

concurrency:
group: deploy-to-internal
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6

- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '21'

- name: Set build number
run: scripts/installer/custom-build-number "${{ github.event.inputs.buildlabel }}"

- name: Build application war
run: mvn package

- name: Get war file name
working-directory: target
run: echo "war_file=$(ls *.war | head -1)">> $GITHUB_ENV

- name: Upload war artifact
uses: actions/upload-artifact@v7
with:
name: built-app
path: ./target/${{ env.war_file }}

deploy-to-payara:
needs: build
if: ${{ github.repository_owner == 'IQSS' }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6

- name: Download war artifact
uses: actions/download-artifact@v8
with:
name: built-app
path: ./

- name: Get war file name
run: echo "war_file=$(ls *.war | head -1)">> $GITHUB_ENV

- name: Copy war file to remote instance
uses: appleboy/scp-action@master
with:
host: ${{ secrets.INTERNAL_PAYARA_INSTANCE_HOST }}
username: ${{ secrets.INTERNAL_PAYARA_INSTANCE_USERNAME }}
key: ${{ secrets.INTERNAL_PAYARA_INSTANCE_SSH_PRIVATE_KEY }}
source: './${{ env.war_file }}'
target: '/home/${{ secrets.INTERNAL_PAYARA_INSTANCE_USERNAME }}'
overwrite: true

- name: Execute payara war deployment remotely
uses: appleboy/ssh-action@v1.2.5
env:
INPUT_WAR_FILE: ${{ env.war_file }}
with:
host: ${{ secrets.INTERNAL_PAYARA_INSTANCE_HOST }}
username: ${{ secrets.INTERNAL_PAYARA_INSTANCE_USERNAME }}
key: ${{ secrets.INTERNAL_PAYARA_INSTANCE_SSH_PRIVATE_KEY }}
envs: INPUT_WAR_FILE
script: |
APPLICATION_NAME=dataverse-backend
ASADMIN='/usr/local/payara7/bin/asadmin --user admin'
$ASADMIN undeploy $APPLICATION_NAME
#$ASADMIN stop-domain
#$ASADMIN start-domain
$ASADMIN deploy --name $APPLICATION_NAME $INPUT_WAR_FILE
#$ASADMIN stop-domain
#$ASADMIN start-domain
37 changes: 37 additions & 0 deletions .github/workflows/generate_war_file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'Generate dataverse war file'

on:
workflow_dispatch:
inputs:
buildlabel:
description: 'Custom label that will appear after the version number (the equivalent of the old "build number" entry). Leaving it empty will default to the legacy behavior, i.e. " build <branch>-<checksum>".'
type: string
required: false

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6

- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '21'

- name: Set build number
run: scripts/installer/custom-build-number "${{ github.event.inputs.buildlabel }}"

- name: Build application war
run: mvn package

- name: Get war file name
working-directory: target
run: echo "war_file=$(ls *.war | head -1)">> $GITHUB_ENV

- name: Upload war artifact
uses: actions/upload-artifact@v7
with:
name: built-app
path: ./target/${{ env.war_file }}
Comment on lines +13 to +37

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI about 11 hours ago

In general, the fix is to explicitly define GITHUB_TOKEN permissions at the workflow or job level so the token has only the minimal capabilities required. For this workflow, the job reads the repository (checkout) and uploads an artifact to the workflow run, but does not need to write to repository contents or other GitHub resources. Therefore, setting permissions: contents: read is sufficient.

The best minimal change is to add a permissions block at the root of .github/workflows/generate_war_file.yml, just below the name (or above jobs:). This will apply to all jobs in the workflow (currently just build) and restrict the GITHUB_TOKEN to read-only access to repository contents. No other code or steps need to change, and no additional imports or methods are required.

Concretely, in .github/workflows/generate_war_file.yml, insert:

permissions:
  contents: read

after the name: 'Generate dataverse war file' line (line 1 in the snippet). All existing steps remain unchanged.

Suggested changeset 1
.github/workflows/generate_war_file.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/generate_war_file.yml b/.github/workflows/generate_war_file.yml
--- a/.github/workflows/generate_war_file.yml
+++ b/.github/workflows/generate_war_file.yml
@@ -1,5 +1,8 @@
 name: 'Generate dataverse war file'
 
+permissions:
+  contents: read
+
 on:
   workflow_dispatch:
     inputs:
EOF
@@ -1,5 +1,8 @@
name: 'Generate dataverse war file'

permissions:
contents: read

on:
workflow_dispatch:
inputs:
Copilot is powered by AI and may make mistakes. Always verify output.
2 changes: 1 addition & 1 deletion .github/workflows/guides_build_sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- id: lookup
run: |
echo "sphinx_version=$(grep Sphinx== ./doc/sphinx-guides/requirements.txt | tr -s "=" | cut -f 2 -d=)" | tee -a "${GITHUB_OUTPUT}"
Expand Down
Loading
Loading