Open gtalarico opened 5 years ago
We should be able to help with Rhino/ Grasshopper related stubs. Specially if there is a way to automate the process and then it will be a matter of running the script every couple of months.
It would be nice if stub gen happened in CI, so someone could just PR a new Assembly and it would rebuild and deployed to release.
I'm pretty sure that can be set with some help from @antoinedao!
Oh hi! I like CI/CD :smile: We can set you up through a PR if you can let me know which python versions this is meant to run against (be tested on) as well as how you are currently releasing/distributing your code.
One of the challenges here is that the generator must be running ironpython. That probably means appveyor (windows) and it would need to install ironpython during the setup stage
On Wed, Jun 5, 2019, 3:21 PM Antoine Dao notifications@github.com wrote:
Oh hi! I like CI/CD 😄 We can set you up through a PR if you can let me know which python versions this is meant to run against (be tested on) as well as how you are currently releasing/distributing your code.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gtalarico/ironpython-stubs/issues/17?email_source=notifications&email_token=ACISX4B7MXDETP3QXZ3OZQDPZA4APA5CNFSM4HUDI3AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXBF6CY#issuecomment-499277579, or mute the thread https://github.com/notifications/unsubscribe-auth/ACISX4BMLGZF6BFEEXN3TL3PZA4APANCNFSM4HUDI3AA .
Conveniently I've been playing with Azure Pipelines lately and they natively support windows VMs for CI/CD. How is this project currently distributed/installed? Is it on pypi? Is it a git download of the repo? Download of a binary?
These are stubs for editors auto complete so there is not a clear or consitent deployment strategy.
Currently docs recommend downloading repo and pointing your editor's python completion path to the stubs folder within the repo.
Maybe built stubs should be packaged into a release without the source code and users would download only that.
Which editors does it currently work for? (ie: I mainly use vscode but I've got a feeling you're use case for this is within GH or Dynamo editors right?)
These are stubs for editors auto complete so there is not a clear or consitent deployment strategy.
I think the main question for now is how do you generate them? I see in README that it is generated using a PyCharm module. Can we run that from the command line? and if yes how should one do that?
@AntoineDao checkout readme and wiki for editor docs https://github.com/gtalarico/ironpython-stubs/wiki
@mostaphaRoudsari pycharm generator module is vendored in this repo. Stubs are generated from cli but the cli interface is a bit cumbersome and incomplete. See issue #10 and readme for details on cli is used
Hi everyone, who is the main developer of this project now?
Can we open permissions to create branches and do PR on the project? Would like to contribute at least some documentation.
Hi @PavelAltynnikov @galaplexus anyone can submit a pull request. PRs don't have to be from branches in this repo, they can be submitted from forks.
That said, unfortunately I am no longer able to maintain this project, so I am happy to add anyone here as a maintain.
I am spread too thin with other OS projects, and since I don't use this project it's hard to justify spending time in this vs others. I am happy to stay involved in the issues and help where I can, but won't be able to continue development on this at this time. Let me know if you are interested in helping maintaininig and developing it. I would be happy to offer guidance.