Skip to content

cargo: restructure as package#538

Closed
abn wants to merge 2 commits into
flatpak:masterfrom
abn:pkg-cargo-generator
Closed

cargo: restructure as package#538
abn wants to merge 2 commits into
flatpak:masterfrom
abn:pkg-cargo-generator

Conversation

@abn

@abn abn commented May 21, 2026

Copy link
Copy Markdown

Restructuring the cargo generator so that users can use one of the following to install similar to the node generator.

pipx install git+https://github.com/flatpak/flatpak-builder-tools.git#subdirectory=cargo
uvx --from "git+https://github.com/flatpak/flatpak-builder-tools.git#subdirectory=cargo" flatpak-cargo-generator /path/to/Cargo.lock -o cargo-sources.json

@abn abn requested a review from a team as a code owner May 21, 2026 10:51
@github-actions github-actions Bot added the cargo Rust cargo label May 21, 2026
@bbhtt

bbhtt commented May 21, 2026

Copy link
Copy Markdown
Collaborator

this is going to break current uses of the script. there has been several issues about changing various generators to proper packages and each time I answered no. you can look it up.

the node generator started as a proper package for a long time.

also you can already do:

uv run https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/refs/heads/master/cargo/flatpak-cargo-generator.py --help

@bbhtt bbhtt closed this May 21, 2026
@abn

abn commented May 21, 2026

Copy link
Copy Markdown
Author

@bbhtt thanks for the response, apologies for the noise.

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

Labels

cargo Rust cargo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants