forked from WeblateOrg/weblate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 4.18.1 # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCAAdFiEEh+Zzr4P2w6DDRMjD9KoinU1YwkUFAmSMRnwACgkQ9KoinU1Y # wkX19xAAhOg/nlztwbAeG1xoBtRNFhvycxbmyo8pTQ2SmJ2L2PmfvoK5gvfu5mHm # +DU8/f5zbqZa8gObigEpYOBuWI91m0Egg8HHlAfnOK4on81qeTy54ANmN34AMThm # 74c/uf/ntf16pYQI0V8ozCe6hFGkV9OjMT+bL9lCBOjyZnOf3nl9kvjrDd0nPvJY # TU+J+XU2gBPMfDIvFZRYoAf8jejnmfBiAkI6kN/03nyKrG/3A4m6Rn+prnAqrsx/ # g2Fa3e84E2/1tIpgOf4fVBi5CTwKeHooGUVcJfokQtKHKtmW0tdH3/oTOFYlc2Po # uHIUfC6zbCl3NyrWpU0otEzuAD1Ot8UbNWIk6zdyX6vlPaDAIFn07LxOJzVmeNvg # NzD/8j217++HJPbWHJErpQ8cg3T3oT0zihcx7UZgNuhw6ne6U7GDXrA7cVwfiunC # vhvRZi1hvFgRo3I12rhhC4sEcxF2JXiWf5/9L30KLvIrvkH9dRV6TFZFi1U8Ewr6 # ay4yh18cJYBdv95VDLKu8pQCeJoEiWYXQDhBPPcVL8Tb9yHs6Cp3wjAsR9DSVqRk # pcDGBwxJpbBbyL8dHe83AlF7js9zUCUUAHDanTje5C9hD6P5Oy0hkF2U9N53zn5l # zgMIh6LYTQvu/w3LYleCvWI93MPSDQdE+974QUNrIYAAWlGKGaU= # =wbfm # -----END PGP SIGNATURE----- # gpg: Signature made 16.06.2023 13:24:44 �rodkowoeuropejski czas letni # gpg: using RSA key 87E673AF83F6C3A0C344C8C3F4AA229D4D58C245 # gpg: Can't check signature: No public key
- Loading branch information
Showing
803 changed files
with
1,025,374 additions
and
888,373 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,10 @@ jobs: | |
contents: read # for actions/checkout to fetch code | ||
security-events: write # for github/codeql-action/autobuild to send a status report | ||
name: Analyze | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
- name: Install apt dependencies | ||
run: sudo ./ci/apt-install $CI_DATABASE | ||
- name: Set up Python | ||
|
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 |
---|---|---|
|
@@ -17,13 +17,13 @@ on: | |
|
||
jobs: | ||
licenses-update: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
with: | ||
submodules: true | ||
- uses: actions/cache@v3 | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ permissions: | |
|
||
jobs: | ||
migrations: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
database: [postgresql, mysql] | ||
|
@@ -43,7 +43,9 @@ jobs: | |
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.7 | ||
python-version: | | ||
3.7 | ||
3.11 | ||
cache: pip | ||
cache-dependency-path: '**/requirements*.txt' | ||
- name: Install pip dependencies | ||
|
@@ -87,11 +89,13 @@ jobs: | |
run: ./ci/run-migrate 4.15 | ||
- name: Migrate from 4.16 | ||
run: ./ci/run-migrate 4.16 | ||
- name: Migrate from 4.17 | ||
run: ./ci/run-migrate 4.17 | ||
- name: Coverage | ||
run: | | ||
coverage combine | ||
coverage xml | ||
- uses: codecov/[email protected].2 | ||
- uses: codecov/[email protected].4 | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
flags: migrations | ||
|
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,44 @@ | ||
# Copyright © Michal Čihař <[email protected]> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
# This file is maintained in https://github.com/WeblateOrg/meta/ | ||
name: pylint check | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- deepsource-fix-** | ||
- renovate/** | ||
- weblate | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
pylint: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cache/pip | ||
~/.cache/pre-commit | ||
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }} | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
pip install -r requirements-lint.txt | ||
- name: Add pylint annotator | ||
uses: pr-annotators/[email protected] | ||
|
||
- name: Run pylint | ||
run: pylint weblate/ |
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 |
---|---|---|
|
@@ -17,13 +17,13 @@ on: | |
|
||
jobs: | ||
jsonschema-update: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
persist-credentials: false | ||
|
||
|
@@ -61,6 +61,6 @@ jobs: | |
|
||
# Upload the results to GitHub's code scanning dashboard. | ||
- name: Upload to code-scanning | ||
uses: github/codeql-action/upload-sarif@v2.2.12 | ||
uses: github/codeql-action/upload-sarif@v2.20.0 | ||
with: | ||
sarif_file: results.sarif |
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,28 @@ | ||
# Copyright © Michal Čihař <[email protected]> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
on: | ||
workflow_dispatch: {} | ||
pull_request: {} | ||
push: | ||
branches: | ||
- main | ||
- master | ||
paths: | ||
- .github/workflows/semgrep.yml | ||
schedule: | ||
# random HH:MM to avoid a load spike on GitHub Actions at 00:00 | ||
- cron: 50 4 * * * | ||
name: Semgrep | ||
jobs: | ||
semgrep: | ||
name: semgrep/ci | ||
runs-on: ubuntu-20.04 | ||
env: | ||
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} | ||
container: | ||
image: returntocorp/semgrep | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: semgrep ci |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ permissions: | |
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
|
||
env: | ||
PYTHONUNBUFFERED: 1 | ||
|
@@ -45,13 +45,13 @@ jobs: | |
run: | | ||
coverage combine | ||
coverage xml | ||
- uses: codecov/[email protected].2 | ||
- uses: codecov/[email protected].4 | ||
with: | ||
flags: setup | ||
name: setup | ||
|
||
pip: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
|
||
env: | ||
PYTHONUNBUFFERED: 1 | ||
|
@@ -72,12 +72,12 @@ jobs: | |
- name: Install pip dependencies | ||
run: ./ci/pip-install | ||
- name: Install Weblate | ||
run: pip install . | ||
run: pip install '.[all]' | ||
- name: Check difference | ||
run: diff -ruNqp weblate $(python -c 'import weblate; import os; print(os.path.dirname(weblate.__file__))') | ||
|
||
dist: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
env: | ||
PYTHONUNBUFFERED: 1 | ||
PYTHONWARNINGS: default,ignore:unclosed:ResourceWarning | ||
|
@@ -112,7 +112,7 @@ jobs: | |
run: | | ||
coverage combine | ||
coverage xml | ||
- uses: codecov/[email protected].2 | ||
- uses: codecov/[email protected].4 | ||
with: | ||
flags: setup | ||
name: dist |
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
Oops, something went wrong.