Skip to content

Commit

Permalink
Merge tag 'weblate-5.4.3'
Browse files Browse the repository at this point in the history
Version 5.4.3
  • Loading branch information
p0358 committed Apr 13, 2024
2 parents ddbbb1a + 63d0320 commit ab26627
Show file tree
Hide file tree
Showing 884 changed files with 1,212,047 additions and 813,498 deletions.
33 changes: 17 additions & 16 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
Thank you for reporting an issue.
This form guides you in creating a useful issue report.
Want your answer quickly and guaranteed? Visit https://weblate.org/support/ to reach our dedicated support team. As a subscriber, you will always have priority and help Weblate growing.
- type: textarea
Expand All @@ -20,30 +21,30 @@ body:
description: >
A clear and concise description of the problem you are facing.
Please include important information as file format you are using or add-ons being installed.
Please include important information, like the file format you are using and installed add-ons.
placeholder: Tell us what you see!
validations:
required: true
- type: checkboxes
id: tried
attributes:
label: I already tried
description: If you didn’t try already, try to search the documentation and existing issues what you wrote above.
description: If you didn’t try already, try searching the documentation and existing issues.
options:
- label: I've read and searched [the documentation](https://docs.weblate.org/).
required: true
- label: I've searched for similar issues in this repository.
- label: I've searched for similar filed issues in this repository.
required: true
- type: textarea
id: reproducer
attributes:
label: Steps to reproduce the behavior
description: What did you do before the problem has appeared?
description: What did you do before the problem appeared?
placeholder: |
1. Go to '...'
2. Scroll down to '...'
3. Click on '...'
4. See error
1. Go to ''
2. Scroll down to ''
3. Click on ''
4. The error occurs
validations:
required: true
- type: textarea
Expand All @@ -62,11 +63,11 @@ body:
attributes:
label: Exception traceback
description: >
In case you observed server error or crash, please see
In case you observed a server error or crash, please read
[the debugging documentation](https://docs.weblate.org/en/latest/contributing/debugging.html)
for information how to obtain that.
for information on obtaining the relevant logs.
This will be rendered as Python traceback automatically.
This field will be rendered as a Python traceback automatically.
render: pytb
- type: dropdown
id: installation
Expand All @@ -85,16 +86,16 @@ body:
attributes:
label: Weblate versions
description: >
Please paste the output of
Please paste the output of the
[list_versions](https://docs.weblate.org/en/latest/admin/management.html#list-versions)
command over here.
command here.
Depending on the installation, these can be executed in a different
way. Please consult [the management commands
documentation](https://docs.weblate.org/en/latest/admin/management.html)
for more details.
On pip installed Weblate:
On pip-installed Weblate:
```
weblate list_versions
Expand Down Expand Up @@ -150,4 +151,4 @@ body:
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
description: Add any other contextual info about the problem here.
11 changes: 6 additions & 5 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
Thank you for requesting a change.
This form guides you in creating a useful feature request.
Want your answer quickly and guaranteed? Visit https://weblate.org/support/ to reach our dedicated support team. As a subscriber, you will always have priority and help Weblate growing.
- type: textarea
Expand All @@ -26,16 +27,16 @@ body:
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
label: Describe the solution you would like
description: A clear and concise description of what the new feature should do.
placeholder: I'd like to get…
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
label: Describe alternatives you have considered
description: A clear and concise description of any alternative solutions or features you have considered.
placeholder: The issue can also be addressed by…
- type: textarea
id: screenshots
Expand All @@ -46,4 +47,4 @@ body:
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
description: Add any other contextual info about the problem here.
12 changes: 12 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@
"shellcheck-py/shellcheck-py"
],
"versioning": "loose"
},
{
"matchPackageNames": [
"python"
],
"matchDatasources": [
"docker"
],
"separateMinorPatch": true,
"minor": {
"dependencyDashboardApproval": true
}
}
],
"regexManagers": [
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/closing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Add closed question comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
if: |
github.actor != 'renovate[bot]' &&
github.event.issue.state_reason == 'completed' &&
Expand All @@ -34,7 +34,7 @@ jobs:
* In case you see a similar problem, please open a separate issue.
* If you are happy with the outcome, don’t hesitate to support Weblate by making a [donation](https://weblate.org/donate/).
- name: Add closed issue comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
if: |
github.actor != 'renovate[bot]' &&
github.event.issue.state_reason == 'completed' &&
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@ jobs:
- name: Checkout repository
uses: actions/[email protected]
- name: Install apt dependencies
run: sudo ./ci/apt-install $CI_DATABASE
run: sudo ./ci/apt-install
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: pip
cache-dependency-path: '**/requirements*.txt'
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@v2
uses: github/codeql-action/init@v3
with:
setup-python-dependencies: false

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: pip
cache-dependency-path: '**/requirements*.txt'
cache-dependency-path: docs/requirements.txt
- name: Install apt dependencies
run: |
sudo apt update
Expand All @@ -39,7 +39,7 @@ jobs:
echo "::add-matcher::.github/matchers/sphinx.json"
./ci/run-docs
echo "::remove-matcher owner=sphinx::"
- uses: actions/upload-artifact@v3.1.3
- uses: actions/upload-artifact@v4.3.1
with:
name: Documentation
path: docs/_build/html
Expand All @@ -51,7 +51,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: pip
Expand All @@ -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/upload-artifact@v3.1.3
- uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: Linkcheck report
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Add backlog comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
if: ${{ github.event.label.name == 'backlog' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -33,7 +33,7 @@ jobs:
In case you need this feature soon, please consider helping
or push it by [funding the development](https://weblate.org/support/).
- name: Add undecided comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
if: ${{ github.event.label.name == 'undecided' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -46,7 +46,7 @@ jobs:
Please try to clarify the use case or consider proposing something more generic to make it useful to more users.
- name: Add question comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
if: ${{ github.event.label.name == 'question' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -63,7 +63,7 @@ jobs:
In case your question is already answered, [making a donation](https://weblate.org/donate/) is the right way to say thank you!
- name: Add translate-toolkit comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
if: ${{ github.event.label.name == 'translate-toolkit' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -72,7 +72,7 @@ jobs:
The issue you've reported needs to be addressed in the [translate-toolkit](https://github.com/translate/translate/).
Please file the issue there, and include links to any relevant specifications about the formats (if applicable).
- name: Add good first issue comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
if: ${{ github.event.label.name == 'good first issue' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/licenses-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
- uses: actions/[email protected]
with:
submodules: true
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
Expand All @@ -48,7 +48,7 @@ jobs:
commit_message: 'utils: Update SPDX license data'
- name: Create Pull Request
if: github.ref == 'refs/heads/main'
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
branch: create-pull-request/licenses-update
title: 'utils: Update SPDX license data'
Expand Down
25 changes: 21 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,29 @@ jobs:
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
- name: Install Python
run: brew link --overwrite python
- run: brew list --versions
- run: brew deps --tree --installed
- name: Fix Python
# Workaround for https://github.com/actions/setup-python/issues/577
run: |
brew uninstall --ignore-dependencies [email protected]
brew unlink [email protected]
rm -f /usr/local/bin/{2to3,idle3,pydoc3,python3,python3-config}
brew link --overwrite [email protected]
- name: Install brew dependencies
run: brew install pango cairo gobject-introspection glib libyaml tvuotila/libxmlsec1/[email protected] openssl pkg-config zstd xxhash
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
- name: Install Weblate
run: pip3 install -e .[all,test]
run: |
python3 -m venv .venv
.venv/bin/pip3 install -e .[all,test]
7 changes: 3 additions & 4 deletions .github/workflows/migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@ jobs:
- name: Install apt dependencies
run: sudo ./ci/apt-install $CI_DATABASE
- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: |-
3.11
cache: pip
cache-dependency-path: '**/requirements*.txt'
- name: Install pip dependencies
run: |
./ci/pip-install migrations
run: ./ci/pip-install migrations
- name: Check missing migrations
run: ./ci/run-checkmigrate
- name: Migrate from 5.0
Expand All @@ -58,7 +57,7 @@ jobs:
run: |
coverage combine
coverage xml
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{secrets.CODECOV_TOKEN}}
flags: migrations
Expand Down
Loading

0 comments on commit ab26627

Please sign in to comment.