Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 3f9f651

Browse files
Merge pull request #33 from FSTUM/dev
v3.0.0 Alpha1 Release
2 parents e7b03aa + 212c185 commit 3f9f651

File tree

262 files changed

+7723
-17842
lines changed

Some content is hidden

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

262 files changed

+7723
-17842
lines changed

.eslintrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
version: 2
44
updates:
5-
- package-ecosystem: 'github-actions'
6-
directory: '/' # Location of package manifests
7-
schedule:
8-
interval: 'weekly'
9-
target-branch: 'dev'
10-
- package-ecosystem: 'npm'
11-
directory: '/' # Location of package manifests
12-
schedule:
13-
interval: 'monthly'
14-
target-branch: 'dev'
15-
- package-ecosystem: 'pip'
16-
directory: '/' # Location of package manifests
17-
schedule:
18-
interval: 'monthly'
19-
target-branch: 'dev'
5+
- package-ecosystem: 'github-actions'
6+
directory: '/' # Location of package manifests
7+
schedule:
8+
interval: 'weekly'
9+
target-branch: 'dev'
10+
- package-ecosystem: 'npm'
11+
directory: '/' # Location of package manifests
12+
schedule:
13+
interval: 'monthly'
14+
target-branch: 'dev'
15+
- package-ecosystem: 'pip'
16+
directory: '/' # Location of package manifests
17+
schedule:
18+
interval: 'monthly'
19+
target-branch: 'dev'

.github/workflows/git_sync.yml

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
11
name: Syncs this repo with the one hosted on private gitlab
22

33
on:
4-
push:
5-
branches:
6-
- 'main'
7-
workflow_dispatch:
4+
push:
5+
branches:
6+
- 'main'
7+
- 'dev'
8+
workflow_dispatch:
89

910
jobs:
10-
git-sync:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v2
14-
with:
15-
persist-credentials: false
16-
- name: git-sync
17-
uses: wei/git-sync@v3
18-
with:
19-
source_repo: 'CommanderStorm/toptool-v2'
20-
source_branch: 'main'
21-
destination_repo: '[email protected]:elsinga/toptool.git'
22-
destination_branch: 'main'
23-
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
11+
git-sync:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
persist-credentials: false
17+
- name: git-sync
18+
uses: wei/git-sync@v3
19+
with:
20+
source_repo: 'FSTUM/toptool-v3'
21+
source_branch: 'main'
22+
destination_repo: '[email protected]:fsmpi/toptool.git'
23+
destination_branch: 'master'
24+
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
25+
- name: git-sync
26+
uses: wei/git-sync@v3
27+
with:
28+
source_repo: 'FSTUM/toptool-v3'
29+
source_branch: 'dev'
30+
destination_repo: '[email protected]:fsmpi/toptool.git'
31+
destination_branch: 'dev'
32+
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

.github/workflows/main-ci.yml

Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,58 @@
11
name: Main CI
22

33
on:
4-
push:
5-
branches:
6-
- 'main'
7-
pull_request:
8-
workflow_dispatch:
4+
push:
5+
branches:
6+
- 'main'
7+
- 'dev'
8+
pull_request:
9+
workflow_dispatch:
910

1011
jobs:
11-
test:
12-
runs-on: ubuntu-latest
13-
strategy:
14-
max-parallel: 4
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
ref: ${{ github.head_ref }}
18+
- name: Setup Python
19+
uses: actions/[email protected]
20+
with:
21+
python-version: '3.10'
22+
cache: 'pip'
23+
cache-dependency-path: 'requirements*.txt'
24+
- name: Install Dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements.txt -r requirements_dev.txt
28+
sudo apt-get update
29+
sudo apt-get -qq install -y texlive-base texlive-lang-german texlive-fonts-recommended texlive-latex-extra latexmk
30+
python manage.py collectstatic
31+
- name: Run Tests
32+
run: |
33+
python manage.py test
34+
pre-commit:
35+
runs-on: ubuntu-latest
36+
strategy:
37+
max-parallel: 4
1538

