From b95e1424fdd34d71fa2376fec0771cfccd555d50 Mon Sep 17 00:00:00 2001 From: KristijanZic Date: Mon, 16 Oct 2023 01:14:07 +0200 Subject: [PATCH 1/3] Rename fdev clap name from 'Locutus' to 'Freenet' --- crates/fdev/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fdev/src/config.rs b/crates/fdev/src/config.rs index f7dee00ad..4013dac98 100644 --- a/crates/fdev/src/config.rs +++ b/crates/fdev/src/config.rs @@ -6,7 +6,7 @@ use freenet::dev_tool::OperationMode; use semver::Version; #[derive(clap::Parser, Clone)] -#[clap(name = "Locutus Development Tool")] +#[clap(name = "Freenet Development Tool")] #[clap(author = "The Freenet Project Inc.")] #[clap(version = "0.0.3")] pub struct Config { From 663125dbb7771330c791c47e20debb8730d9cc16 Mon Sep 17 00:00:00 2001 From: KristijanZic Date: Mon, 16 Oct 2023 02:49:37 +0200 Subject: [PATCH 2/3] Finish renaming all fdev strings from "Locutus" to "Freenet" --- crates/fdev/src/config.rs | 8 ++++---- crates/fdev/src/inspect.rs | 2 +- crates/fdev/src/local_node.rs | 4 ++-- crates/fdev/src/local_node/user_events.rs | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/fdev/src/config.rs b/crates/fdev/src/config.rs index 4013dac98..dd5a37552 100644 --- a/crates/fdev/src/config.rs +++ b/crates/fdev/src/config.rs @@ -18,13 +18,13 @@ pub struct Config { #[derive(clap::Parser, Clone)] pub struct BaseConfig { - /// Overrides the default data directory where Locutus contract files are stored. + /// Overrides the default data directory where Freenet contract files are stored. #[arg(long)] pub(crate) contract_data_dir: Option, - /// Overrides the default data directory where Locutus delegate files are stored. + /// Overrides the default data directory where Freenet delegate files are stored. #[arg(long)] pub(crate) delegate_data_dir: Option, - /// Overrides the default data directory where Locutus secret files are stored. + /// Overrides the default data directory where Freenet secret files are stored. #[arg(long)] pub(crate) secret_data_dir: Option, /// Node operation mode. @@ -154,7 +154,7 @@ fn parse_version(src: &str) -> Result { Version::parse(src).map_err(|e| e.to_string()) } -/// Create a new Locutus contract and/or app. +/// Create a new Freenet contract and/or app. #[derive(clap::Parser, Clone)] pub struct NewPackageCliConfig { #[arg(id = "type", value_enum)] diff --git a/crates/fdev/src/inspect.rs b/crates/fdev/src/inspect.rs index bec5adee1..7da43cab1 100644 --- a/crates/fdev/src/inspect.rs +++ b/crates/fdev/src/inspect.rs @@ -19,7 +19,7 @@ enum FileType { Contract, } -/// Inspect the packaged WASM code for Locutus. +/// Inspect the packaged WASM code for Freenet. #[derive(clap::Parser, Clone)] struct CodeInspection {} diff --git a/crates/fdev/src/local_node.rs b/crates/fdev/src/local_node.rs index 98b8c36aa..d7ccaa88c 100644 --- a/crates/fdev/src/local_node.rs +++ b/crates/fdev/src/local_node.rs @@ -42,9 +42,9 @@ pub enum DeserializationFmt { MessagePack, } -/// A CLI utility for testing out contracts against a Locutus local node. +/// A CLI utility for testing out contracts against a Freenet local node. #[derive(clap::Parser, Clone)] -#[clap(name = "Locutus Local Development Node Environment")] +#[clap(name = "Freenet Local Development Node Environment")] #[clap(author = "The Freenet Project Inc.")] #[clap(group( ArgGroup::new("output") diff --git a/crates/fdev/src/local_node/user_events.rs b/crates/fdev/src/local_node/user_events.rs index 2767cf3c4..044bf420c 100644 --- a/crates/fdev/src/local_node/user_events.rs +++ b/crates/fdev/src/local_node/user_events.rs @@ -19,7 +19,7 @@ use crate::{util, CommandSender, DynError}; use super::{state::AppState, DeserializationFmt, LocalNodeCliConfig}; -const HELP: &str = "Locutus Contract Development Environment +const HELP: &str = "Freenet Contract Development Environment SUBCOMMANDS: help Print this message From e5f78487860e1c9f73c9cd22d734354504ac0876 Mon Sep 17 00:00:00 2001 From: KristijanZic Date: Mon, 16 Oct 2023 12:47:30 +0200 Subject: [PATCH 3/3] Bump up fdev version to 0.0.6 --- crates/fdev/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fdev/src/config.rs b/crates/fdev/src/config.rs index dd5a37552..ae51df979 100644 --- a/crates/fdev/src/config.rs +++ b/crates/fdev/src/config.rs @@ -8,7 +8,7 @@ use semver::Version; #[derive(clap::Parser, Clone)] #[clap(name = "Freenet Development Tool")] #[clap(author = "The Freenet Project Inc.")] -#[clap(version = "0.0.3")] +#[clap(version = "0.0.6")] pub struct Config { #[clap(subcommand)] pub sub_command: SubCommand,