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

[Merged by Bors] - feat: FVM self subcommand #3570

Closed
wants to merge 13 commits into from
Next Next commit
feat: fvm self command to install/uninstall fvm
  • Loading branch information
EstebanBorai committed Sep 30, 2023
commit 6708fec50931bd310c5ee782937a267c2e4d939c
159 changes: 157 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ members = [
"crates/fluvio-test-case-derive",
"crates/fluvio-test-util",
"crates/fluvio-types",
"crates/fluvio-version-manager",
"crates/fluvio-connector-package",
"crates/fluvio-connector-deployer",
"crates/fluvio-connector-common",
Expand Down Expand Up @@ -118,6 +119,7 @@ serde_yaml = { version = "0.9.0", default-features = false }
sha2 = { version = "0.10" }
siphasher = "1.0.0"
static_assertions = "1.1.0"
surf = "2.3.2"
syn = "2.0"
sysinfo = { version = "0.29.0", default-features = false }
tar = { version = "0.4.38", default-features = false }
Expand Down
2 changes: 0 additions & 2 deletions crates/fluvio-hub-util/src/fvm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ pub use api::Client;

pub const STABLE_VERSION_CHANNEL: &str = "stable";
pub const LATEST_VERSION_CHANNEL: &str = "latest";

#[allow(unused)]
pub const DEFAULT_PKGSET: &str = "default";

pub const ARM_UNKNOWN_LINUX_GNUEABIHF: &str = "arm-unknown-linux-gnueabihf";
Expand Down
2 changes: 1 addition & 1 deletion crates/fluvio-hub-util/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
mod fvm;
mod hubaccess;
mod package;
mod package_meta_ext;
mod utils;

pub mod keymgmt;
pub mod fvm;

use const_format::concatcp;

Expand Down
38 changes: 38 additions & 0 deletions crates/fluvio-version-manager/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[package]
name = "fluvio-version-manager"
version = "0.1.0"
EstebanBorai marked this conversation as resolved.
Show resolved Hide resolved
edition = "2021"
authors = ["Fluvio Contributors <team@fluvio.io>"]
description = "Fluvio Version Manager"
repository = "https://github.com/infinyon/fluvio"
license = "Apache-2.0"
publish = false

[[bin]]
name = "fvm"
path = "src/main.rs"

[dependencies]
dialoguer = "0.11.0"
EstebanBorai marked this conversation as resolved.
Show resolved Hide resolved

# Workspace Dependencies
async-std = { workspace = true, features = ["attributes"] }
clap = { workspace = true , features = ["std", "color", "derive", "help"] }
colored = { workspace = true }
color-eyre = { workspace = true, default-features = false }
comfy-table = { workspace = true }
dirs = { workspace = true }
hex = { workspace = true }
semver = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
surf = { workspace = true }
EstebanBorai marked this conversation as resolved.
Show resolved Hide resolved
tempfile = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }
EstebanBorai marked this conversation as resolved.
Show resolved Hide resolved
toml = { workspace = true }
url = { workspace = true }

# Workspace Crates
fluvio-hub-util = { workspace = true }
Loading