-
Notifications
You must be signed in to change notification settings - Fork 4
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
Get rid of un-used dependencies #219
Comments
This can be removed - only used in |
|
I thought isogit would handle any compression.
…On 27 July 2021 10:40:36 am AEST, scottmmorris ***@***.***> wrote:
`pako` is being used in `gitUtils` to compress some of the git
information so it should stay
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#219 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
But because we are writing our own custom handler for isomorphic git we should then include it. I just tried to run it without compression and it threw an error because the SHA check failed. |
Changing this to @DrFacepalm as @joshuakarp has got a lot of issues in the current sprint. |
I'm addressing this issue in https://gitlab.com/MatrixAI/Engineering/Polykey/js-polykey/-/merge_requests/206 In that MR I'll be removing all that is mentioned here. The dependencies relating to the API may be used again in #166 which requires a proper design review. |
@scottmmorris is See how we generate permission id:
|
That also ensures that our random generators are the same and wherever else we need random ids. |
We discussed using uuid library here https://gitlab.com/MatrixAI/Engineering/Polykey/js-polykey/-/merge_requests/205#note_625776187 |
Closing this issue as MR 206 merged. |
A few dependencies we should be cleaning prior to merge:
These ones are all about configuration? I'm pretty sure we are now using DB for most things, and just plain old JSON for others.
I'm pretty sure we replaced that with node-forge? And even then that might be replaced with native node in the future. Since mobile version of polykey will require a significant porting plan anyway for the native code.
HTTP API doesn't yet exist, and we don't want to use express for an HTTP/OAuth API anyway. We would likely build that custom or use fastly.
What we are using YAML for??
Isn't this replaced by jose?
What are we using this for?
We would want this later for password suggestion, but we haven't even built out our schema system... only then can we even use this.
And of course all the associated types for those libraries above.
Thoughts? @DrFacepalm @scottmmorris @joshuakarp
Tasks
The text was updated successfully, but these errors were encountered: