Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Flatpak.gitignore #4781

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

Open
strugee wants to merge 1 commit into github:main
base: main
Choose a base branch
Loading
from strugee:flatpak-gitignore
Open

Conversation

@strugee
Copy link
Contributor

@strugee strugee commented Jan 4, 2026

Reasons for making this change

Flatpak is a widely-used Linux application packaging format that's available for install on basically every Linux distribution, and is installed out-of-the-box on many, including all Linux distributions in the Red Hat family and many distributions downstream of Ubuntu.

Links to documentation supporting these rule changes

Cribbed directly from the Element Flatpak's .gitignore file at https://github.com/flathub/im.riot.Riot/blob/master/.gitignore, simply because Element is a pretty popular application. (Important bit of context for those not familiar with Flatpak/Flathub packaging: the workflow for getting an app into Flathub, the de-facto public Flatpak repository, puts packaging files in a separate repository from the actual app.)

Note in particular that this covers all directories that will be created by the Flatpak tutorial's suggested flatpak-builder command: https://docs.flatpak.org/en/latest/first-build.html#build-and-install

repo is the OSTree repository that the built Flatpak will be "published" to for testing, .flatpak-builder is an internal build directory, and builddir is another, user-specified build directory.

If this is a new template

Link to application or project’s homepage: https://flatpak.org/

Merge and Approval Steps

  • Confirm that you've read the contribution guidelines and ensured your PR aligns
  • Ensure CI is passing
  • Get a review and Approval from one of the maintainers

Cribbed directly from the Element Flatpak's .gitignore file at
https://github.com/flathub/im.riot.Riot/blob/master/.gitignore, simply
because Element is a pretty popular application.
Note in particular that this covers all directories that will be
created by the Flatpak tutorial's suggested `flatpak-builder` command:
https://docs.flatpak.org/en/latest/first-build.html#build-and-install
`repo` is the OSTree repository that the built Flatpak will be
"published" to for testing, `.flatpak-builder` is an internal build
directory, and `builddir` is another, user-specified build directory.
@strugee strugee requested a review from a team as a code owner January 4, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /