How to submit a Flatpak app

Hello,

I created a *.flatpak file
How to submit this file, I see this Wiki, but I don’t understand the process ?
How I add the *.flatpak file or a *.tar file ?
I search a link to a GitHub project example.

Thanks

You create a pull request here: https://github.com/flathub/flathub/pulls

Full instructions to get started are in the readme of that repo, or here: flathub/CONTRIBUTING.md at master · flathub/flathub · GitHub

Thanks, for example on GitHub, I fork flathub, I push a commit :

  • a *.yml file :

app-id: org.flatpak.Hello
runtime: org.freedesktop.Platform
runtime-version: ‘22.08’
sdk: org.freedesktop.Sdk
command: hello.sh
modules:

  • name: hello
    buildsystem: simple
    build-commands:
    • install -D hello.sh /app/bin/hello.sh
      sources:
    • type: file
      path: hello.sh

It’s necessary to add too

“tag”: “1.0.4”,
“commit”: “cdfb19b90587bc0c44404fae30c139f9ec1cca5c”

but I don’t understand how to know the “commit” before to push the commit ???

  • I think it’s necessary to push in the commit “hello.sh” too ?

Thanks

it’s the commit from the repository of the source of the application, so it already exists.

There are two repositories:

  • a flathub one that includes the build information
  • your repository

You first create a commit in your repository and then edit the manifest in the flathub repository to add a new version with the commit hash from your repository.