alire icon indicating copy to clipboard operation
alire copied to clipboard

[RFC] `alr install` for cross-workspace availability of heavy crates

Open mosteo opened this issue 4 years ago • 2 comments

Convenient? Doable? Good or bad idea? Implement a new alr install that deploys a crate at the current configuration location, making it "globally" available for all regular workspaces sharing the configuration.

This could be useful to reuse "heavy" dependencies like AWS, Matreshka, GNATCOLL... and eventually maybe even GNATStudio and additional compilers?

I'm sure there are tricky things to consider to make this work. At the very least, do something to avoid rebuilding from different workspaces with different environment configurations (gprinstall?)

mosteo avatar Jul 26 '20 16:07 mosteo

That's a good question, I was also thinking about this lately. I guess this going more in the "sandbox" territory.

Fabien-Chouteau avatar Jul 27 '20 09:07 Fabien-Chouteau

As I see it, our current solution is a pure sandbox because everything needed is entirely in a workspace. Doing this would mean going out of that sandbox into another encompassing configuration-wide sandbox.

mosteo avatar Jul 28 '20 15:07 mosteo