-
Notifications
You must be signed in to change notification settings - Fork 445
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
Sgmoore/add core24 support #5092
base: main
Are you sure you want to change the base?
Sgmoore/add core24 support #5092
Conversation
didn't make it into my local repo.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5092 +/- ##
==========================================
- Coverage 94.88% 89.70% -5.18%
==========================================
Files 658 341 -317
Lines 55189 22640 -32549
==========================================
- Hits 52364 20310 -32054
+ Misses 2825 2330 -495 ☔ View full report in Codecov by Sentry. |
@mr-cal @sergiusens Please help with this security scan. I don't know how to fix it. Thanks |
Hi @ScarlettGatelyMoore, you can ignore the security scan failures for now, it is a problem between github and trivy that @lengau has been investigating. This is the error I'm referring to:
|
@mr-cal @sergiusens I believe the security scan is fixed with this, but I haven't properly tested it yet so I don't have a PR. ITMT we can just re-run them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM so far, but I'd like to snap an app with it before I give explicit approval just in case I come across any quirks we might want to document.
"default-provider": "mesa-2404", | ||
}, | ||
} | ||
gpu_layouts = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't really about this PR, but comparing this to the gnome extension we've got a lot of overlap. I wonder whether it would be worth creating an abstract DesktopExtension where this sort of general stuff could live, so we can share more common work?
@mr-cal @sergiusens @kenvandine what do you think?
Things that overlap and could just be extended for each desktop include
- plugs
- GPU plugs
- GPU layouts
- Some base themes
I'm happy to do the work for that, but I only want to do it if I'm actually making things better :-)
Please can we not do major revamps before this pr. This supposed to be about core24. |
I do understand that, but this is not a major change. Please commit the suggestions and remove the |
wrapper. Add GTK_USE_PORTAL as it is also needed by qt apps.
@lengau @mr-cal @sergiusens I don't understand why there are changes to the extension suddenly. I did not make them and they don't make any sense. |
Nevermind... I see |
I am struggling with the code coverage. Anything other than core24 or core22 fails with invalid key. i tried to cheat and see what gnome did, they didn't cover it either. |
@ScarlettGatelyMoore - the only thing I see is that there is not a test for these lines: case _:
raise AssertionError(f"Unsupported base: {base}") Now, why the code coverage says it dropped 5.17%? Don't worry about that - the tool seems to get confused very easily and everything else looks well tested. |
@mr-cal @lengau @sergiusens can you of you retrigger the spread tests. Tons failed and the only thing I can find in logs is kill timeout reached :( |
tox run -m lint
?tox run -e test-py310
? (supported versions:py39
,py310
,py311
,py312
)