Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trunk.io checks #868

Merged
merged 30 commits into from
Jun 3, 2024
Merged

Add trunk.io checks #868

merged 30 commits into from
Jun 3, 2024

Conversation

gantoine
Copy link
Member

No description provided.

Copy link

github-actions bot commented May 22, 2024

Test Results

73 tests  ±0   73 ✅ ±0   24s ⏱️ +2s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit eb27780. ± Comparison against base commit 577fe9a.

♻️ This comment has been updated with latest results.

@rommapp rommapp deleted a comment from trunk-io bot May 22, 2024
@gantoine gantoine changed the title Add Tunk Check Add Trunk.io checks May 24, 2024
@gantoine gantoine changed the title Add Trunk.io checks Add trunk.io checks May 24, 2024
@gantoine gantoine marked this pull request as ready for review June 2, 2024 23:32

if not metadata_sources:
metadata_sources = ["igdb", "moby"]

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

Rom.file_name.ilike(f"%{search_term}%"),
Rom.name.ilike(f"%{search_term}%"),
Rom.file_name.ilike(f"%{search_term}%"), # type: ignore[attr-defined]
Rom.name.ilike(f"%{search_term}%"), # type: ignore[attr-defined]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mypy doesn't play nice with sqlalchemy

]
for name in excluded_names:
if file_name == name or fnmatch.fnmatch(file_name, name):
excluded_files.append(file_name)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

name=s["name"],
cover_url=pydash.get(s, "cover.url", ""),
type="similar",
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

) -> Rom:
if not metadata_sources:
metadata_sources = ["igdb", "moby"]

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

and_(Rom.igdb_id == self.igdb_id, Rom.igdb_id != None), # noqa
and_(Rom.moby_id == self.moby_id, Rom.moby_id != None), # noqa
and_(Rom.igdb_id == self.igdb_id, Rom.igdb_id is not None),
and_(Rom.moby_id == self.moby_id, Rom.moby_id is not None),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

<template v-slot:activator="{ props }">
<div v-bind="props">
<template #activator="{ props: tooltipProps }">
<div v-bind="tooltipProps">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

<v-btn
:disabled="!auth.scopes.includes('roms.write')"
v-bind="props"
v-bind="menuProps"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

@@ -25,7 +41,7 @@ const galleryFilter = storeGalleryFilter();
<v-divider class="mx-2 my-4" />
<v-row no-gutters>
<v-col class="text-caption">
<p v-html="rom.summary"></p>
<p v-text="rom.summary" />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

@@ -8,14 +8,15 @@ import type { Emitter } from "mitt";
import { inject, ref } from "vue";

const props = defineProps<{ rom: DetailedRom }>();
const romRef = ref<DetailedRom>(props.rom);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

variant="outlined"
class="text-romm-accent-1"
label
@click.stop
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

@@ -10,14 +10,15 @@ import storeRoms, { type DetailedRom } from "@/stores/roms";
import type { StateSchema } from "@/__generated__";

const props = defineProps<{ rom: DetailedRom }>();
const romRef = ref<DetailedRom>(props.rom);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

url_cover: string | undefined;
name: string;
rom: SearchRomSchema;
};
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

>
<v-hover v-slot="{ isHovering, props }" open-delay="800">
<v-hover
v-slot="{ isHovering: isChildHovering, props: hoverProps }"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

