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

Sgmoore/add core24 support #5092

Open
wants to merge 72 commits into
base: main
Choose a base branch
from

Conversation

ScarlettGatelyMoore
Copy link
Contributor

  • [ x] Have you followed the guidelines for contributing?
  • [x ] Have you signed the CLA?
  • [x ] Have you successfully run tox run -m lint?
  • [x ] Have you successfully run tox run -e test-py310? (supported versions: py39, py310, py311, py312)

Copy link

codecov bot commented Oct 4, 2024

Codecov Report

Attention: Patch coverage is 95.12195% with 4 lines in your changes missing coverage. Please review.

Project coverage is 89.71%. Comparing base (654871d) to head (8510f5f).
Report is 667 commits behind head on main.

Files with missing lines Patch % Lines
snapcraft/extensions/kde_neon.py 96.36% 2 Missing ⚠️
snapcraft/extensions/kde_neon_6.py 92.59% 2 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (654871d) and HEAD (8510f5f). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (654871d) HEAD (8510f5f)
2 1
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5092      +/-   ##
==========================================
- Coverage   94.88%   89.71%   -5.17%     
==========================================
  Files         658      341     -317     
  Lines       55189    22649   -32540     
==========================================
- Hits        52364    20320   -32044     
+ Misses       2825     2329     -496     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ScarlettGatelyMoore
Copy link
Contributor Author

@mr-cal @sergiusens Please help with this security scan. I don't know how to fix it. Thanks

@mr-cal
Copy link
Collaborator

mr-cal commented Oct 7, 2024

@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:

2024-10-07T13:30:16Z	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: database download error: OCI repository error: 1 error occurred:
	* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 426.143µs, allowed: 44000/minute

@lengau
Copy link
Contributor

lengau commented Oct 8, 2024

@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.

Copy link
Contributor

@lengau lengau left a 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 = {
Copy link
Contributor

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 :-)

@ScarlettGatelyMoore
Copy link
Contributor Author

I can't seem to sort this one out - google:ubuntu-22.04-64:tests/spread/core22/linters/library

@lengau @mr-cal @sergiusens

@mr-cal
Copy link
Collaborator

mr-cal commented Nov 27, 2024

There's nothing useful in the log. I'll run it again and see if it fails again.

@ScarlettGatelyMoore
Copy link
Contributor Author

There's nothing useful in the log. I'll run it again and see if it fails again.

It looks like last rebase fixed it.

@mr-cal
Copy link
Collaborator

mr-cal commented Dec 9, 2024

@ScarlettGatelyMoore - is this ready for review?

@ScarlettGatelyMoore
Copy link
Contributor Author

Yes... please.

@ScarlettGatelyMoore
Copy link
Contributor Author

@ScarlettGatelyMoore - is this ready for review?
Hi! Sorry, just released from hospital. Just rebased and hopefully we can get this approved soon? Thanks!

@mr-cal
Copy link
Collaborator

mr-cal commented Dec 16, 2024

I will review this week

@mr-cal mr-cal requested a review from lengau December 17, 2024 15:44
Copy link
Collaborator

@mr-cal mr-cal left a comment

Choose a reason for hiding this comment

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

Looks good, just some minor feedback.

snapcraft/extensions/kde_neon.py Show resolved Hide resolved
snapcraft/extensions/kde_neon.py Outdated Show resolved Hide resolved
tests/spread/extensions/kde-neon/task.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@lengau lengau left a comment

Choose a reason for hiding this comment

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

LGTM! I installed this branch and built a Keysmith snap off it, which I intend to make a merge request for as soon as this lands on stable.

extensions/desktop/command-chain-kde/run Show resolved Hide resolved
tests/spread/extensions/kde-neon/task.yaml Outdated Show resolved Hide resolved
@ScarlettGatelyMoore
Copy link
Contributor Author

Done! Thanks!

@ScarlettGatelyMoore
Copy link
Contributor Author

Well it's broken now after @lengau error change. I am confused as to why. I can't find where the call is coming from and our snaps have worked just fine. I have added the file it is demanding to the content snap, but it will be awhile before it will be done. This makes zero sense to me.

@ScarlettGatelyMoore
Copy link
Contributor Author

please re-trigger tests @mr-cal @lengau

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.

4 participants