aboutsummaryrefslogtreecommitdiff
path: root/src/utils/mod.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Restructure projectnotgne22021-01-081-426/+0
|
* Merge branch 'notgne2/new-logger'notgne22021-01-081-3/+125
|\
| * Format logs differentlynotgne22021-01-011-3/+3
| |
| * Modify activation logic to keep SSH connection alive for magic-rollback and ↵notgne22020-12-301-9/+45
| | | | | | | | avoid forking or disconnecting std{out,err}
| * Remove discriminant (they are already differenciated by binary name)notgne22020-12-271-1/+0
| |
| * Deduplicate level to emoji pattern into make_emoji()notgne22020-12-271-14/+12
| |
| * Replace logger, add more logging options including filesnotgne22020-12-271-3/+92
| |
* | Fix the order in which settings are mergednotgne22020-12-221-2/+2
|/
* Add SPDX-FileCopyrightText to the three files that I changed substantiallyAndreas Fuchs2020-12-021-0/+1
|
* 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.
* Use DeployData's store path to build the activate-rs pathAndreas Fuchs2020-12-021-20/+0
| | | | This gets rid of yet more code, so - win!
* Use the profile closure's activate script to activate the profileAndreas Fuchs2020-12-021-16/+10
| | | | | | | 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
* Remove ref/cows from DeployDefs, add interactive flag (resolves #4)notgne22020-11-221-18/+16
|
* Partially add deployment confirmation utilities (for #4)notgne22020-11-221-0/+3
|
* Make all the errors work correctly (I am so so sorry)notgne22020-10-291-16/+37
|
* Clean up some CLI arguments, make magic rollback optionalnotgne22020-10-131-2/+8
|
* 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-101-7/+11
|/
* Rework system for deploy properties, add CLI override flagsnotgne22020-10-011-40/+126
|
* Improve nix copy stuffnotgne22020-10-011-0/+24
|
* Add license information, reformat Nix files, clean upnotgne22020-09-291-0/+4
|
* Move all activation logic to activate.rs (the unused warnings got annoying)notgne22020-09-291-1/+0
|
* separate out activation logicnotgne22020-09-281-4/+68
|
* Add missing filesnotgne22020-09-281-0/+71