-
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
Consider adding my "TinifyImage" package #8927
Conversation
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 removed:
- TinyScheme Auto-Complete
@@ -2451,7 +2462,7 @@ | |||
"details": "https://github.com/civAnimal/tinyscheme_autocomplete", | |||
"releases": [ | |||
{ | |||
"sublime_text": "*", | |||
"sublime_text": ">=4169", |
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.
why are you changing this other package as well?
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.
Any changes to this other package was a mistake.
Please avoid vendoring Python libraries and making them accessible to the entire plugin host via |
You MUST use .pyc files are typically not checked into git. All unnecessary files need to be excluded from export using a As the command itself calls the internet for each selected file. I think you should hop onto the worker thread at some point by scheduling a task (callable) using Ideally you wouldn't alter |
Oh, hi @FichteFoll. 😁 You beat me by a minute. |
Thanks for taking the time to review the files and offer your input. So it seems like the preferred approach is to add |
Packages should also avoid deploying |
@thewebprojects For requests and its dependencies, you MUST use the library on packagecontrol. For tinify itself, @FichteFoll suggested adding it to packagecontrol as well, and I would just not use it and use only requests to call the API directly (as it is just too simple in my opinion). Some paths, like |
Say I update my plugin/repo, do I then report back here? What's the protocol? Please advise. |
Yes, update and report back. Or ask questions. |
I'm going to switch gears and attempt to build a ST plugin with the Pillow SIMD library, and not use the Tinify API. Reasons: I'm new to PY and there's no detailed documentation on how to use PY with the Tinify API without their library. Furthermore, my TinifyImage plugin requires the user get a Tinify API key which most folks are not interested in doing. I just submitted a pull request for adding PIllow SIMD to Package Control Libraries Channel. With this change of direction the name TinifyImage isn't appropriate for this plugin. What would you say is the most appropriate course of action now? Do I just remove the TinifyImage repo or attempt to rename it and change all the files? Bear with me as I'm learning the ropes with ST plugin development, Python AND use of Git and Git Hub. Ugh. Thanks! |
Yeah, you need to make that Pillow PR "against" the original repo not on on your fork. (Because PR is a pull request, on your fork you just merge whatever you want, but here you want @deathaxe to pull your changes so we all see them.) You could rename your repo but you can also just start a new one. That doesn't matter at all. That being said, I don't think Pillow-SIMD ships compiled, ready to use wheels or whatever. It needs to be compiled on your machine. Compilation is considered out of scope for package control. Maybe switch to Pillow sans SIMD (https://pypi.org/project/pillow/#files). |
Oh boy. I'm a mess. @kaste, thanks for your insight and patience. |
@thewebprojects No need to change careers 😄, happens to all of us. 👍 |
Hello,
I'm seeking a review of my custom Sublime plugin (as if you didn't already know that ;)
Please bear with me. This is my first Sublime plugin, my first Python project, my first time dealing with Git and GitHub. Yeah... I'm old school, trying to get up to speed on this stuff.
There are no packages like it in Package Control.
If there's anything I can do to improve this plugin please advise.
Thank you so much for your time.