-
Notifications
You must be signed in to change notification settings - Fork 24
Release libR-sys to crates.io #66
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
Comments
I experimented with a script that sets up everything needed for libR-sys compilation on a clean Windows 10 system, so I have now a better understanding of what needs to be done. I can address #31 within the next day or so if it is ok. |
Super, thanks! |
Sure, I have no experience of publishing a crate, but I think I can handle the release. #67 is nice to have, but not a blocker issue. Thanks @Ilia-Kosenkov for addressing #31! |
We should write up a "how to" in the README. You can do a dry run at publishing the crate to find errors before committing. We use the workspace to publish all extendr crates together on the whole. The version |
Any new headers to add before the release? @andy-thomason has suggested Altrep.h: extendr/extendr#231 (comment) I also think |
https://github.com/Ilia-Kosenkov/libR-sys/tree/readme-windows |
@Ilia-Kosenkov You can probably simplify. I don't think we need to explain to people how to install Visual Studio. Also, please pay attention to the structure of subsections. The following sentence is part of the Windows subsection but seems to be meant more generally.
There are a few cases like this. Finally, I don't think we need |
I just tried.
|
@clauswilke, I missed these comments, I will fix it in PR in the morning (it's late night where I am). Also, I suggest to leave Build Tools installation at least under a spoiler, because Rust surprisingly just gives a generic "Install one of the build tools", but there are plenty of workflows and Rust only needs few, and it may be confusing. This step can save gigabytes of downloading and installation for inexperienced developers, especially because we target R developers switching to Rust in their packages, who potentially have never worked with Microsoft stack before. I see a lot of questions from rust beginners on SO not being able to compile hello world because of missing build tools or "linker.exe". |
Ok. Just make sure it's clearly structured and not too confusing. It may help to bring Linux and OS X first, since those are simpler. Basically, you'd write:
|
Are there anything else that needs to be done other than some documentation tweaks I included in #73? |
Not from my side. |
We modified README two weeks ago so now it is up-to-date. Everything else looks good to me. |
Thank you two for confirming! Then I'll merge #73 and publish to crates.io in an hour or so. Also thanks for the owner invites, I didn't notice that, sorry... |
On the dry run, I found this warning. But, since we have some more time until the majority of Rust users migrate to 2021 edition, and it might take a bit of time to think how to fix this, I ignore this for now. |
Published now. Thanks for your support! |
Super, thanks! |
👍 |
We should make a new release to crates.io. Anything that needs to be addressed first? Maybe #31?
@yutannihilation Do you want to handle the release? I can add you as an owner on crates.io.
cc @Ilia-Kosenkov
The text was updated successfully, but these errors were encountered: