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

chore: rename crates in line with autonomi branding #2470

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

jacderida
Copy link
Contributor

If necessary, the crates have been renamed with respect to two rules:

  • Hyphens are preferred over underscores for word separation
  • Any crates prefixed with sn_ will be changed to be prefixed with ant-

Renamed:

  • evm_testnet -> evm-testnet
  • sn_build_info -> ant-build-info
  • sn_evm -> ant-evm
  • sn_logging -> ant-logging
  • sn_metrics -> ant-metrics
  • sn_networking -> ant-networking
  • sn_peers_acquisition -> ant-peers-acquisition
  • sn_protocol -> ant-protocol
  • sn_node -> ant-node
  • sn_node_manager -> ant-node-manager
  • sn_registers -> ant-registers
  • sn_service_management -> ant-service-management
  • test_utils -> test-utils
  • token_supplies -> ant-token-supplies

Other miscellaneous changes:

  • Crate descriptions were elaborated or tidied up.
  • Crate documentation references that were invalid were removed.
  • Crate feature lists were sorted in alphabetical order.
  • Crate reference sections were sorted in alphabetical order.
  • Crate repository URLs were updated to point to new autonomi repository (renamed from safe_network).
  • The per-crate, automated changelogs were removed. Since we've switched to a manual changelog we don't use them any more, but they were almost useless anyway.

@@ -134,12 +134,12 @@
fn build_client_and_run_swarm(local: bool) -> (Network, mpsc::Receiver<NetworkEvent>) {
let network_builder = NetworkBuilder::new(Keypair::generate_ed25519(), local);

// TODO: Re-export `Receiver<T>` from `sn_networking`. Else users need to keep their `tokio` dependency in sync.
// TODO: Re-export `Receiver<T>` from `ant-networking`. Else users need to keep their `tokio` dependency in sync.

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
@@ -523,7 +523,7 @@
retry_count = 0; // Reset retry count on success
}
Err(err) => {
//TODO: We should use concrete error types here instead of string matching (sn_node_manager)
//TODO: We should use concrete error types here instead of string matching (ant_node_manager)

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
@@ -72,7 +72,7 @@
Ok(log_path)
}

// TODO: use sn_logging
// TODO: use ant_logging

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
@jacderida jacderida force-pushed the chore-rename_crates branch 5 times, most recently from 7ae96ae to edd8351 Compare November 30, 2024 22:46
If necessary, the crates have been renamed with respect to two rules:

* Hyphens are preferred over underscores for word separation
* Any crates prefixed with `sn_` will be changed to be prefixed with `ant-`

Renamed:

* `evm_testnet` -> `evm-testnet` (also renamed the binary)
* `sn_build_info` -> `ant-build-info`
* `sn_evm` -> `ant-evm`
* `sn_logging` -> `ant-logging`
* `sn_metrics` -> `ant-metrics`
* `sn_networking` -> `ant-networking`
* `sn_peers_acquisition` -> `ant-peers-acquisition`
* `sn_protocol` -> `ant-protocol`
* `sn_node` -> `ant-node`
* `sn_node_manager` -> `ant-node-manager`
* `sn_registers` -> `ant-registers`
* `sn_service_management` -> `ant-service-management`
* `test_utils` -> `test-utils`
* `token_supplies` -> `ant-token-supplies`

The CI workflows were updated where appropriate.

Other miscellaneous changes:

* Crate descriptions were elaborated or tidied up.
* Crate documentation references that were invalid were removed.
* Crate feature lists were sorted in alphabetical order.
* Crate reference sections were sorted in alphabetical order.
* Crate repository URLs were updated to point to new `autonomi` repository (renamed from
  `safe_network`).
* The per-crate, automated changelogs were removed. Since we've switched to a manual changelog we
  don't use them any more, but they were almost useless anyway.
@jacderida jacderida merged commit 84ae04c into maidsafe:main Dec 1, 2024
28 checks passed
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.

1 participant