mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-27 03:14:04 -04:00
c7d262b3755a9fa256b1e0b56a5d4fedcbe2a287
As discussed in #4848, this disables fuzzy matching entirely if stdin or stdout is not a tty, meaning that something like "flatpak install firefox" would be treated as incorrect syntax, since this syntax is intended for interactive CLI use. Even before this commit, "flatpak install firefox" would error out if run without a tty, since we don't automatically choose a matching app ID even if there is only one match. However "flatpak install -y firefox" could work before, but won't any more. People should be specifying the full app ID in any context other than a tty. This commit also introduces a new env var so the unit tests can continue to check the fuzzy matching behavior, despite them being run without a tty.
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux.
See https://flatpak.org/ for more information.
Community discussion happens in #flatpak:matrix.org, on the mailing list, and on the Flathub Discourse.
Read documentation for Flatpak here.
Contributing
Flatpak welcomes contributions from anyone! Here are some ways you can help:
- Fix one of the issues and submit a PR
- Update flatpak's translations and submit a PR
- Improve flatpak's documentation, hosted at http://docs.flatpak.org and developed over in flatpak-docs
- Find a bug and submit a detailed report including your OS, flatpak version, and the steps to reproduce
- Add your favorite application to Flathub by writing a flatpak-builder manifest and submitting it
- Improve the Flatpak support in your favorite Linux distribution
Hacking
See CONTRIBUTING.md
Related Projects
Here are some notable projects in the Flatpak ecosystem:
- Flatseal: An app for managing permissions of Flatpak apps without using the CLI
- Flat-manager: A tool for managing Flatpak repositories
Description
Languages
C
91.1%
Shell
5.1%
Python
1.8%
Meson
1.1%
Yacc
0.8%
