New Release: Vault Phase 1 (real vault)

Well that is rad. Will be great if we’re able to ship this w/ the bins.

13 Likes

Ha ha - we’ve all been there! I notice the dev versions of the latest binaries are now in a separate page on Github which is a good move :+1:

9 Likes

This is really great! I definitely want to get this distributed with the releases somehow. Will discuss with the team.

12 Likes

That’s really cool @draw! Just FYI and if you wanna use the following for posting more info also, I created this some time ago based on your earlier suggestion about autocomplete: https://github.com/maidsafe/safe-cli/issues/73. We should aim at having it within the Rust binary itself.

6 Likes
  • Yes the auto-completion could be in the Rust binary itself, like my earlier suggestion, or e.g. a ‘safe cat’ output option that is easier to process for an autocomplete script.
  • Did you also have plans for an interface ‘shell’ version of the safe cmdline tool? Maybe too much work for the added benefit atm?
  • Another suggestion: maybe overkill but skim: a Fuzzy Finder in Rust could be useful. I encountered that in the following small app of @pierrechevalier83: find_unicode. That could for example be used to interactively filter a list of paths.
  • For Bash (autocompletion) under Windows:

–>I had a quick look. The (safe) Windows binaries don’t work (only ELF binary format I think). Also the Linux version didn’t work. safe_auth gives Corerror::RequestTimeout on src/libcore/result.rs:999:5. Maybe Cygwin or wait until WSL2 begin next year? List of programs that work (partly) with WSL.

4 Likes

We imagined it also, see section “CLI Interactive Shell” in SAFE CLI - High Level Design Document , regardless of the features it may contain, it’ll basically allow us to have some state across commands. In recent discussions it was also brought up the idea that it will be the way to merge safe_auth into safe_cli app since you need to be able to allow/deny auth reqs, etc.

4 Likes

@mav @draw

PR here addressing some of your feedback:

  • Include the bash auto completion file with some instructions on the release description for how to use it (thanks again for that!)
  • Run strip on the release builds
  • Distribute zips rather than tars

The issue with --help on vault has been addressed and @jonhaggblad also added a --verbose switch to make the output on vault a bit clearer.

I know @bochaco has also been looking at possibly getting some fixes in with safe too.

We’re hoping to release these patches sometime this week.

16 Likes

When you mentioned Bash autocompletion on Windows I was curious if that would work in Git Bash. You can run a Windows binary in that, but for autocompletion you actually need to have a bash-completion package installed (even on Linux I think). It may possibly work with an MSYS2 installation, which also runs Windows binaries. It has a package manager so you can install additional stuff, but probably too much hassle for most people, I would imagine.

I think Windows users may sadly be out of luck on this one until Gabriel can implement it in Rust :wink:

1 Like
  • I don’t have that much experience with Bash on Windows.
    If it is too difficult to get the binaries to work on WSL, better to wait on WSL 2 I guess. Something else then WSL is indeed probably too much of a hassle.
  • I assume that “CLI Interactive Shell” doesn’t need Bash, but you still need Bash in my earlier suggestion where autocomplete is implemented in Rust:

complete -C _cargo_completion cargo

1 Like

Please continue to distribute tar or tar.gz files.

4 Likes

No problem - can also add in tar.gz assets.

4 Likes

Ooookkay. After some hearty digging around the undergrowth of electron / neon and webpack, we’ve gotten updated browser POCs up for linux and mac.

You can find those here: https://github.com/maidsafe/safe_browser/releases/tag/CLI-POC-2

15 Likes

For the curious ones: https://github.com/maidsafe/safe-cli/pull/232

11 Likes

So am I understanding this correctly? Are we currently running the network decentralized and not relying on the DigitalOcean vaults anymore? This is basically the MVP from back in 2015-6 (before we got so many more features added), right? We’re running the network from home, now, with sites that can load dynamic data? That’s what it looks like, but I don’t want to get too happy…

Also, is there a list of public names we can try with the POC browser?

Not yet, decentralized network integrations are still WIP.

1 Like

Ah I see. Between digitalocean vaults and decentralized network integrations, do you know where do we stand? This is really an amazing release, everything is coming together rather quickly now.

1 Like

It is certainly exciting and happening fast.

We now have a single Vault, either shared or local.

The next stage is multiple vaults with a single section - so kind of a mid point.

Then multiple vaults, multiple sections and we have Fleming.

Then a bit more to Maxwell and release.

24 Likes

See my earlier reply:

4 Likes

Maybe you encountered it already, but this week in trending Github projects, Nu Shell: a shell written in Rust. Could be useful somehow for the Interactive shell.

12 Likes

Yeah, it was shared by some of the folks internally a few days back (it was @chriso actually :slightly_smiling_face: ), what I got from a quick look at it was that it could be possible to have a plugin for that shell which adds support for safe:// to its open cmd

9 Likes