aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-26changed: remove 2015-style extern crateBernardo Meurer1-6/+0
2021-01-08Remove unused DeployPathToActivatePathErrornotgne21-8/+0
2021-01-08Fix trivial lint issuesnotgne21-1/+1
2021-01-08Restructure projectnotgne21-7/+5
2021-01-01Format logs differentlynotgne21-3/+3
2020-12-30Modify activation logic to keep SSH connection alive for magic-rollback and ↵notgne21-9/+45
avoid forking or disconnecting std{out,err}
2020-12-27Remove discriminant (they are already differenciated by binary name)notgne21-1/+0
2020-12-27Deduplicate level to emoji pattern into make_emoji()notgne21-14/+12
2020-12-27Replace logger, add more logging options including filesnotgne21-3/+92
2020-12-22Fix the order in which settings are mergednotgne21-2/+2
2020-12-02Add SPDX-FileCopyrightText to the three files that I changed substantiallyAndreas Fuchs1-0/+1
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-02Use DeployData's store path to build the activate-rs pathAndreas Fuchs1-20/+0
This gets rid of yet more code, so - win!
2020-12-02Use the profile closure's activate script to activate the profileAndreas Fuchs1-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.
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-22Remove ref/cows from DeployDefs, add interactive flag (resolves #4)notgne21-18/+16
2020-11-22Partially add deployment confirmation utilities (for #4)notgne21-0/+3
2020-10-29Make all the errors work correctly (I am so so sorry)notgne21-16/+37
2020-10-13Clean up some CLI arguments, make magic rollback optionalnotgne21-2/+8
2020-10-10Add profile path option to profilesnotgne21-7/+11
2020-10-08Update documentationnotgne21-25/+0
2020-10-01Rework system for deploy properties, add CLI override flagsnotgne21-40/+126
2020-10-01Improve nix copy stuffnotgne21-0/+24
2020-09-29Add license information, reformat Nix files, clean upnotgne21-0/+4
2020-09-29Move all activation logic to activate.rs (the unused warnings got annoying)notgne21-1/+0
2020-09-28separate out activation logicnotgne21-4/+68
2020-09-28Add missing filesnotgne21-0/+71