mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
Merge branch 'master' into rom-hashing-background-task
This commit is contained in:
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@@ -16,22 +16,22 @@ jobs:
|
||||
packages: write
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
|
||||
- name: Generate Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: |
|
||||
name=rommapp/romm
|
||||
@@ -52,14 +52,14 @@ jobs:
|
||||
org.opencontainers.image.version={{version}}
|
||||
org.opencontainers.image.title="rommapp/romm"
|
||||
org.opencontainers.image.description="RomM (ROM Manager) allows you to scan, enrich, and browse your game collection with a clean and responsive interface. With support for multiple platforms, various naming schemes and custom tags, RomM is a must-have for anyone who plays on emulators."
|
||||
org.opencontainers.image.licenses="GPL-3.0"
|
||||
org.opencontainers.image.licenses="AGPLv3"
|
||||
|
||||
- name: Set version
|
||||
run: |
|
||||
sed -i 's/<version>/${{ steps.meta.outputs.version }}/' backend/__version__.py
|
||||
|
||||
- name: Build image
|
||||
uses: docker/build-push-action@v4
|
||||
- name: Build base image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
file: docker/Dockerfile
|
||||
context: .
|
||||
|
||||
4
.github/workflows/pytest.yml
vendored
4
.github/workflows/pytest.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install mariadb connectors
|
||||
run: |
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
pipx install poetry
|
||||
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
cache: "poetry"
|
||||
|
||||
2
.github/workflows/trunk-check.yml
vendored
2
.github/workflows/trunk-check.yml
vendored
@@ -17,6 +17,6 @@ jobs:
|
||||
contents: read # For repo checkout
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Trunk Check
|
||||
uses: trunk-io/trunk-action@v1
|
||||
|
||||
4
.github/workflows/typecheck.yml
vendored
4
.github/workflows/typecheck.yml
vendored
@@ -20,10 +20,10 @@ jobs:
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
|
||||
|
||||
@@ -38,7 +38,34 @@ from sqlalchemy.inspection import inspect
|
||||
from utils.context import initialize_context
|
||||
|
||||
STOP_SCAN_FLAG: Final = "scan:stop"
|
||||
NON_HASHABLE_PLATFORMS = ["pc", "win", "mac", "linux"]
|
||||
NON_HASHABLE_PLATFORMS = [
|
||||
"pc",
|
||||
"win",
|
||||
"mac",
|
||||
"linux",
|
||||
"switch",
|
||||
"ps3",
|
||||
"ps4",
|
||||
"ps4--1",
|
||||
"ps5",
|
||||
"wiiu",
|
||||
"xbox-360",
|
||||
"xboxone",
|
||||
"series-x",
|
||||
"android",
|
||||
"ios",
|
||||
"ipad",
|
||||
"amazon-alexa",
|
||||
"amazon-fire-tv",
|
||||
"gear-vr",
|
||||
"meta-quest-2",
|
||||
"meta-quest-3",
|
||||
"oculus-go",
|
||||
"oculus-quest",
|
||||
"oculus-rift",
|
||||
"psvr",
|
||||
"psvr2",
|
||||
]
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
16
frontend/package-lock.json
generated
16
frontend/package-lock.json
generated
@@ -15,7 +15,7 @@
|
||||
"axios": "^1.7.4",
|
||||
"core-js": "^3.37.1",
|
||||
"cronstrue": "^2.50.0",
|
||||
"emulatorjs": "github:emulatorjs/emulatorjs#v4.1.1",
|
||||
"emulatorjs": "github:emulatorjs/emulatorjs#v4.2.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"js-cookie": "^3.0.5",
|
||||
"jszip": "^3.10.1",
|
||||
@@ -3936,8 +3936,8 @@
|
||||
},
|
||||
"node_modules/emulatorjs": {
|
||||
"name": "@emulatorjs/emulatorjs",
|
||||
"version": "4.0.12",
|
||||
"resolved": "git+ssh://git@github.com/emulatorjs/emulatorjs.git#a7b59f19a3e9415c2a42121461da3df03b25d3b5",
|
||||
"version": "4.2.0",
|
||||
"resolved": "git+ssh://git@github.com/emulatorjs/emulatorjs.git#8d42d53d4fdf0166f71eaa07529cadf93350b76e",
|
||||
"dependencies": {
|
||||
"http-server": "^14.1.1"
|
||||
}
|
||||
@@ -5676,14 +5676,15 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/nanoid": {
|
||||
"version": "5.0.7",
|
||||
"version": "5.0.9",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz",
|
||||
"integrity": "sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.js"
|
||||
},
|
||||
@@ -6089,14 +6090,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/postcss/node_modules/nanoid": {
|
||||
"version": "3.3.7",
|
||||
"version": "3.3.8",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz",
|
||||
"integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.cjs"
|
||||
},
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"axios": "^1.7.4",
|
||||
"core-js": "^3.37.1",
|
||||
"cronstrue": "^2.50.0",
|
||||
"emulatorjs": "github:emulatorjs/emulatorjs#v4.1.1",
|
||||
"emulatorjs": "github:emulatorjs/emulatorjs#v4.2.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"js-cookie": "^3.0.5",
|
||||
"jszip": "^3.10.1",
|
||||
|
||||
Reference in New Issue
Block a user