Skip to content

Conversation

bbhtt
Copy link
Contributor

@bbhtt bbhtt commented Aug 3, 2025

This is needed to store the application icons and the mirrored
screenshots (as done by appstream) to the ostree repo. This can be
useful in many ways, the primary being flat-manager extracts [1] these
screenshot refs and stores them in the server so that application
store frontends can use their own mirrored screenshot and icon URLs.

This has been for the longest time done at various downstream levels
such as in buildbot [2], flatpak-github-actions [3] and vorarbeiter [4]
(the successor to buildbot) but it's more user friendly to have
flatpak-builder do this extra work.

[1]: https://github.com/flatpak/flat-manager/commit/eff43004756c011b0a0d034a61cec84836b8e0a9
[2]: https://github.com/flathub-infra/buildbot/blob/9d8e2b5483b2e446389548446ebf9c3934380682/master/buildbot/flathub_master.py#L1081
[3]: https://github.com/flatpak/flatpak-github-actions/blob/6684584b07d86113b1acfc80b3e4667f16f617c3/flatpak-builder/index.js#L280-L286
[4]: https://github.com/flathub-infra/vorarbeiter/blob/7f2f04a562e73ba4f46044dae7c99f8e9e64a39d/justfile#L185-L189

@bbhtt
Copy link
Contributor Author

bbhtt commented Aug 3, 2025

This is in use in Flathub for the past 1+ month https://github.com/flathub-infra/flatpak-builder/commits/flathub/

@bbhtt bbhtt force-pushed the bbhtt/commit-sc-ref branch from 6096eb5 to 0edc428 Compare August 3, 2025 12:26
@bbhtt
Copy link
Contributor Author

bbhtt commented Aug 3, 2025

rebase over #651

@bbhtt bbhtt force-pushed the bbhtt/commit-sc-ref branch 2 times, most recently from c0d2b67 to 7614f11 Compare August 6, 2025 06:30
@bbhtt bbhtt force-pushed the bbhtt/commit-sc-ref branch 2 times, most recently from bd97d65 to a41f2e4 Compare August 6, 2025 07:01
@swick
Copy link
Contributor

swick commented Sep 2, 2025

LGTM with the code style fixed.

@bbhtt bbhtt force-pushed the bbhtt/commit-sc-ref branch from a41f2e4 to b531dc9 Compare September 2, 2025 10:39
@bbhtt
Copy link
Contributor Author

bbhtt commented Sep 2, 2025

rebased to drop the merged commits from the other MRs.

@bbhtt bbhtt force-pushed the bbhtt/commit-sc-ref branch from b531dc9 to dec56df Compare September 2, 2025 11:03
This is needed to store the application icons and the mirrored
screenshots (as done by appstream) to the ostree repo. This can be
useful in many ways, the primary being flat-manager extracts [1] these
screenshot refs and stores them in the server so that application
store frontends can use their own mirrored screenshot and icon URLs.

This has been for the longest time done at various downstream levels
such as in buildbot [2], flatpak-github-actions [3] and vorarbeiter [4]
(the successor to buildbot) but it's more user friendly to have
flatpak-builder do this extra work.

[1]: flatpak/flat-manager@eff4300
[2]: https://github.com/flathub-infra/buildbot/blob/9d8e2b5483b2e446389548446ebf9c3934380682/master/buildbot/flathub_master.py#L1081
[3]: https://github.com/flatpak/flatpak-github-actions/blob/6684584b07d86113b1acfc80b3e4667f16f617c3/flatpak-builder/index.js#L280-L286
[4]: https://github.com/flathub-infra/vorarbeiter/blob/7f2f04a562e73ba4f46044dae7c99f8e9e64a39d/justfile#L185-L189
@bbhtt bbhtt force-pushed the bbhtt/commit-sc-ref branch from dec56df to 0db0752 Compare September 2, 2025 12:03
@swick
Copy link
Contributor

swick commented Sep 2, 2025

LGTM

@bbhtt bbhtt merged commit b5a5f77 into flatpak:main Sep 3, 2025
5 checks passed
@bbhtt bbhtt deleted the bbhtt/commit-sc-ref branch September 3, 2025 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants