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

(Do not look at this)(Seriously) Flathub publishing updates #9776

Conversation

GeorgesStavracas
Copy link
Member

Description

We need to pass the build-log-url now, and validate our output with the flatpak-builder-linter tool. Let's do that.

Motivation and Context

Flathub is changing, and so should we.

How Has This Been Tested?

It hasn't.

Types of changes

  • Tweak (non-breaking change to improve existing functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

Use more recent commits. Use a specific commit hash instead of v6.3
to include a fix for the order of arguments in some cases.
This is about to become a Flathub rule, let's pass that.
Validate the Flatpak manifest before building it; then, validate
the build directory; and when publishing, validate the repository
as well.
Comment on lines +289 to +292
- name: Validate Flatpak manifest
run: |
: Validate Flatpak manifest
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest ${{ github.workspace }}/build-aux/com.obsproject.Studio.json
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't recommend doing this, the JSON schema provided by the linter is not up to date against the one in the flatpak/flatpak-builder repo.

Copy link
Member Author

Choose a reason for hiding this comment

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

We should just follow the most recent one

Copy link
Collaborator

@tytan652 tytan652 Oct 29, 2023

Choose a reason for hiding this comment

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

You also need to install the Builder Flatpak, like I did in my WIP commit tytan652@007bf85

Edit: I saw the change on the github action side.

@WizardCM WizardCM added Enhancement Improvement to existing functionality Linux Affects Linux labels Nov 4, 2023
@tytan652
Copy link
Collaborator

Superseded by #9814

@tytan652 tytan652 closed this Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement to existing functionality Linux Affects Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants