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

apt publishing #44

Open
Fexiven opened this issue Jun 11, 2024 · 4 comments
Open

apt publishing #44

Fexiven opened this issue Jun 11, 2024 · 4 comments
Labels
Q-RFC Questions that are open to comments
Milestone

Comments

@Fexiven
Copy link

Fexiven commented Jun 11, 2024

Are there already any thoughts on publishing the project to apt repos?

@Fexiven Fexiven changed the title apt publish apt publishing Jun 11, 2024
@jamesmunns
Copy link
Collaborator

Hey @Fexiven! This is another area that there is likely long term interest, but not something I am familiar enough to do immediately.

As debian often has somewhat older versions of the rust compiler, this also plays into the discussion for MSRV: #41.

As of today, it looks like debian stable is on Rust 1.63: https://packages.debian.org/search?keywords=rustc, and Rust 1.79 is releasing tomorrow: https://www.whatrustisit.com/

That puts it 16 releases behind, or about two years: (16 releases x (6 weeks / 1 release) x (1 year / 52 weeks)) = 1.85 years.

In general, there is likely interest in APT (and other) packaging, but likely not right now, and we'll need to discuss how to support this.

I did just check if we can build on 1.63, and the initial answer is "no", due to MSRV of at least one dependency (there may be more):

error: package `zstd-sys v2.0.10+zstd.1.5.6` cannot be built because it requires rustc 1.64 or newer, while the currently active rustc version is 1.63.0

@jamesmunns jamesmunns added this to the Backlog milestone Jun 11, 2024
@jamesmunns jamesmunns added the Q-RFC Questions that are open to comments label Jun 11, 2024
@Fexiven
Copy link
Author

Fexiven commented Jun 11, 2024

Great, exactly what i feared. Thanks for the info

@jamesmunns
Copy link
Collaborator

jamesmunns commented Jun 11, 2024

Definitely happy to keep this issue open to track this, and open to feedback from package maintainers or other folks who have experience packaging Rust applications for debian, including things to be aware of, and any practical suggestions for making this possible.

@eaufavor
Copy link
Collaborator

I'm not an expert on Debian packaging but I don't think we need to worry about compiler dependency if we just want to publish binaries as a 3rd party package source, like https://openresty.org/en/linux-packages.html. Binaries compiled with the latest rustc should just work fine on Debian Bookworm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Q-RFC Questions that are open to comments
Projects
None yet
Development

No branches or pull requests

3 participants