diff --git a/ant-node-manager/README.md b/ant-node-manager/README.md index e9147ac8be..b64d967aa9 100644 --- a/ant-node-manager/README.md +++ b/ant-node-manager/README.md @@ -6,9 +6,9 @@ It runs on Linux, macOS and Windows. ## Installation -The latest version can be installed via [safeup](https://github.com/maidsafe/safeup): +The latest version can be installed via [antup](https://github.com/maidsafe/antup): ``` -safeup antctl +antup antctl ``` A binary can also be obtained for your platform from the releases in this repository. @@ -356,7 +356,7 @@ faucet - RUNNING So by default, 25 node processes have been launched, along with a faucet. The faucet dispenses tokens for use when uploading files. We can now run `safe` commands against the local network. -The most common scenario for using a local network is for development, but you can also use it to exercise a lot of features locally. For more details, please see the 'Using a Local Network' section of the [main README](https://github.com/maidsafe/safe_network/tree/node-man-readme?tab=readme-ov-file#using-a-local-network). +The most common scenario for using a local network is for development, but you can also use it to exercise a lot of features locally. For more details, please see the 'Using a Local Network' section of the [main README](../README.md#using-a-local-network). Once you've finished, run `antctl local kill` to dispose the local network. @@ -366,9 +366,9 @@ Sometimes it will be necessary to run the integration tests in a local setup. Th The tests can be run from a VM, which is provided by a `Vagrantfile` in the `ant_node_manager` crate directory. The machine is defined to use libvirt rather than Virtualbox, so an installation of that is required, but that is beyond the scope of this document. -Assuming that you did have an installation of libvirt, you can get the VM by running `vagrant up`. Once the machine is available, run `vagrant ssh` to get a shell session inside it. For running the tests, switch to the root user using `sudo su -`. As part of the provisioning process, the current `safe_network` code is copied to the root user's home directory. To run the tests: +Assuming that you did have an installation of libvirt, you can get the VM by running `vagrant up`. Once the machine is available, run `vagrant ssh` to get a shell session inside it. For running the tests, switch to the root user using `sudo su -`. As part of the provisioning process, the current `autonomi` code is copied to the root user's home directory. To run the tests: ``` -cd safe_network +cd autonomi just node-man-integration-tests ``` diff --git a/ant-node-manager/src/bin/cli/main.rs b/ant-node-manager/src/bin/cli/main.rs index fa6dbb71c7..f0be1a2bce 100644 --- a/ant-node-manager/src/bin/cli/main.rs +++ b/ant-node-manager/src/bin/cli/main.rs @@ -787,7 +787,7 @@ pub enum LocalSubCmd { Join { /// Set to build the antnode and faucet binaries. /// - /// This option requires the command run from the root of the safe_network repository. + /// This option requires the command run from the root of the autonomi repository. #[clap(long)] build: bool, /// The number of nodes to run. @@ -883,7 +883,7 @@ pub enum LocalSubCmd { Run { /// Set to build the antnode and faucet binaries. /// - /// This option requires the command run from the root of the safe_network repository. + /// This option requires the command run from the root of the autonomi repository. #[clap(long)] build: bool, /// Set to remove the client data directory and kill any existing local network. @@ -1364,18 +1364,18 @@ fn parse_environment_variables(env_var: &str) -> Result<(String, String)> { async fn configure_winsw(verbosity: VerbosityLevel) -> Result<()> { use ant_node_manager::config::get_node_manager_path; - // If the node manager was installed using `safeup`, it would have put the winsw.exe binary at + // If the node manager was installed using `antup`, it would have put the winsw.exe binary at // `C:\Users\\autonomi\winsw.exe`, sitting it alongside the other safe-related binaries. // // However, if the node manager has been obtained by other means, we can put winsw.exe // alongside the directory where the services are defined. This prevents creation of what would // seem like a random `autonomi` directory in the user's home directory. - let safeup_winsw_path = dirs_next::home_dir() + let antup_winsw_path = dirs_next::home_dir() .ok_or_else(|| eyre!("Could not obtain user home directory"))? .join("autonomi") .join("winsw.exe"); - if safeup_winsw_path.exists() { - ant_node_manager::helpers::configure_winsw(&safeup_winsw_path, verbosity).await?; + if antup_winsw_path.exists() { + ant_node_manager::helpers::configure_winsw(&antup_winsw_path, verbosity).await?; } else { ant_node_manager::helpers::configure_winsw( &get_node_manager_path()?.join("winsw.exe"), diff --git a/ant-node/reactivate_examples/register_inspect.rs b/ant-node/reactivate_examples/register_inspect.rs index c24a87ebfa..445bac1571 100644 --- a/ant-node/reactivate_examples/register_inspect.rs +++ b/ant-node/reactivate_examples/register_inspect.rs @@ -66,7 +66,7 @@ // // // // The only want to avoid unwanted creation of a Register seems to // // be to supply an empty wallet. -// // TODO Follow the issue about this: https://github.com/maidsafe/safe_network/issues/1308 +// // TODO Follow the issue about this: https://github.com/maidsafe/autonomi/issues/1308 // let root_dir = dirs_next::data_dir() // .ok_or_else(|| eyre!("could not obtain data directory path".to_string()))? // .join("autonomi") diff --git a/evmlib/Cargo.toml b/evmlib/Cargo.toml index b2c54fc328..116fb0c63a 100644 --- a/evmlib/Cargo.toml +++ b/evmlib/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" homepage = "https://maidsafe.net" license = "GPL-3.0" name = "evmlib" -repository = "https://github.com/maidsafe/safe_network" +repository = "https://github.com/maidsafe/autonomi" version = "0.1.8" [features] diff --git a/resources/scripts/list-numbered-prs.py b/resources/scripts/list-numbered-prs.py index 26cfc2c2a8..dfabf86c0c 100755 --- a/resources/scripts/list-numbered-prs.py +++ b/resources/scripts/list-numbered-prs.py @@ -49,7 +49,7 @@ def main(pr_numbers): pr_number = pr["number"] closed_date = pr["closed_at"].date() breaking_text = "[BREAKING]" if pr["breaking"] else "" - print(f"{closed_date} [#{pr_number}](https://github.com/maidsafe/safe_network/pull/{pr_number}) -- {pr['title']} [@{pr['author']}] {breaking_text}") + print(f"{closed_date} [#{pr_number}](https://github.com/maidsafe/autonomi/pull/{pr_number}) -- {pr['title']} [@{pr['author']}] {breaking_text}") print() grouped_pulls = defaultdict(list) @@ -83,7 +83,7 @@ def main(pr_numbers): pr_number = pr["number"] closed_date = pr["closed_at"].date() breaking_text = "[BREAKING]" if pr["breaking"] else "" - print(f" {closed_date} [#{pr_number}](https://github.com/maidsafe/safe_network/pull/{pr_number}) -- {pr['title']} {breaking_text}") + print(f" {closed_date} [#{pr_number}](https://github.com/maidsafe/autonomi/pull/{pr_number}) -- {pr['title']} {breaking_text}") print() def read_pr_numbers(file_path): diff --git a/resources/scripts/list-safe-network-closed-prs.py b/resources/scripts/list-safe-network-closed-prs.py index 6355703c43..90c1007989 100755 --- a/resources/scripts/list-safe-network-closed-prs.py +++ b/resources/scripts/list-safe-network-closed-prs.py @@ -19,7 +19,7 @@ def main(last_released_pr_number): raise Exception("The GITHUB_PAT_SAFE_NETWORK_PR_LIST environment variable must be set") g = Github(token) - repo = g.get_repo("maidsafe/safe_network") + repo = g.get_repo("maidsafe/autonomi") last_released_pr = repo.get_pull(last_released_pr_number) if not last_released_pr: @@ -64,7 +64,7 @@ def main(last_released_pr_number): pr_number = pr["number"] closed_date = pr["closed_at"].date() breaking_text = "[BREAKING]" if pr["breaking"] else "" - print(f"{closed_date} [#{pr_number}](https://github.com/maidsafe/safe_network/pull/{pr_number}) -- {pr['title']} [@{pr['author']}] {breaking_text}") + print(f"{closed_date} [#{pr_number}](https://github.com/maidsafe/autonomi/pull/{pr_number}) -- {pr['title']} [@{pr['author']}] {breaking_text}") print() grouped_pulls = defaultdict(list) @@ -98,7 +98,7 @@ def main(last_released_pr_number): pr_number = pr["number"] closed_date = pr["closed_at"].date() breaking_text = "[BREAKING]" if pr["breaking"] else "" - print(f" {closed_date} [#{pr_number}](https://github.com/maidsafe/safe_network/pull/{pr_number}) -- {pr['title']} {breaking_text}") + print(f" {closed_date} [#{pr_number}](https://github.com/maidsafe/autonomi/pull/{pr_number}) -- {pr['title']} {breaking_text}") print() diff --git a/resources/scripts/release-candidate-description.py b/resources/scripts/release-candidate-description.py index 10a91e0b96..1361c14bf5 100755 --- a/resources/scripts/release-candidate-description.py +++ b/resources/scripts/release-candidate-description.py @@ -64,7 +64,7 @@ def get_pr_list(pr_numbers): pr_number = pr["number"] closed_date = pr["closed_at"].date() breaking_text = "[BREAKING]" if pr["breaking"] else "" - markdown_lines.append(f"{closed_date} [#{pr_number}](https://github.com/maidsafe/safe_network/pull/{pr_number}) -- {pr['title']} [@{pr['author']}] {breaking_text}") + markdown_lines.append(f"{closed_date} [#{pr_number}](https://github.com/maidsafe/autonomi/pull/{pr_number}) -- {pr['title']} [@{pr['author']}] {breaking_text}") return markdown_lines diff --git a/resources/scripts/upload-random-data.sh b/resources/scripts/upload-random-data.sh index dbcf5b06be..d58d926e23 100755 --- a/resources/scripts/upload-random-data.sh +++ b/resources/scripts/upload-random-data.sh @@ -17,8 +17,8 @@ fi check_and_install_safe() { if ! command -v safe &> /dev/null; then echo "'safe' command not found. Installing..." - curl -sSL https://raw.githubusercontent.com/maidsafe/safeup/main/install.sh | sudo bash - safeup client + curl -sSL https://raw.githubusercontent.com/maidsafe/antup/main/install.sh | sudo bash + antup client else echo "'safe' command is already installed." fi diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.toml index cdd2b5aa58..f76b8e7411 100644 --- a/test-utils/Cargo.toml +++ b/test-utils/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://maidsafe.net" license = "GPL-3.0" name = "test-utils" readme = "README.md" -repository = "https://github.com/maidsafe/safe_network" +repository = "https://github.com/maidsafe/autonomi" version = "0.4.15" [dependencies]