-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ci(flatpak): add flatpak builder lint #2799
Conversation
e65590f
to
939a103
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2799 +/- ##
======================================
Coverage 8.95% 8.95%
======================================
Files 95 95
Lines 17386 17386
Branches 8268 8268
======================================
Hits 1557 1557
Misses 12964 12964
Partials 2865 2865
Flags with carried forward coverage won't be shown. Click here to find out more. |
eebf5ff
to
c53b29c
Compare
777e597
to
a6ea337
Compare
.github/workflows/CI.yml
Outdated
flatpak run --command=flatpak-builder-lint org.flatpak.Builder --exceptions manifest ${APP_ID}.yml | ||
|
||
echo "Linting flatpak repo" | ||
mirror_url="https://dl.flathub.org/media/dev/lizardbyte/app.Sunshine/453e7e848f225b26ce4d5f2500a806c1/screenshots/image-1_orig.webp" |
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.
should be just https://dl.flathub.org/media
. We're discussing how to disable this check for builds not targetting Flathub.
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.
Thank you!
I have one question. Is the "--exceptions" arg only going to allow exceptions that are for this flatpak id? Or it will pass any if the rule says exceptions allowed?
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.
I must have missed something.
usage: flatpak-builder-lint [-h] [--version] [--exceptions] [--appid APPID]
[--cwd] [--ref REF]
{builddir,repo,manifest,appstream} path
flatpak-builder-lint: error: unrecognized arguments: --mirror-screenshots-url=https://dl.flathub.org/media
35bef65
to
0c63c2e
Compare
17a294a
to
65c0d1b
Compare
65c0d1b
to
9b4d191
Compare
@gschintgen would you be able to test this PR? Mostly I'd like to ensure that deb or rpm packages didn't break due to any of the CMake changes. |
Ok, sure, I'll install the .deb later (next 24h) and let you know.
…On July 7, 2024 12:36:43 AM GMT+02:00, ReenigneArcher ***@***.***> wrote:
@gschintgen would you be able to test this PR? Mostly I'd like to ensure that deb or rpm packages didn't break due to any of the CMake changes.
--
Reply to this email directly or view it on GitHub:
#2799 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
I downloaded the last available deb from the CI here, that is the one before your (minor) last force push. It seems to work fine. I also checked out the PR locally and built it. I can't say there's anything out of the ordinary. But I only did very cursory testing (a few seconds of remote desktop.) I had a quick look at sunshine.desktop and sunshine.service (since the respective .in files were modified) and they seem fine. |
Description
Add flatpak manifest linting, per discussion from flathub/dev.lizardbyte.app.Sunshine#36 (comment)
Screenshot
Issues Fixed or Closed
Type of Change
.github/...
)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.