kiteco / kite-installer Goto Github PK
View Code? Open in Web Editor NEWJavascript library to install Kite app
License: BSD 3-Clause "New" or "Revised" License
Javascript library to install Kite app
License: BSD 3-Clause "New" or "Revised" License
User feedback:
Thanks for getting in touch. To be honest, I'm not even sure if Kite is running correctly. I have an admin account and a separate user account. Atom installs under user accounts, so Kite did too. But when I did that, it was reporting an error. Sadly, I don't remember which one.
Seems like we shouldn't offer Kite on macOS to non-admin users.
I get this error in the JS console when installing the Kite plugin from the VS Code marketplace:
[Extension Host] KiteError: bad_state 1
at Object.isKiteInstalled (C:\Users\kite\.vscode\extensions\kiteco.kite-0.18.0\node_modules\kite-installer\lib\support\windows.js:96:24)
at isKiteSupported.then (C:\Users\kite\.vscode\extensions\kiteco.kite-0.18.0\node_modules\kite-installer\lib\state-controller.js:82:30)
at <anonymous>
bad_state 1
indicates that Kite isn't installed, so I'm confused as to why the installation flow doesn't trigger at this point.
I can reproduce this on macOS 10.13.3 and in a Windows 8 VM
Downloading /home/mte90/Desktop/kite-installer binary using wget...
Running /home/mte90/Desktop/kite-installer install
Found an installation of Kite. Calling update instead.
[update] found version 2.20201221.0 installed
[update] latest version is 2.20210114.0, downloading now...
[update] Downloading Kite: 100.0% of 12 MiB
[update] verifying checksum
[update] validating signature
[update] installing version 2.20210114.0
[update] failed to update kite: exit status 1, output: 'Creating directory patch
Verifying archive integrity... 100% All good.
Uncompressing Kite patch updater, version 2.20201221.0-2.20210114.0 100%
Creating tar of previous version directory...
Applying patch update...
bspatch: Invalid input checksum: expected e6 7b b6 d1 c2 42 39 b5 f0 61 95 42 63 94 16 fc 8d 68 6a ef 31 7b f3 1a d4 6d d8 ff 8b a3 6f d1, but got 4f 13 05 9c 00 f0 40 30 bd f4 7d 90 b8 a9 f5 1f c9 06 c2 8c 2c 9e f3 62 ae 7d 04 95 fd d7 d7 4d
usage: ./bspatch oldfile newfile patchfil
Is it possible to skip the registration? (or provide a small test period)
Or provide an auth via github?
This is an issue just to keep track of the things in the installer that will be affected by the login and whitelist removal.
A quick reminder first, unlike Atom, VSCode install flow setup and views are largely done in the plugin itself.
authenticate
step still relevant? I think here, the now removed authenticateSessionID
should be brought back in the step object if we want to keep that step. That function was only used here so it's more relevant to have it in the step rather than exposed by the API.kite-installer
before we removed these steps.Without Kite installed I get the following:
When I click Continue:
When I click Continue without email:
Poking around in the code, it seems like this screen relies on interfacing with kited to do the Account related stuff. The screen is reached (with Atom) if the plugin is running without Kite installed.
We ought to make our install flow not dependent on kite being installed.
Unable to install to Pentium G4400. It says it doesn't support the AVX instruction set, which it does.
Steps to reproduce:
[email protected]
as your email address.[email protected]
again, you'll be asked to login with your password.But at this point most users haven't set up their password yet. If they haven't we should remind them that they need to create a password by verifying their email, and make it easy for them to ask for another verification email.
Today after a user [ logs in / creates an account ] in the install flow, there are one or two more steps left.
If the user abandons the install flow (close the panel) during those steps, they don't get Kite.
Instead, we should make the "user has a userID" the commit point, and install the Kite plugin at that point. If they subsequently close the install flow panel (or computer crashes, internet goes down, etc), then the Kite plugin will use its notifications to have them install kite, or whitelist the relevant directory, etc., as needed to get Kite working.
Imagine a user who installs autocomplete-python on Windows today. Then imagine next week we release Kite support for Windows. We would like to be able to prompt this user to use Kite, without waiting on them to update autocomplete-python.
I'm not sure how to accomplish this. Maybe we should add code that, on loading of the Kite-vs-Jedi screen, updates kite-installer to the latest version? Maybe kite-installer should retrieve JS code for installing Kite from a server, and eval()
it at runtime? Not sure...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.