-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
update pieces package #8928
update pieces package #8928
Conversation
Thanks. What happened to @crispieces who originally added this package? |
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.
Automated testing result: SUCCESS
Packages modified:
- Pieces
Not sure actually but that pieces package no longer works nothing really works and it is not maintained. Last edit was from 2 years. |
Is this ready to go @braver ? |
Right, we did have an episode about Pieces a while ago: #8508. So this looks like yet another restart of the same project? And a much more complicated package than the one it's replacing. We need to give the owner of the original package two weeks to let us know if it's ok to replace his package or not. And we'll review the package itself as well. |
I throws
after installing. You install global key-bindings which is highly discouraged. (E.g. https://github.com/pieces-app/plugin_sublime/blob/main/keybindings/Default%20(Windows).sublime-keymap) The standard behavior of EDIT: I didn't get the install notes (RTFM! 😁) as I'm obviously have to install manually before it gets on Package Control. So I have to install a bigger app/software to get this working. Sorry for the noise. |
You don't have pieces os |
Yeah, working. I think you should rethink how you do the global key bindings, as you can't just grab |
Yes I know, but html sheet does not support context. As for now I will leave it like that but probably adding buttons in the html sheet instead of keybinding later. There are are many other functionalities that I am working on this is not essential for now. |
Hope all is well. A couple years ago an intern of ours added the v1 of Pieces. Since then a lot has changed. We are an organization around 20-25 employees, and would love to know how our organization can verify ownership of the project rather than ownership given to an individual user. So that we can mitigate these issues in the future. As of right now, the previous project was in our previous organization on Bitbucket but we are now (as of the last 1-2 years) fully on Github, however I have full access to all the projects in our previous org, so I can verify ownership of the project. Please let me know anything that I can do to help speed up the progress here, as well as anything that I can do on my side to mitigate these issues in the future. Thanks for your help on this!!🤘 |
Please make it clear in the README, right at the top 😁, that the plugin requires a different app to be installed as well. You do this in "install.txt" but you ask to publish it on Package Control and then it gets advertised using your README. This should be clear before installing, and really just by glancing at it, esp. as it is not that usual. I already said that the global key bindings are problematic. You clearly grab very prominent shortcuts, e.g. You also claim space in the context menu. Typically there should be a way to opt-out, or opt-in of course. How to do that should be in the README. Q: Have you actually tried not setting the Please note that you did not check the bullets in the questionnaire regarding these two points exactly, so you'd be prepared for us asking about them. Everything else seems ok to me. 👍 |
Ah, I totally forgot about the dependencies. Can you please use Ref: https://github.com/pieces-app/plugin_sublime/blob/main/__init__.py |
So for this we always update our sdks and it won't be optimal to vendor it since all imports are not relative imports so I will stick with the current implementation for the dependencies download but for the keybinding I will be changing it no worries in the next release I added an issue with this. thank you |
The way you handle dependencies is a blocker. Didn't you noticed the uppercased "MUST"? You also install dependencies in a folder you don't own, and you clearly don't even attempt to uninstall. Otherwise just point me at the code. Was this approach As this is baked by a company: Is there any telemetry? If so it MUST be opt-in. Also make it clear if you send data when installing the plugin or by viewing/opening a file. Typically this information should also be rather at the front of the README. Please address the feedback and report back. |
I can't see any issues in installing the dependencies myself instead of the package control since the sdks not in the package control and everything is clear in the README, not also sure why you are referring to "discord" in everything. I simply though about this since the sdks imports are absolute imports, and I can't use sys.path |
You can check the code no data is collected! I think the code is clear enough |
@braver wanted to ping this message over again, hope you had a great weekend, looking forward to hearing from you. |
How about just addressing the feedback already given, @mark-at-pieces? 🤴 |
Thank you @kaste for your feedback it is really helpful and all of it is changed as you asked! |
The general mindset should be that you're in shared environment. That goes for key bindings and the context menu, but also for As I said, you MUST do the dependencies differently. @mark-at-pieces I don't think and remember that we ever merged something just out of the promise that a PR might land at some point. The key-bindings haven't changed yet. And the code @bishoy-at-pieces shows still claims braver will typically ask you to add the Telemetry and privacy stuff to the README. Just refer the PR adding OpenAI here in this repository. You're a company so you're even more likely to have interests in user data. That's just how it is. So again, telemetry is opt-in only, and you have to typically add a sentence about it to the README, e.g. that you don't do that. And if you're sending portions of a buffer (user data/code) around, you should be clear about it as well. |
Yes the |
Ah, okay, on Windows but not on Linux/Mac. Is this correct? |
Let me know how can I use the pieces sdks without using the lib since the imports are absolute imports not relative |
I just wrote it a) to e) and then the link to discord where I explain different ways and in more detail. |
Yes it is updated for mac and Linux in the commit after |
Will that work with the packages with absolute path? |
There are various options, and you may use a mix of them, and in the end it should work out nicely. |
Not sure exactly what should I do about handling the sdks dependencies if you can guide me with some docs to add the sdks(absolute path won't work with a lib folder) I will be thankful |
I don't have more docs just at my hand beside what I wrote up here and on Discord. I also don't understand what you don't understand as you don't ask anything specific. Just start with "a)" because that seems easy to me. But that doesn't help you of course if you're in the nebulae. |
So basically I need the Pieces OS sdks, and not sure how to add it as a dependency |
I gave an enumeration a) to e). Please start with what can be categorized into "a)". Do the SDK not yet but last. In which categories does the SDK actually fit? |
Not sure what you mean by "category" |
The conversation doesn't seem to be very productive. I have to stop this for now. |
@kaste I vendor the SDKs as you asked me is this ready to go or anything is still missing? |
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.
Automated testing result: SUCCESS
Packages modified:
- Pieces
Using GitHub organizations works well for that. The replacement of the original repo is fine by the way, the story lines up here. I just need to find some more time to read this thread an review the package. Please don’t ping me in the mean time, that tends to have the opposite effect 😉 |
Hey all, just wanted to check in an see how are are doing on this pr to package control and see if there is anything that we can do on our side to help out. Thanks again for all your help! |
That gets a LGTM from me, basically from the technial POV. @braver for the rest and the merge. It is a bit tiring that I ask about about data collection, and then see IMO that's so weaseling where OpenAI just puts in the README. But you do you. Also, you should have pinged us earlier, right after merging the new key-bindings which was on Jun 25, but your last post here was on Jun 18. |
Yes you can use our local models there are local model that don't collect data but no client side data collection anyways thank you |
I open 2 (?) trivial issues on your repo. |
@braver I just tagged a release |
My package is for interacting with Pieces OS.
I updated the old package that was no longer maintained and added this which is maintained by Pieces.app