maidsafe / safe_network

66 stars 40 forks source link

feature(safenode-manager): add leading zeros to safenode directory naming #1881

Open happybeing opened 1 month ago

happybeing commented 1 month ago

Using safenode-manager to start nodes, the node directories are of the form safenode1, safenode2 etc so when sorted, safenode10 will appear before safenode2.

Can these be changed to the form safenode001, safenode002 so that ordering in directory listings is correct?

Since vdash uses directory order when loading paths, node number in safenode-manager and vdash will correspond to the same node, and the ordering will be correct in both UIs. At the moment the order in vdash is as described in the first line. Fixing that in vdash is possible but not trivial, whereas changing the directory naming is simple and presents the directories in a more readable order.

I assume this would also work for launchpad since that's a UI on top of safenode-manager.