Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically generate DEB and RPM packages for testing #541

Open
hiunnhue opened this issue May 17, 2024 · 3 comments
Open

Automatically generate DEB and RPM packages for testing #541

hiunnhue opened this issue May 17, 2024 · 3 comments

Comments

@hiunnhue
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Describe the solution you'd like

Is it possible to configure GitHub Actions or another method to automatically generate DEB and RPM packages for testing purposes? This would allow users to easily install them for testing, eliminating the need for manual builds (and potentially resolving build errors) on their machines.

As I recall, libchewing used to have an Ubuntu PPA that automatically generated the latest DEB package for users after each commit or when a beta version was released.

@kanru
Copy link
Member

kanru commented May 17, 2024

I was thinking about that too. With CMake we can easily generate binary packages, they will not be compliant with distro standards though. So we should warn about that.

Do you want to have per release binary or per commit? Which is more useful?

@hiunnhue
Copy link
Contributor Author

I am not sure about this ... but would it be inefficient to generate binary packages for every commit, especially considering minor changes like typo fixes or documentation updates?

Perhaps we could automate binary package generation for tags (like Alpha, Beta, RC, etc.) and allow for manual triggering on specific commits when necessary, namely, when you would like to call for testers.

Alternatively, we could implement scheduled builds (daily or weekly) that run whenever there's a new commit. This might also be useful for bug triage, as there wouldn't be too many commits between builds.

Unlike PPAs, problematic packages are immediately pushed to users via PPAs. This allows users (volunteers) to immediately report any errors they encounter.

@kanru
Copy link
Member

kanru commented May 17, 2024

Sure, I can attach binary packages for tagged releases.

We can also setup weekly builds, though I'm not sure if we will have that many changes 😅

@kanru kanru added the mentor label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants