Skip to content
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

POC: Tar ball compressed bindings #245

Closed
wants to merge 5 commits into from

Conversation

andyquinterom
Copy link
Contributor

This is just an idea I had to make the bundle size of libR-sys smaller for CRAN compliance.

@CGMossa
Copy link
Member

CGMossa commented Jun 13, 2024

Okay, while this is nice I believe we do something like that "downstream" in rextendr when we want to vendor packages. Or atleast some of our users do. I think this effort should be put there instead. https://github.com/extendr/rextendr

I would like to say that I've benefitted from seeing this approach. It looks so clean...

You seem very capable at this stuff, would you mind taken a look at my little POC over at #242? It has been a long time ambition of mine, and I think I've gotten it far, but Windows and Paths are still messing with me.

Comment on lines -344 to +348
if ! git diff-index --quiet HEAD -- bindings/; then
if ! git diff-index --quiet HEAD -- bindings.tar.xz; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should still be a diff on the text files and then just push the tar-file if needed.

I also think the tar-file should be pushed using git lfs right?

@CGMossa CGMossa closed this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants