Packages
Decision tree
| Need | Preferred location |
|---|---|
| GUI application | Flatpak |
| CLI or user tool | Homebrew |
| Required system dependency | Fedora RPM |
| Third-party RPM | Isolated COPR |
| Legacy application | External user-space environment |
Procedure
- Search the repository and shared inputs before adding a new source.
- Put base package data in the package manifest, not an inline shell array.
- Keep Fedora and COPR package transactions separate.
- For images installed with
bootc install, includebootupdexplicitly;
do not rely on the base image to provide it transitively.
- When a default Flatpak replaces an inherited RPM application, remove it
from [fedora], list it in [excluded], and preserve any application
configuration hook that targets the Flatpak.
- Run:
just check
pre-commit run --all-files
For shell changes:
bash -n build_files/base/03-packages.sh
shellcheck build_files/**/*.sh
Security boundary
COPR installs must preserve the helper's enable → disable → explicit install
sequence. See COPR isolation.
When to Use
Use for RPM, Flatpak, COPR, or Homebrew input changes.
When NOT to Use
Do not use for Generic build validation or release debugging.
Core Process
Classify the input, edit its source manifest, validate resolution and policy.
Common Rationalizations
- "A shortcut is harmless." Follow the source-of-truth and verification rules instead.
Red Flags
- Putting package data in the wrong layer or mixing trusted and third-party sources.
Verification
- [ ] The selected source and focused command were checked.
- [ ] The repository default gate passes.