Local index

Hello everyone,

I’m building an application that uses Sysand for dependency management, and I’d like to be able to ship the application as standalone (able to run in an air-gapped environment).

To enable this, I’d therefore like to:

  1. At compile time: be able to create a local index containing the dependencies my app needs, copying from some other index (including the default index). I’m able to reproduce this using several sysand index x commands, however it would be nice if there could be something like:
    sysand index create-local <list-of-iris>, which would then also install dependencies of the packages in that local index
  2. At execution time (so in the air-gapped env): be able to install packages from the local index. Currently only http and https are supported for the --index/--default-index parameters of sysand add, so it should need to be possible to use file:/// as well.

Thanks for considering :slight_smile:

Greetings,
Jasper

Thanks for the proposal!

A potentially easier solution (or at least a stop-gap) would be to simply copy over (or package in an archive) the .sysand folder from a non-airgapped system.

Yeah that’s basically what I am doing now, but I want to make it nicely deterministic and automated in the future, instead of relying on manually keeping the various dependency versions updated :slight_smile: