Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@domcyrus
Copy link
Owner

Adds Ubuntu PPA packaging with automated GitHub Actions workflow.

  • Debian packaging files in debian/ directory
  • GitHub Actions workflow for automated PPA uploads
  • Targets Ubuntu Questing (25.10) with Rust 1.88
  • Vendored dependencies in debian/vendor.tar.xz for offline builds

After merge, users can install via:

sudo add-apt-repository ppa:domcyrus/rustnet
sudo apt update && sudo apt install rustnet

Use rustup from Ubuntu repos instead of curl download to install
stable Rust toolchain. Fixes Launchpad build failures where system
cargo 1.75.0 doesn't support edition 2024.
Test package compilation in CI using rustup before uploading to
Launchpad to catch build issues early.
Ensure rustup-installed cargo is used instead of system cargo by
prepending CARGO_HOME/bin to PATH.
The rustup package is only available in Noble and later releases,
so we're dropping support for Jammy (22.04).
Ubuntu rustup package provides cargo and rustc executables directly,
no need to run rustup-init. Simplified build configuration.
Ubuntu rustup package provides cargo 1.75 by default, which doesn't
support edition 2024. Use 'rustup default stable' to install the
latest stable toolchain that supports edition 2024.
Switch from Noble to Questing (25.10) to support Rust edition 2024.
Use versioned cargo-1.85 and rustc-1.85 packages from Ubuntu repos.
Will migrate to 26.04 LTS when available.
Previous upload was rejected due to file conflict.
Update to cargo-1.88 and rustc-1.88 to match rust-version in Cargo.toml.
Parse debian/changelog to get actual revision instead of hardcoding.
@domcyrus domcyrus merged commit 3c4d5e4 into main Oct 14, 2025
5 checks passed
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