if (file) {
reader.readAsDataURL(file);
if (input.files[0]) {
reader.readAsDataURL(input.files[0]);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

@@ -25,18 +25,18 @@ function selectRom(event: MouseEvent) {
</script>

<template>
<v-hover v-slot="{ isHovering, props }">
<v-hover v-slot="{ isHovering, props: hoverProps }">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

@@ -14,6 +14,7 @@ const props = defineProps<{
bios: FirmwareSchema | null;
core: string | null;
}>();
const romRef = ref<DetailedRom>(props.rom);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

changeOrigin: false,
ws: true,
},
"/openapi.json": {
target: `http://localhost:${backendPort}`,
target: `http://127.0.0.1:${backendPort}`,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#CHANGE

@gantoine gantoine requested a review from zurdi15 June 3, 2024 03:57
@gantoine gantoine merged commit 1e4fcb9 into master Jun 3, 2024
8 checks passed
@gantoine gantoine deleted the trunk-io branch June 3, 2024 18:51
@zurdi15 zurdi15 mentioned this pull request Jul 19, 2024
spiceratops added a commit to spiceratops/k8s-gitops that referenced this pull request Jul 23, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [rommapp/romm](https://togithub.com/rommapp/romm) | minor | `3.2.0` ->
`3.3.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>rommapp/romm (rommapp/romm)</summary>

### [`v3.3.0`](https://togithub.com/rommapp/romm/releases/tag/3.3.0)

[Compare
Source](https://togithub.com/rommapp/romm/compare/3.2.0...3.3.0)

#### What's Changed

- UI complete redesign by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#934
- Covers are now fetch in their 1080p version by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#934
- Now sibling roms can have different covers by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#934
- Screenshots are fetch in their big version by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#934
- Setup wizard added for new **RomM** installations by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#976
- Added collections by [@&#8203;zurdi15](https://togithub.com/zurdi15)
in
[rommapp/romm#964
- Add favourites collection as special collection by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#977
- SteamGridDB integration. Roms and collections can be edited with a
SteamGridDB cover by [@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#960
- Enhanced scan logs by [@&#8203;zurdi15](https://togithub.com/zurdi15)
in
[rommapp/romm#965
- Select main sibling added for merged roms in gallery by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#963
- Allow users to edit their own profile by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#975
- Fixed firmware drawer permissions by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#956
- Added total filesize endpoint by
[@&#8203;adamantike](https://togithub.com/adamantike) in
[rommapp/romm#969
- Improved Docker image size by
[@&#8203;adamantike](https://togithub.com/adamantike) in
[rommapp/romm#947
- Install redis instead of building in Dockerfile by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#945
- Fix section links and improve grammar/spelling in README.md by
[@&#8203;TylerVigario](https://togithub.com/TylerVigario) in
[rommapp/romm#914
- Add trunk.io checks by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#868
- Add parallel-n64 to cores by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#923
- Use core icon when showing version by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#922
- Add interactive table of contents by
[@&#8203;Nicmorris1820](https://togithub.com/Nicmorris1820) in
[rommapp/romm#924
- Added linuxserver/mariadb as alternative by
[@&#8203;need4swede](https://togithub.com/need4swede) in
[rommapp/romm#926
- Added large carousel on screnshot click by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#932
- Resources structure migrated from
`resources/{platform_slug}/{rom_name}` to
`resources/roms/{platform_id}/{rom_id}`.
- Disabled zip compression on streaming multi-file download to increase
speed by [@&#8203;adamantike](https://togithub.com/adamantike) in
[rommapp/romm#983
- Prevent mass-purging of roms during scan if filesystem is not
correctly mounted by [@&#8203;gantoine](https://togithub.com/gantoine)
in
[rommapp/romm#987
- Fixed abort scan by [@&#8203;gantoine](https://togithub.com/gantoine)
in
[rommapp/romm#1004
- Added support for any kind of image extension on custom covers by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#1002
-   Fixes and improvements everywhere

#### New Contributors

- [@&#8203;adamantike](https://togithub.com/adamantike) made their first
contribution in
[rommapp/romm#947
- [@&#8203;TylerVigario](https://togithub.com/TylerVigario) made their
first contribution in
[rommapp/romm#914
- [@&#8203;Nicmorris1820](https://togithub.com/Nicmorris1820) made their
first contribution in
[rommapp/romm#924
- [@&#8203;need4swede](https://togithub.com/need4swede) made their first
contribution in
[rommapp/romm#926
- [@&#8203;lepture](https://togithub.com/lepture) made their first
contribution in
[rommapp/romm#931

**Full Changelog**:
rommapp/romm@3.2.0...3.3.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzQuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQzNC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants