-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
[RFC] Multiple Cabals Continuation #89
Conversation
Co-Authored-By: nikolaiwarner <nikolaiwarner@users.noreply.github.com>
yaay it's a lot shorter, and kind of makes sense if we have `cabal-client` as a module
the users object, returned from `cabal-core/views/users.js:getAll()` is empty at first start (nothing has been recorded in the kappa-core db yet), so the iteration in updateLocalKey will never occur. thus we *at least* set the key we've gotten (since we will always know that) and then try to find the name as registered in the database
Let's call it "database version" or something then, since it's only being used to make storage decisions.
|
|
||
var cabal = Cabal(args.db, args.key) | ||
if (args.new) { | ||
var key = crypto.keyPair().publicKey.toString('hex') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
package.json
Outdated
@@ -1,17 +1,20 @@ | |||
{ | |||
"name": "cabal", | |||
"version": "5.0.0", | |||
"version": "5.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do version bump in a separate PR?
after some discussions in #cabal-club we decided that it's better to get this into master and keep the show going we still have bugs with multi-cabal, but the config stuff is really nice, so i'm going to try to put multi-cabal behind an tasks
|
i also added --join to join a cabal while disregarding the config (not sure about that one, but i felt the need for it w/ multi) closes #70
to keep going we'll hide multi-cabal behind a flag, and keep on working on its bugs in secret :3
this allows us a cabalist to print out which saved cabal aliases they have. a good memory aid for the chatting individual part of #70
--clear clears all aliases --forget forgets the specified alias
also: * improve cabal's config handling and make it more robust
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 this is 🔥🔥🔥🔥🔥
@@ -84,165 +95,246 @@ function NeatScreen (cabal) { | |||
else return | |||
this.bus.emit('render') | |||
}) | |||
|
|||
// move between window panes with ctrl+j | |||
this.neat.input.on('alt-n', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alt-n still doesnt work for me on mac terminal ... but we can solve it after this lands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed you're re-introducing package-lock.json
-- intentional? LGTM otherwise!
that lil sucker just decided to appear, not intended! |
this is a continuation of nick's pr #84
i fucked up my branches so here we are with a new pr