Skip to content

Conversation

@mitradranirban
Copy link
Contributor

This pull request will generate and release Linux binary along with MacOS and Windows one. This binary will be used to create both snap and flatpak

Copy link
Member

@justvanrossum justvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use pre-commit to avoid linter errors.

I think you just need to do pre-commit install in the repo dir.

@justvanrossum
Copy link
Member

Please rebase to main: I update the macos and Windows builds to use Python 3.13. There should be no conflict.

@mitradranirban mitradranirban marked this pull request as draft December 5, 2025 03:43
@mitradranirban mitradranirban marked this pull request as ready for review December 5, 2025 06:28
@justvanrossum justvanrossum merged commit d23a028 into fontra:main Dec 5, 2025
1 check passed
@justvanrossum
Copy link
Member

Thank you! I will do a test release.

@justvanrossum
Copy link
Member

After I get the release working, I will update the website. This binary is only for x86, right? Would this be a good label on the website?

Download Fontra Pak for Linux x86

Or should it sayUbuntu? Please advice.

@justvanrossum
Copy link
Member

Or should this not be mentioned, and rather link to the flatpak version once that's up and running?

@mitradranirban
Copy link
Contributor Author

It can already be used directly in Ubuntu(x86_64) , so Fontra Pak for Ubuntu x86_64 can be mentioned.

We have to set some other workflow in the fontra-flatpak repository that will query the release in fontra-pak and update the manifest and metainfo file accordingly whenevere the relase is changed. It can be done as cron or workflow dispatch or alternatively it can be done by trigger from the the fontra-pak repository. Which way you think is better ?

@justvanrossum
Copy link
Member

fontra-pak can trigger an event in a different repo on release. I already do that for the website:

Sender:

- name: Update website / Repository Dispatch
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.WEBSITE_PAT }}
repository: fontra/fontra-website
event-type: release-event

Receiver:

https://github.com/fontra/fontra-website/blob/66785d07b173ab56ee340699cb7daf806e9da617/.github/workflows/update-release-info.yaml#L3-L8

This would be relatively easy to add. The first step would be to get it working with a manual trigger, then once everything is good to go I can add the release event trigger.

In the meantime, should I add a direct download to the Ubuntu x86_64 download on the website, or shall I wait until the flatpak version works so we can link to that? Or should ultimately both be linked to?

@mitradranirban
Copy link
Contributor Author

Link to Ubuntu x86_64 binary can be added to website. When Flatpak is completed we can replace that with Flatpak and Snap links. Already about 70 people use the unofficial snap , so that can also be made official with minimum effort

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