-
-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into screenshot
- Loading branch information
Showing
4,154 changed files
with
186,639 additions
and
53,238 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# TODO: Figure out why these specific tests are flaky on CI, fix them, then delete this file. | ||
[[profile.ci.overrides]] | ||
filter = "test(avm2/pixelbender_shaderdata) or test(avm2/graphics_round_rects)" | ||
retries = 4 |
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,10 @@ | ||
# At the moment, we only use Docker to ease the perfect reproduction | ||
# of the submitted Firefox extension for the AMO reviewers. | ||
# These folders are not needed for that, but can get fairly large in | ||
# a development repo, which makes building the Docker image harder. | ||
.git | ||
target | ||
tests/tests/swf | ||
**/node_modules | ||
web/packages/*/dist | ||
web/docker/docker_builds/* |
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,7 +1,10 @@ | ||
--- | ||
name: Error report | ||
title: "Error" | ||
about: | ||
labels: ["error-report"] | ||
assignees: "" | ||
about: "[DON'T CHOOSE THIS]: For auto-generated error reports" | ||
title: Error | ||
labels: error-report | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/web/" | ||
versioning-strategy: increase | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
npm-minor: | ||
patterns: | ||
- "*" | ||
update-types: | ||
- "minor" | ||
- "patch" | ||
labels: | ||
- "T-chore" | ||
- "A-deps" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "T-chore" | ||
- "A-deps" | ||
|
||
- package-ecosystem: "cargo" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
winit-wgpu-egui: | ||
patterns: | ||
- "winit" | ||
- "wgpu" | ||
- "naga" | ||
- "egui*" | ||
- "raw-window-handle" | ||
wasm-bindgen: | ||
patterns: | ||
- "wasm-bindgen" | ||
- "js-sys" | ||
- "web-sys" | ||
- "wasm-bindgen-futures" | ||
cargo-minor: | ||
patterns: | ||
- "*" | ||
update-types: | ||
- "minor" | ||
- "patch" | ||
labels: | ||
- "T-chore" | ||
- "A-deps" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,11 @@ name: Download translations from Crowdin | |
on: | ||
schedule: | ||
- cron: '0 21 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
crowdin: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
|
||
if: github.repository == 'ruffle-rs/ruffle' | ||
|
||
|
@@ -16,21 +17,78 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Crowdin push | ||
uses: crowdin/github-action@v1 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install -y itstool gettext appstream | ||
- name: Generate desktop & metainfo sources | ||
working-directory: desktop/packages/linux | ||
run: | | ||
make update | ||
# Crowdin action creates files and directories as root, | ||
# however we need write access to them to apply changes, | ||
# so just create them here instead of relying on Crowdin. | ||
- name: Create locale directories | ||
working-directory: desktop/packages/linux | ||
run: | | ||
mkdir -p locale/rs.ruffle.Ruffle.desktop | ||
mkdir -p locale/rs.ruffle.Ruffle.metainfo.xml | ||
- name: Crowdin download | ||
uses: crowdin/github-action@v2 | ||
with: | ||
config: 'crowdin.yml' | ||
upload_sources: false | ||
upload_translations: false | ||
download_translations: true | ||
localization_branch_name: l10n_crowdin_translations | ||
|
||
create_pull_request: true | ||
pull_request_title: 'chore: Update translations' | ||
pull_request_body: 'New Crowdin pull request with translations' | ||
pull_request_labels: 'localization' | ||
pull_request_base_branch_name: 'master' | ||
commit_message: 'chore: Update translations from Crowdin' | ||
push_translations: false | ||
create_pull_request: false | ||
env: | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Apply desktop & metainfo sources | ||
working-directory: desktop/packages/linux | ||
run: | | ||
make apply | ||
- name: Upload intermediate files | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: desktop/packages/linux/locale | ||
|
||
- name: Commit | ||
run: | | ||
git config user.name "RuffleBuild" | ||
git config user.email "[email protected]" | ||
git checkout -b l10n_crowdin_translations | ||
git add -A | ||
git commit -m 'chore: Update translations from Crowdin' | ||
- name: Push | ||
uses: ad-m/github-push-action@master | ||
with: | ||
branch: l10n_crowdin_translations | ||
github_token: ${{ secrets.RUFFLE_BUILD_TOKEN }} | ||
force: true | ||
|
||
- name: Create a PR | ||
run: | | ||
prs=$(gh pr list --base master --head l10n_crowdin_translations --limit 1 --json id | jq length) | ||
if [ "$prs" = 1 ]; then echo "PR already exists"; exit 0; fi | ||
pr_url=$(gh pr create \ | ||
--title 'chore: Update translations' \ | ||
--body 'New Crowdin pull request with translations 🎉' \ | ||
--head l10n_crowdin_translations \ | ||
--base master) | ||
# This has to be done separately from creating a PR, because | ||
# GitHub currently has issues with creating a PR with labels. | ||
# Basically creating a PR works, adding labels works, but creating | ||
# a PR with labels doesn't ¯\_(ツ)_/¯ | ||
gh pr edit "$pr_url" --add-label T-chore --add-label A-i18n | ||
env: | ||
# Use a custom token rather than the automatic GITHUB_TOKEN, as the automatic one doesn't allow created PRs to trigger workflows | ||
# By using our own token (and thus own user), workflows will run, and the PR will be able to be merged. | ||
GITHUB_TOKEN: ${{ secrets.RUFFLE_BUILD_TOKEN }} |
Oops, something went wrong.