aboutsummaryrefslogtreecommitdiff
path: root/src/utils (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-02Reinstate NoProfileUserAndreas Fuchs1-0/+1
Seems to have been removed by mistake in the previous cleanup
2020-12-02Clean up utils/mod.rsAlexander Bantyev1-12/+0
Now that we don't copy `activate` from the same directory as `current_exe`, we can skip the check that the `current_exe` is reachable and in nix store.
2020-12-02Fail early if there is no activation script in profile pathAlexander Bantyev1-0/+17
2020-12-02Use DeployData's store path to build the activate-rs pathAndreas Fuchs3-30/+4
This gets rid of yet more code, so - win!
2020-12-02Don't copy the activate script (it's part of the closure anyway)Andreas Fuchs1-1/+0
2020-12-02Use the profile closure's activate script to activate the profileAndreas Fuchs3-23/+13
This gets rid of the "current_exe" vestige that has stuck around from when this program was meant to be standalone; instead, we use the (already known) path to the activate-rs wrapper, which automatically uses the correct binary for the deploy target platform.
2020-11-29Use crude Nix parsing for parsing the flake pathnotgne21-42/+88
2020-11-27Use the last `.` for node/profile name separation, ignore any trailing `.`. ↵notgne21-2/+41
This should solve at least part of #10
2020-11-27Quote node and profile names given to `nix build` (relates to #10)notgne21-2/+2
2020-11-27Remove old `--no-link` flags to the Nix buildnotgne21-9/+5
2020-11-22Remove ref/cows from DeployDefs, add interactive flag (resolves #4)notgne23-20/+18
2020-11-22Partially add deployment confirmation utilities (for #4)notgne21-0/+3
2020-11-22Use `/tmp` as temp directory, not `/tmp/deploy-rs` (resolves #8 by deprecation)notgne21-4/+4
2020-11-14Make `magicRollback` be enabled by defaultnotgne21-1/+1
2020-11-14Pass extra build args to build commandnotgne21-0/+5
2020-11-07Remove bootstrapnotgne22-12/+0
2020-11-07Unmute some more outputs, document the remaining mutesnotgne21-2/+1
2020-10-30Abbreviate match expression with unwrap_or()notgne21-4/+1
2020-10-29Make all the errors work correctly (I am so so sorry)notgne23-41/+116
2020-10-29Make lock hash clearer (at apparently no expense)notgne21-1/+1
2020-10-26Add more debug logsnotgne21-0/+7
2020-10-23Add an option to keep build resultsnotgne21-13/+30
2020-10-23Enable color for activation commandnotgne21-1/+3
2020-10-23Fix log messages, prevent non-flake builds writing to result, unmute stderr ↵notgne21-4/+3
on nix builds
2020-10-23Remove redundant defaultnotgne21-2/+2
2020-10-13Clean up some CLI arguments, make magic rollback optionalnotgne24-45/+67
2020-10-13Auto rollback if deployment is not confirmednotgne22-3/+53
2020-10-10Add profile path option to profilesnotgne22-7/+13
2020-10-08Update documentationnotgne21-25/+0
2020-10-05Improve schema a bit, fix flake locks for examplesnotgne21-8/+7
2020-10-02General improvements, deprecate `activate` profile option in favor of ↵notgne23-31/+15
executing $PROFILE/activate (Wrap It Yourself) to ensure successful rollback activations
2020-10-01Handle more command exits correctlynotgne22-10/+26
2020-10-01Rework system for deploy properties, add CLI override flagsnotgne23-84/+165
2020-10-01Improve nix copy stuffnotgne23-29/+31
2020-09-29More separation and component testingnotgne21-28/+88
2020-09-29Add license information, reformat Nix files, clean upnotgne24-0/+16
2020-09-29Move all activation logic to activate.rs (the unused warnings got annoying)notgne22-109/+0
2020-09-28use separate binary for activation, more cleanupnotgne23-7/+22
2020-09-28More functionsnotgne22-2/+1
2020-09-28separate out activation logicnotgne22-4/+176
2020-09-28Add missing filesnotgne24-0/+300