16-
steps:
17-
- uses: actions/checkout@v2
18-
with:
19-
ref: ${{ github.head_ref }}
20-
- name: Setup Python
21-
uses: actions/[email protected]
22-
with:
23-
python-version: 3.9
24-
- name: Install Dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
pip install -r requirements.txt -r requirements_dev.txt
28-
sudo apt-get update
29-
sudo apt-get -qq install -y texlive-base texlive-lang-german texlive-fonts-recommended texlive-latex-extra latexmk
30-
python manage.py collectstatic
31-
- name: Run Tests
32-
run: |
33-
python manage.py test
34-
pre-commit:
35-
runs-on: ubuntu-latest
36-
strategy:
37-
max-parallel: 4
38-
39-
steps:
40-
- uses: actions/checkout@v2
41-
with:
42-
ref: ${{ github.head_ref }}
43-
- name: Setup Python
44-
uses: actions/[email protected]
45-
with:
46-
python-version: 3.9
47-
- name: Install Dependencies
48-
run: |
49-
python -m pip install --upgrade pip
50-
pip install -r requirements.txt -r requirements_dev.txt
51-
sudo apt-get update
52-
sudo apt-get -qq install -y gettext
53-
- name: Run pre-commit
54-
uses: pre-commit/[email protected]
55-
with:
56-
token: ${{ secrets.GITHUB_TOKEN }}
39+
steps:
40+
- uses: actions/checkout@v3
41+
with:
42+
ref: ${{ github.head_ref }}
43+
- name: Setup Python
44+
uses: actions/[email protected]
45+
with:
46+
python-version: '3.10'
47+
cache: 'pip'
48+
cache-dependency-path: 'requirements*.txt'
49+
- name: Install Dependencies
50+
run: |
51+
python -m pip install --upgrade pip
52+
pip install -r requirements.txt -r requirements_dev.txt
53+
sudo apt-get update
54+
sudo apt-get -qq install -y gettext
55+
- name: Run pre-commit
56+
uses: pre-commit/[email protected]
57+
with:
58+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/npm_updates.yml

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,38 @@
11
name: npm-staticfiles updater
22

33
on:
4-
push:
5-
branches:
6-
- 'main'
7-
workflow_dispatch:
4+
push:
5+
branches:
6+
- 'main'
7+
- 'dev'
8+
workflow_dispatch:
89

910
jobs:
10-
update_npm:
11-
runs-on: ubuntu-latest
12-
strategy:
13-
max-parallel: 4
14-
steps:
15-
- uses: actions/checkout@v2
16-
with:
17-
ref: ${{ github.head_ref }}
18-
- uses: actions/[email protected]
19-
with:
20-
python-version: 3.9
21-
- name: Install Dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
pip install pre-commit
25-
sudo apt-get update
26-
sudo apt-get -qq install -y npm
27-
- name: Install npm packages
28-
continue-on-error: true
29-
run: |
30-
npm install
31-
pre-commit run -a --config .pre-commit-only-line-endings-config.yaml
32-
- name: Commit npm packages
33-
uses: stefanzweifel/git-auto-commit-action@v4
34-
with:
35-
commit_message: 'Automated Change: updated npm requirements'
11+
update_npm:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
max-parallel: 4
15+
steps:
16+
- uses: actions/checkout@v3
17+
with:
18+
ref: ${{ github.head_ref }}
19+
- uses: actions/[email protected]
20+
with:
21+
python-version: '3.10'
22+
cache: 'pip'
23+
cache-dependency-path: 'requirements*.txt'
24+
- name: Install Dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install pre-commit
28+
sudo apt-get update
29+
sudo apt-get -qq install -y npm
30+
- name: Install npm packages
31+
continue-on-error: true
32+
run: |
33+
npm install
34+
pre-commit run -a --config .pre-commit-only-line-endings-config.yaml
35+
- name: Commit npm packages
36+
uses: stefanzweifel/git-auto-commit-action@v4
37+
with:
38+
commit_message: 'Automated Change: updated npm requirements'
Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,35 @@
11
name: dependabot for pre-commit
22

33
on:
4-
schedule:
5-
# * is a special character in YAML so you have to quote this string
6-
- cron: '0 19 * * 5' # monthly
4+
schedule:
5+
# * is a special character in YAML, so you have to quote this string
6+
- cron: '0 19 * * 5' # monthly
77

8-
workflow_dispatch:
8+
workflow_dispatch:
99

1010
jobs:
11-
update_pre-commit:
12-
runs-on: ubuntu-latest
13-
strategy:
14-
max-parallel: 4
15-
steps:
16-
- uses: actions/checkout@v2
17-
with:
18-
ref: ${{ github.head_ref }}
19-
- uses: actions/[email protected]
20-
with:
21-
python-version: 3.9
22-
- name: Install Dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install pre-commit
26-
- name: install update pre-commit
27-
run: |
28-
pre-commit autoupdate
29-
pre-commit autoupdate --config .pre-commit-only-line-endings-config.yaml
30-
- name: Commit pre-commit file if changed
31-
uses: stefanzweifel/git-auto-commit-action@v4
32-
with:
33-
commit_message: 'Automated Change: updated pre-commit requirements'
11+
update_pre-commit:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
max-parallel: 4
15+
steps:
16+
- uses: actions/checkout@v3
17+
with:
18+
ref: ${{ github.head_ref }}
19+
- uses: actions/[email protected]
20+
with:
21+
python-version: '3.10'
22+
cache: 'pip'
23+
cache-dependency-path: 'requirements*.txt'
24+
- name: Install Dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install pre-commit
28+
- name: install update pre-commit
29+
run: |
30+
pre-commit autoupdate
31+
pre-commit autoupdate --config .pre-commit-only-line-endings-config.yaml
32+
- name: Commit pre-commit file if changed
33+
uses: stefanzweifel/git-auto-commit-action@v4
34+
with:
35+
commit_message: 'Automated Change: updated pre-commit requirements'

0 commit comments

Comments
 (0)