aboutsummaryrefslogtreecommitdiff
path: root/src/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix log dir/file mismatchnotgne22020-12-271-2/+2
|
* Replace logger, add more logging options including filesnotgne22020-12-272-5/+110
|
* Fix fast_connection flag to enable substitute-on-destination correctlynotgne22020-12-191-1/+1
|
* Add SPDX-FileCopyrightText to the three files that I changed substantiallyAndreas Fuchs2020-12-022-0/+2
|
* Reinstate NoProfileUserAndreas Fuchs2020-12-021-0/+1
| | | | Seems to have been removed by mistake in the previous cleanup
* Clean up utils/mod.rsAlexander Bantyev2020-12-021-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.
* Fail early if there is no activation script in profile pathAlexander Bantyev2020-12-021-0/+17
|
* Use DeployData's store path to build the activate-rs pathAndreas Fuchs2020-12-023-30/+4
| | | | This gets rid of yet more code, so - win!
* Don't copy the activate script (it's part of the closure anyway)Andreas Fuchs2020-12-021-1/+0
|
* Use the profile closure's activate script to activate the profileAndreas Fuchs2020-12-023-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.
* Use crude Nix parsing for parsing the flake pathnotgne22020-11-291-42/+88
|
* Use the last `.` for node/profile name separation, ignore any trailing `.`. ↵notgne22020-11-271-2/+41
| | | | This should solve at least part of #10
* Quote node and profile names given to `nix build` (relates to #10)notgne22020-11-271-2/+2
|
* Remove old `--no-link` flags to the Nix buildnotgne22020-11-271-9/+5
|
* Remove ref/cows from DeployDefs, add interactive flag (resolves #4)notgne22020-11-223-20/+18
|
* Partially add deployment confirmation utilities (for #4)notgne22020-11-221-0/+3
|
* Use `/tmp` as temp directory, not `/tmp/deploy-rs` (resolves #8 by deprecation)notgne22020-11-221-4/+4
|
* Make `magicRollback` be enabled by defaultnotgne22020-11-141-1/+1
|
* Pass extra build args to build commandnotgne22020-11-141-0/+5
|
* Remove bootstrapnotgne22020-11-072-12/+0
|
* Unmute some more outputs, document the remaining mutesnotgne22020-11-071-2/+1
|
* Abbreviate match expression with unwrap_or()notgne22020-10-301-4/+1
|
* Make all the errors work correctly (I am so so sorry)notgne22020-10-293-41/+116
|
* Make lock hash clearer (at apparently no expense)notgne22020-10-291-1/+1
|
* Add more debug logsnotgne22020-10-261-0/+7
|
* Add an option to keep build resultsnotgne22020-10-231-13/+30
|
* Enable color for activation commandnotgne22020-10-231-1/+3
|
* Fix log messages, prevent non-flake builds writing to result, unmute stderr ↵notgne22020-10-231-4/+3
| | | | on nix builds
* Remove redundant defaultnotgne22020-10-231-2/+2
|
* Clean up some CLI arguments, make magic rollback optionalnotgne22020-10-134-45/+67
|
* Auto rollback if deployment is not confirmednotgne22020-10-132-3/+53
|
* Merge branch 'master' of github.com:notgne2/deploy-rs into masternotgne22020-10-101-25/+0
|\
| * Update documentationnotgne22020-10-081-25/+0
| |
* | Add profile path option to profilesnotgne22020-10-102-7/+13
|/
* Improve schema a bit, fix flake locks for examplesnotgne22020-10-051-8/+7
|
* General improvements, deprecate `activate` profile option in favor of ↵notgne22020-10-023-31/+15
| | | | executing $PROFILE/activate (Wrap It Yourself) to ensure successful rollback activations
* Handle more command exits correctlynotgne22020-10-012-10/+26
|
* Rework system for deploy properties, add CLI override flagsnotgne22020-10-013-84/+165
|
* Improve nix copy stuffnotgne22020-10-013-29/+31
|
* Merge branch 'master' of github.com:notgne2/deploy-rs into masternotgne22020-09-294-0/+16
|\
| * Add license information, reformat Nix files, clean upnotgne22020-09-294-0/+16
| |
* | More separation and component testingnotgne22020-09-291-28/+88
|/
* Move all activation logic to activate.rs (the unused warnings got annoying)notgne22020-09-292-109/+0
|
* use separate binary for activation, more cleanupnotgne22020-09-283-7/+22
|
* More functionsnotgne22020-09-282-2/+1
|
* separate out activation logicnotgne22020-09-282-4/+176
|
* Add missing filesnotgne22020-09-284-0/+300