Skip to content

Remove C CLI#221

Open
vvidic wants to merge 1 commit intogoogle:masterfrom
vvidic:remove-cli
Open

Remove C CLI#221
vvidic wants to merge 1 commit intogoogle:masterfrom
vvidic:remove-cli

Conversation

@vvidic
Copy link
Copy Markdown
Collaborator

@vvidic vvidic commented Mar 26, 2026

Keep README.md until we create a manpage for CLI.

Closes #187

@vvidic vvidic force-pushed the remove-cli branch 6 times, most recently from 4189057 to 59a8f2e Compare March 27, 2026 22:50
Copy link
Copy Markdown
Collaborator

@burgerdev burgerdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@@ -1,4 +1,4 @@
FROM docker.io/library/debian:bullseye AS build
FROM docker.io/library/debian:latest AS build
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is using latest a good idea? I'd think we might want to be deliberate about updating the version here. For reproducibility, we might even want to pin the version/digest.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to trixie as the current stable version.

Comment on lines +22 to +35
fix_version() {
pkg="librust-$1-dev"
ver=$(dpkg-query -W -f '${Version}\n' "$pkg")
if [ "$ver" ]; then
ver=${ver%%-*}
sed -i "/^$1/s/= \"[.0-9]*\"/= \"$ver\"/" rust/Cargo.toml
fi
}

fix_version base64
fix_version hex-literal
fix_version tempfile
fix_version yaml-rust2
rm -f rust/Cargo.lock
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we somehow align the versions in the Cargo.lock and the ones from Debian more permanently?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated versions in Cargo.toml so they work with current Debian packages.

Keep README.md until we create a manpage for CLI.

Also update Docker image to use the Rust CLI.

Closes google#187
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.

Remove C CLI

2 participants