-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into tryToCreateMergedTr…
…ustStore * upstream/main: Introduces test http server (#9748) Generate journal-list.mv on build (#10298) # Conflicts: # src/main/java/org/jabref/logic/net/ssl/TrustStoreManager.java
- Loading branch information
Showing
10,603 changed files
with
1,197 additions
and
1,014,341 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,8 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,8 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Install pigz and cache (linux) | ||
if: (matrix.os == 'ubuntu-latest') | ||
uses: awalsh128/cache-apt-pkgs-action@latest | ||
|
@@ -273,6 +275,8 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Install GitVersion | ||
if: steps.checksecrets.outputs.secretspresent == 'YES' | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
@@ -334,9 +338,10 @@ jobs: | |
- name: Checkout source | ||
if: steps.checksecrets.outputs.secretspresent == 'YES' | ||
uses: actions/checkout@v3 | ||
- name: Fetch all history for all tags and branches | ||
if: steps.checksecrets.outputs.secretspresent == 'YES' | ||
run: git fetch --prune --unshallow | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Install GitVersion | ||
if: steps.checksecrets.outputs.secretspresent == 'YES' | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,50 @@ | ||
name: Refresh Journal Lists | ||
|
||
on: | ||
push: | ||
paths: | ||
- '.github/workflows/refresh-journal-lists.yml' | ||
- 'buildSrc/build.gradle' | ||
- 'buildSrc/src/main/java/**' | ||
- 'src/main/java/org/jabref/logic/journals/**' | ||
schedule: | ||
- cron: '1 2 2,16 * *' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
publish: | ||
name: Refresh Journal List Files | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # for peter-evans/create-pull-request to create branch | ||
pull-requests: write # for peter-evans/create-pull-request to create a PR | ||
name: Refresh Journal List Files | ||
runs-on: ubuntu-latest | ||
if: (github.repository == 'JabRef/jabref' || github.repository == 'koppor/jabref') | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: true | ||
fetch-depth: 0 | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Initialize git | ||
run: | | ||
git config --local core.editor /usr/bin/cat | ||
git config user.name 'github-actions[bot]' | ||
git config user.email 'github-actions[bot]@users.noreply.github.com' | ||
- name: Update buildres/abbrv.jabref.org | ||
run: | | ||
cd buildres/abbrv.jabref.org | ||
git checkout main | ||
git pull | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 20 | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- name: Update journal lists | ||
- name: Check whether journal-list.mv can be generated (the "real" generation is done inside JabRef's build process) | ||
run: | | ||
set +o pipefail | ||
# prepare journal lists | ||
cd /tmp | ||
git clone --depth=1 https://github.com/JabRef/abbrv.jabref.org.git | ||
cd abbrv.jabref.org/journals | ||
# remove all lists without dot in them | ||
# we use abbreviation lists containing dots in them only (to be consistent) | ||
rm journal_abbreviations_entrez.csv | ||
rm journal_abbreviations_medicus.csv | ||
rm journal_abbreviations_webofscience-dotless.csv | ||
# we currently do not have good support for BibTeX strings | ||
rm journal_abbreviations_ieee_strings.csv | ||
# prepare building | ||
mkdir -p $GITHUB_WORKSPACE/build/journals | ||
cp * $GITHUB_WORKSPACE/build/journals/ | ||
# ensure that the .java classes are the most recent ones | ||
cp $GITHUB_WORKSPACE/src/main/java/org/jabref/logic/journals/* $GITHUB_WORKSPACE/buildSrc/src/main/java/org/jabref/logic/journals | ||
# create .mv file | ||
cd $GITHUB_WORKSPACE | ||
./gradlew generateJournalAbbreviationList | ||
- uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: update-journallist | ||
branch: update-journal-lists | ||
title: "[Bot] Update journal abbreviation lists" | ||
commit-message: Update journal abbreviation lists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,9 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'false' | ||
show-progress: 'false' | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -77,6 +80,9 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -109,6 +115,9 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -143,6 +152,9 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -181,6 +193,9 @@ jobs: | |
SNAPCRAFT_LOGIN_FILE: ${{ secrets.CODECOV_TOKEN }} | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -201,12 +216,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
show-progress: 'false' | ||
- uses: gradle/wrapper-validation-action@v1 | ||
# This ensures that no git merge conflict markers (<<<, ...) are contained | ||
merge_conflict_job: | ||
name: Find merge conflicts | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
show-progress: 'false' | ||
- name: Merge Conflict finder | ||
uses: olivernybroe/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[submodule "buildres/abbrv.jabref.org"] | ||
path = buildres/abbrv.jabref.org | ||
url = https://github.com/JabRef/abbrv.jabref.org.git | ||
[submodule "buildres/csl-styles"] | ||
path = buildres/csl/csl-styles | ||
url = https://github.com/citation-style-language/styles.git | ||
[submodule "buildres/csl-locales"] | ||
path = buildres/csl/csl-locales | ||
url = https://github.com/citation-style-language/locales.git |
Oops, something went wrong.