Commit graph

4 commits

Author SHA1 Message Date
June a7772aa154
feature!: introduce --flake option for setting the flake to use
All checks were successful
/ ruff (push) Successful in 25s
/ black (push) Successful in 25s
Having this option available allows for using a flake which isn't in (or
upwards of) the directory the command gets executed in and allows for
using remote flakes.

Also archive the flake to use first and then operate on the archive.
This allows for easily getting the deployment_configuration.json from
the archive and also ensures that once the archiving suceeds, there
shouldn't be issues with the flakes source anymore.
Since now the deployment_configuration.json will always be taken from
the root of the flakes archive and therefore from the root of the flakes
repo, this is a breaking change, since previously it was taken from the
current working directory.
The idea of archiving the flake first and operating on the archive comes
from bij:
221052d846

Moreover introduce helper functions for facilitating recursive options
(i.e. options one can set on root and sub-commands).
2024-06-10 02:08:23 +02:00
June 8845a6b408
docs: document configuration 2024-06-08 21:34:12 +02:00
June 9e96034997
docs: document basic usage of infra-rebuild 2024-06-08 21:14:53 +02:00
June d085cfd3b9
License this program under GPL-3.0-or-later 2024-06-04 23:25:10 +02:00