-
Notifications
You must be signed in to change notification settings - Fork 57
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
Misc Node Manager UX Improvements #1474
Conversation
.with(eq(ServiceInstallCtx { | ||
args: vec![ | ||
OsString::from("--rpc"), | ||
OsString::from("127.0.0.1:20002"), |
Check notice
Code scanning / devskim
Accessing localhost could indicate debug code, or could hinder scaling. Note test
.with(eq(ServiceInstallCtx { | ||
args: vec![ | ||
OsString::from("--rpc"), | ||
OsString::from("127.0.0.1:20001"), |
Check notice
Code scanning / devskim
Accessing localhost could indicate debug code, or could hinder scaling. Note test
.with(eq(ServiceInstallCtx { | ||
args: vec![ | ||
OsString::from("--rpc"), | ||
OsString::from("127.0.0.1:20000"), |
Check notice
Code scanning / devskim
Accessing localhost could indicate debug code, or could hinder scaling. Note test
.with(eq(ServiceInstallCtx { | ||
args: vec![ | ||
OsString::from("--rpc"), | ||
OsString::from("127.0.0.1:15002"), |
Check notice
Code scanning / devskim
Accessing localhost could indicate debug code, or could hinder scaling. Note test
.with(eq(ServiceInstallCtx { | ||
args: vec![ | ||
OsString::from("--rpc"), | ||
OsString::from("127.0.0.1:15001"), |
Check notice
Code scanning / devskim
Accessing localhost could indicate debug code, or could hinder scaling. Note test
.with(eq(ServiceInstallCtx { | ||
args: vec![ | ||
OsString::from("--rpc"), | ||
OsString::from("127.0.0.1:15000"), |
Check notice
Code scanning / devskim
Accessing localhost could indicate debug code, or could hinder scaling. Note test
95318bb
to
b963eb7
Compare
The three `add` commands for `safenode`, `safenodemand` and `faucet` now behave in a uniform way, all supporting `--path`, `--url` and `--version` arguments. These enable a binary to be provided via a path, a URL pointing to a tar/zip containing the binary, or by a specific version number, respectively. The `safenodemand` service also now supports running as a non-root user.
Enables a port range to be specified for the metrics server ports on a series of node services. Users who run the metrics server with a specific port range can take advantage of this.
This feature was requested in community feedback. It behaves the same way as the other port arguments, in that it can be a range. Some of the `add_node` tests were changed to remove the use of a custom RPC address argument because the test case did not concern itself with customising the RPC address.
The `--service-name` and `--peer-id` arguments are changed from single use to multiple. This feature was requested in community feedback. It was only requested for one command, but a few different commands use these arguments, so all were updated to behave consistently. The integration tests were updated to make use of the arguments multiple times, which will function as a test for the change.
Another feature that was requested by the community. Add a controllable delay between each service start.
This was also requested by the community. People were attempting to use a 'v' prefix.
3ef57e7
to
2626bdb
Compare
687df21 feat: uniform behaviour for all
add
commandsThe three
add
commands forsafenode
,safenodemand
andfaucet
now behave in a uniform way,all supporting
--path
,--url
and--version
arguments. These enable a binary to be provided viaa path, a URL pointing to a tar/zip containing the binary, or by a specific version number,
respectively.
The
safenodemand
service also now supports running as a non-root user.227574b feat: provide
--metrics-port
arg foradd
cmdEnables a port range to be specified for the metrics server ports on a series of node services.
Users who run the metrics server with a specific port range can take advantage of this.
7790105 feat: provide
--rpc-port
arg foradd
cmdThis feature was requested in community feedback. It behaves the same way as the other port
arguments, in that it can be a range.
Some of the
add_node
tests were changed to remove the use of a custom RPC address argument becausethe test case did not concern itself with customising the RPC address.
207fe50 feat: arguments can be used multiple times
The
--service-name
and--peer-id
arguments are changed from single use to multiple. This featurewas requested in community feedback.
It was only requested for one command, but a few different commands use these arguments, so all were
updated to behave consistently.
The integration tests were updated to make use of the arguments multiple times, which will function
as a test for the change.
2736e8c feat: add
--interval
arg tostart
commandAnother feature that was requested by the community.
Add a controllable delay between each service start.
2626bdb docs: clarify version number usage
This was also requested by the community. People were attempting to use a 'v' prefix.
Description
reviewpad:summary