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

ci: add linux packages & minimize archive size #721

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Integral-Tech
Copy link
Contributor

@Integral-Tech Integral-Tech commented Dec 26, 2024

Background

  • Currently dae doesn't provide linux packages, including .deb, .rpm and .pkg.tar.zst. Add them in prerelease & release to make installing dae more convenient for Linux users.
  • Adopted by Linux kernel source code, .tar.xz provides higher compression ratio than .zip, which also preserves UNIX file permissions.

Checklist

Full Changelogs

  • Add .deb, .rpm and .tar.zst packages in prerelease & release workflow
  • Add .tar.xz format for full source archive

Issue Reference

Closes #[issue number]

Test Result

All deb packages are built successfully in my fork (https://github.com/Integral-Tech/dae/actions/runs/12512700911)
(v0.9.1 is just a fake version number)

Screenshot_20241227_143551

Screenshot_20241227_143458

@MarksonHon
Copy link
Contributor

@Integral-Tech Now you have two choices you must choose:

  1. Sync workflows from daed and provide rpm, pkg.tar.zst too.
  2. Add nee workflows to build rpm and pkg.tar.zst, then sync new workflows to daed.

@Integral-Tech Integral-Tech requested a review from a team as a code owner December 27, 2024 04:55
@Integral-Tech Integral-Tech changed the title ci: add .deb package in prerelease & release ci: add linux packages & minimize archive size Dec 27, 2024
@Integral-Tech
Copy link
Contributor Author

@MarksonHon Done :)

@Integral-Tech Integral-Tech force-pushed the add-deb branch 2 times, most recently from dccf610 to b733035 Compare December 27, 2024 05:33
@MarksonHon
Copy link
Contributor

图片
I think the dgst file should be kept for full source archive.

@Integral-Tech
Copy link
Contributor Author

Integral-Tech commented Dec 27, 2024

图片 I think the dgst file should be kept for full source archive.

Digests of all bundled files (including archives and packages) are generated in one go:

Screenshot_20241227_201733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants