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

build cache #80

Open
maddanio opened this issue Jan 5, 2021 · 1 comment
Open

build cache #80

maddanio opened this issue Jan 5, 2021 · 1 comment

Comments

@maddanio
Copy link
Contributor

maddanio commented Jan 5, 2021

is there a way to cache builds? main use case is for the ci, where we completeley build from scratch every time. conan then pulls these from its cache. we would like to move to cget possibly, because conan has some problems for us and being such a huge project is too hard to fix for us. ideally this cache would be remotely accessible, ideally requiring only http(s) on the remote.

@maddanio
Copy link
Contributor Author

maddanio commented Jan 7, 2021

ok, I thought about this. there is already the concept of a package in cget. so what I will do is generate a hash from a source spec and build variant and if its a recipe the complete contents of the recipe folder and all its dependencies (recursively). then we have an "address". that can then be served via a local cache, or even remotely via http or scp. in the latter case I will likely add an os descriptor. packages would then be addressed:
<os>/<name>/<recipe hash>
where <name> is purely descriptive and will likely need to be generated by some simplification rule for complex specs

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

1 participant