-
Notifications
You must be signed in to change notification settings - Fork 47
DevNotes_DevGuide_FlatpakReleaseProcess
Jeff Krzywon edited this page Jan 14, 2026
·
3 revisions
This is a draft guide on maintaining and publishing the Flatpak release for SasView.
Repo: https://github.com/flathub/org.sasview.sasview
Release on Flathub: https://flathub.org/en/apps/org.sasview.sasview
Gaining access to the flathub repo
- Check all dependencies match the pinned release dependencies
- Dependencies are in six json and one yml file
- Ensure all pinned versions match each other across all files and match what sasview used in its build
- Dependency SHAs must match
- pypi shows the SHAs of all files.
- The cargo file SHAs are available on the cargo page.
- Create a new branch, make all changes and push
- Update the source tag at the bottom of
org.sasview.sasview.yml - Update the sasmodels and sasdata versions at the bottom of
python3-requirements.json
- Update the source tag at the bottom of
- Open a PR to trigger a test build
- Correct any issues related to the build (typically due to dependencies, deprecations, and incompatibilities)
- Once the build is successful, merge the PR into master to trigger a release on flathub
- Flathub release should update within 48 hours
- The build failed
- Check the error message from the CI logs. Due to the size of the logs, you will likely need to look in the raw log file for the error. If the failure is due to:
- a package installation, ensure all other files are using the same version of that dependency, and upgrade or roll back the version. Again, all dependency pins for the same package must use the the same version.
- a deprecation warning, roll the dependency version back to a point where the failure is no longer deprecated.
- A merge into main didn't trigger a new release
- The manifest file in the sasview repo must be updated prior to the release
- If if wasn't, update it, create a post-release tag (vx.y.z.posta), and update the flatpak repo to match the tag
- The release won't upload if the build failed. See the previous troubleshooting bullet to correct this.
- If both of these are correct, please wait 48 hours. If the flathub page is still not updated, submit an issue to https://github.com/flathub/flathub.
- The manifest file in the sasview repo must be updated prior to the release
- View/Subscribe to the SasView Calendar
- Fortnightly developer's agenda/minutes
- Developer Guides
- Admin Processes and Procedure Notes
- Active Project Pages
- Historical Archive of Obsolete Pages
- Contributor e-Learning Course (free)
- Non Coding contribution needs/projects
- New functionality projects
- acknowledging contributions