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 5.5.5
- Loading branch information
Showing
1,028 changed files
with
779,485 additions
and
588,018 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -28,24 +28,21 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].5 | ||
- name: Install apt dependencies | ||
run: sudo ./ci/apt-install | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
cache: pip | ||
cache-dependency-path: requirements*.txt | ||
- name: Used versions | ||
run: ./ci/print-versions | ||
- name: Install pip dependencies | ||
run: ./ci/pip-install | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
setup-python-dependencies: false | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@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 |
---|---|---|
|
@@ -39,7 +39,7 @@ jobs: | |
echo "::add-matcher::.github/matchers/sphinx.json" | ||
./ci/run-docs | ||
echo "::remove-matcher owner=sphinx::" | ||
- uses: actions/[email protected].1 | ||
- uses: actions/[email protected].3 | ||
with: | ||
name: Documentation | ||
path: docs/_build/html | ||
|
@@ -55,7 +55,7 @@ jobs: | |
with: | ||
python-version: '3.11' | ||
cache: pip | ||
cache-dependency-path: '**/requirements*.txt' | ||
cache-dependency-path: docs/requirements.txt | ||
- name: Install pip dependencies | ||
run: pip install -r docs/requirements.txt | ||
- name: Sphinx linkcheck | ||
|
@@ -69,7 +69,7 @@ jobs: | |
sed 's@^@docs/@' docs/_build/linkcheck/output.txt | ||
echo "::remove-matcher owner=sphinx::" | ||
echo "::remove-matcher owner=sphinx-warn::" | ||
- uses: actions/[email protected].1 | ||
- uses: actions/[email protected].3 | ||
if: always() | ||
with: | ||
name: Linkcheck report | ||
|
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 |
---|---|---|
|
@@ -23,23 +23,24 @@ jobs: | |
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/[email protected].1 | ||
- uses: actions/[email protected].5 | ||
with: | ||
submodules: true | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cache/pip | ||
~/.cache/pre-commit | ||
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }} | ||
key: ${{ runner.os }}-pre-commit-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('.pre-commit-config.yaml') }} | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
pip install -r requirements-lint.txt | ||
python -m pip install $(sed -n 's/.*"\(pip==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
pip install $(sed -n 's/.*"\(wheel==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
pip install $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
- run: ./scripts/generate-license-data | ||
- name: Update renovate branch | ||
if: github.ref != 'refs/heads/main' | ||
|
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 |
---|---|---|
|
@@ -19,15 +19,14 @@ jobs: | |
macos: | ||
# This verifies that installation instructions works, any changes here | ||
# need to be reflected in docs/admin/install/venv-macos.rst | ||
runs-on: macos-13 | ||
runs-on: macos-14 | ||
env: | ||
PYTHONUNBUFFERED: 1 | ||
PYTHONWARNINGS: default,ignore:unclosed:ResourceWarning | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 | ||
HOMEBREW_NO_INSTALL_UPGRADE: 1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: brew update | ||
- run: brew upgrade | ||
- run: brew list --versions | ||
- run: brew deps --tree --installed | ||
- name: Fix Python | ||
|
@@ -37,14 +36,12 @@ jobs: | |
brew unlink [email protected] | ||
rm -f /usr/local/bin/{2to3,idle3,pydoc3,python3,python3-config} | ||
brew link --overwrite [email protected] | ||
- name: Fix OpenSSL | ||
# Pulls fix from https://github.com/Homebrew/homebrew-core/pull/169721 | ||
run: brew reinstall openssl@3 | ||
- name: Install brew dependencies | ||
run: | | ||
# Workaround for https://github.com/xmlsec/python-xmlsec/issues/254 | ||
wget -O /tmp/libxmlsec1.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/7f35e6ede954326a10949891af2dba47bbe1fc17/Formula/libxmlsec1.rb | ||
brew install --formula /tmp/libxmlsec1.rb | ||
brew pin libxmlsec1 | ||
brew install python pango cairo gobject-introspection glib libyaml pkg-config zstd xxhash | ||
brew install python pango cairo gobject-introspection glib libyaml pkg-config zstd xxhash libxmlsec1 | ||
- name: Install Weblate | ||
run: | | ||
python3 -m venv .venv | ||
|
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 |
---|---|---|
|
@@ -27,14 +27,11 @@ jobs: | |
with: | ||
python-version: '3.11' | ||
cache: pip | ||
cache-dependency-path: | | ||
requirements-lint.txt | ||
requirements-ci.txt | ||
- name: Install dependencies | ||
run: | | ||
pip install -r requirements-ci.txt | ||
pip install -r requirements-lint.txt | ||
python -m pip install $(sed -n 's/.*"\(pip==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
pip install $(sed -n 's/.*"\(wheel==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
pip install $(sed -n 's/.*"\(pylint==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
- name: Add pylint annotator | ||
uses: pr-annotators/[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 |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
- main | ||
paths: | ||
- .github/workflows/schema-update.yml | ||
- requirements.txt | ||
- pyproject.toml | ||
- docs/Makefile | ||
|
||
jobs: | ||
|
@@ -23,12 +23,17 @@ jobs: | |
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/[email protected].1 | ||
- uses: actions/[email protected].5 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
- run: pip install $(grep -E '^(weblate-schemas)==' requirements.txt) -r requirements-lint.txt | ||
- name: Install pip dependencies | ||
run: | | ||
python -m pip install $(sed -n 's/.*"\(pip==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
pip install $(sed -n 's/.*"\(wheel==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
pip install $(sed -n 's/.*"\(weblate-schemas==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
pip install $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml) | ||
- run: make -C docs update-schemas | ||
- run: pre-commit run --files $(git diff --name-only) | ||
continue-on-error: true | ||
|
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,12 +29,12 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].5 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Run analysis | ||
uses: ossf/[email protected].1 | ||
uses: ossf/[email protected].3 | ||
with: | ||
results_file: results.sarif | ||
results_format: sarif | ||
|
@@ -53,14 +53,14 @@ jobs: | |
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF | ||
# format to the repository Actions tab. | ||
- name: Upload artifact | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].3 | ||
with: | ||
name: SARIF file | ||
path: results.sarif | ||
retention-days: 5 | ||
|
||
# Upload the results to GitHub's code scanning dashboard. | ||
- name: Upload to code-scanning | ||
uses: github/codeql-action/upload-sarif@v3.24.1 | ||
uses: github/codeql-action/upload-sarif@v3.25.4 | ||
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
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
Oops, something went wrong.