打包者
如何把应用加入 FlatPark 并维护它。建议按顺序读:发现应用、能不能打包、包是什么(文件、运行时机、extra-data 规则)、选择格式和对应格式的页面、预构建库(runtime 缺的库)、权限、出问题时看常见问题,然后是提交应用(构建、测试、提 PR)和清理。打包流程手册是 agent 每次打包都要走的完整流程。打包文档只有英文。
- Finding appsWhere FlatPark finds apps worth packaging, how to check one is wanted and not already served, and how to choose between them.
- Can it be packaged?What an app needs before it can be listed, and when an app already on Flathub can be.
- What a package isWhat a FlatPark package is made of, what runs when, and why the app itself is never in it.
- Choosing a formatWhich of upstream's downloads to package, and which runtime goes with it.
- Prebuilt stacksShared support libraries built once in flatpark/prebuilt — what exists, when to use one, and how to add one.
- PermissionsWhich sandbox permissions a package grants, which it leaves to the user, and what has to be declared.
- Common problemsProblems packages run into inside the sandbox, what causes them, and the fixes that have worked, by symptom and by stack.
- Submitting an appBuild the package, test it locally, and open the pull request.
- Cleaning up after a runRemoving everything a packaging, review or test run left on the machine, and nothing else.
- Packaging playbookThe full process an agent follows on every packaging run, from candidate to listed app.