You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
git clone --branch=new-pr [email protected]:FrenchGithubUser/flathub.git
# Switch into the cloned repositorycd flathub
# Create a new branch with your app’s name
git checkout -b frenchgithubuser-hatt
The name of the branch has no incidence on the submission and at no point in the submission will you need to change it.
Doing so will make github close the Pull Request.
Create the app manifest and push it to frenchgithubuser-hatt
# file: org.frenchgithubuser.Hatt.ymlid: io.github.FrenchGithubUser.Hatt# The runtime is the environment that the application will run in, so you can use dependencies it providesruntime: org.frenchgithubuser.Platformruntime-version: "0.3.4"sdk: org.frenchgithubuser.Sdk# This is the command that will be run when the application is launchedcommand: hatt# These are the permissions that the application needs# Read more about finishing here: https://docs.flatpak.org/en/latest/manifests.html#finishingfinish-args:
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio
- --share=network
- --share=ipcmodules:
- name: mycoolapp# There are other types of buildsystems, like autotools, cmake, cmake-ninja, simple, qmakebuildsystem: mesonsources:
- type: archiveurl: https://github.com/FrenchGithubUser/Hatt/archive/refs/tags/0.3.4.tar.gzdest: Hattsha256: e198214acdbb57363561dee2d73f27199999af26c283723067525bd854703e12# ^--- We should generate another one# Automatically check for updates and create merge requestsx-checker-data:
# There are different types of checkers, see the documentation for more informationtype: anitya# This is the ID of the project on anityaproject-id: 1url-template: https://github.com/FrenchGithubUser/Hatt/releases/download/v$version/hatt-source-$version.tar.xz
Note : This file can also be formated in json.
Open a pull request against the new-pr branch on GitHub
Please make sure to title the Pull Request with the name of the application. Example "Add org.example.MyAwesomeApp".
Issue
Briefly discussed in issue 11, I did a bit of research and took some notes that I am publishing here in the hopes that it would be integrated.
Submission
fork the Flathub repository on GitHub with "Copy the master branch only" unchecked.
Clone it locally
The name of the branch has no incidence on the submission and at no point in the submission will you need to change it.
Doing so will make github close the Pull Request.
frenchgithubuser-hatt
See manifest example
Something like this:
Note : This file can also be formated in json.
new-pr
branch on GitHubPlease make sure to title the Pull Request with the name of the application. Example "Add org.example.MyAwesomeApp".
Maintenance
In the Flathub repository that has been created after the merge request was treated
You can create a file called
flathub.json
to control various parameters of the build infrastructure such as :GitHub Actions
Here is a GitHub action I put together using the documentation and inspired by obs-studio's flatpak github action :
Note that it yet to be tested and thus, might need a bit of tweaking to do to make it work.
The text was updated successfully, but these errors were encountered: