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

add support for single file wraps #744

Closed
agauniyal opened this issue Aug 31, 2016 · 3 comments
Closed

add support for single file wraps #744

agauniyal opened this issue Aug 31, 2016 · 3 comments

Comments

@agauniyal
Copy link

agauniyal commented Aug 31, 2016

FEATURE REQUEST

Currently only zip files are supported, however a lot of projects(atleast single header ones) do releases/ or provide sources with single file only. eg of notable projects:

and many others. Instead of downloading the full zip, which sometimes is quite large in size, we can download the single files provided by them and include them. This would prove beneficial for several header only c++ projects.

@agauniyal
Copy link
Author

This should be fairly easy to implement, any progress on this?

@jpakkane
Copy link
Member

You don't need a release and zip to use a subproject. You can also specify a git repo in your wrap file and Meson will check that out automatically. For reliability we want to encourage people to use upstream releases with as few changes as possible (optimally none). If you want to absolutely minimize space then create a new repo with just the header + Meson files (you need to do equivalent work to create the single file zip in any case).

@agauniyal
Copy link
Author

I was talking about the releases that are done with single files. Checking out a git repo will almost result in same size as checking out the release since most github releases are archive of the repo themselves.

If you want to absolutely minimize space then create a new repo with just the header + Meson files (you need to do equivalent work to create the single file zip in any case).

I'll do this for now.

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

No branches or pull requests

2 participants