aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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 pathnotgne22-46/+94
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 buildnotgne22-10/+6
2020-11-24Fix ProfileNotFound error messagenotgne21-1/+1
2020-11-22Print deployment if interactive mode is disablednotgne21-0/+4
2020-11-22Remove ref/cows from DeployDefs, add interactive flag (resolves #4)notgne24-54/+67
2020-11-22Refactor running to deprecate deploy_all_profiles/push_all_profilesnotgne21-237/+122
2020-11-22Partially add deployment confirmation utilities (for #4)notgne22-0/+93
2020-11-22Use `/tmp` as temp directory, not `/tmp/deploy-rs` (resolves #8 by deprecation)notgne22-5/+5
2020-11-21Build nothing if checks attribute is missing in non-flakes mode (fixes #7)notgne21-1/+1
2020-11-21fixup! Check auto-rollback flag before deactivatingChristian Höppner1-3/+1
2020-11-21Check auto-rollback flag before deactivatingChristian Höppner1-4/+12
2020-11-14Make `magicRollback` be enabled by defaultnotgne21-1/+1
2020-11-14Pass extra build args to build commandnotgne22-0/+12
2020-11-07Remove bootstrapnotgne23-55/+0
2020-11-07Unmute some more outputs, document the remaining mutesnotgne23-9/+2
2020-11-02Mildly improve loggingnotgne22-2/+3
2020-10-30Abbreviate match expression with unwrap_or()notgne21-4/+1
2020-10-30Tweak error messages a littlenotgne22-4/+4
2020-10-29Remove last remaining inappropriate panicsnotgne21-6/+29
2020-10-29Make all the errors work correctly (I am so so sorry)notgne25-175/+439
2020-10-29Make lock hash clearer (at apparently no expense)notgne22-2/+2
2020-10-29Set correct author on activate binarynotgne21-2/+5
2020-10-26Add more debug logsnotgne22-1/+11
2020-10-26Automatically run checks when deployingnotgne21-1/+43
2020-10-25Fail correctly if initial activation failsnotgne21-6/+8
2020-10-23Add an option to keep build resultsnotgne22-16/+54
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-23Warn when flakes are not available, forward stderr of Nix evaluationnotgne21-5/+9
2020-10-23Remove redundant defaultnotgne21-2/+2
2020-10-13Clean up some CLI arguments, make magic rollback optionalnotgne26-92/+132
2020-10-13Auto rollback if deployment is not confirmednotgne23-75/+226
2020-10-11Set working directory during activation to the profile pathnotgne21-0/+2
2020-10-11Move activate script location, use buildEnv for setActivatenotgne21-2/+2
2020-10-10Add profile path option to profilesnotgne22-7/+13
2020-10-08Update documentationnotgne22-39/+0
2020-10-06Add skip-push flagnotgne21-25/+36
2020-10-05Improve schema a bit, fix flake locks for examplesnotgne22-17/+26
2020-10-05Add interface with json schema, fix flake-less issues, put setActivate and ↵notgne21-3/+6
jsonSchema check in flake lib
2020-10-02General improvements, deprecate `activate` profile option in favor of ↵notgne24-117/+97
executing $PROFILE/activate (Wrap It Yourself) to ensure successful rollback activations
2020-10-01Handle more command exits correctlynotgne23-20/+55
2020-10-01Rework system for deploy properties, add CLI override flagsnotgne24-129/+260
2020-10-01Improve nix copy stuffnotgne24-29/+33