summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-04-12 03:42:13 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-04-12 03:42:13 +0200
commita41b109bc10e66824af5e1f150cb741f9f9399c2 (patch)
tree0cee8f306bd1f8b2a6ad285e9c45c63dec09fb12 /pkgs/development/python-modules/GitPython
parent9586795ef27ac4d406c10c12f92fc735b5f4ff24 (diff)
nixos/taskserver: Don't change imperative users
Whenever the nixos-taskserver tool was invoked manually for creating an organisation/group/user we now add an empty file called .imperative to the data directory. During the preStart of the Taskserver service, we use process-json which in turn now checks whether those .imperative files exist and if so, it doesn't do anything with it. This should now ensure that whenever there is a manually created user, it doesn't get killed off by the declarative configuration in case it shouldn't exist within that configuration. In addition, we also add a small subtest to check whether this is happening or not and fail if the imperatively created user got deleted by process-json. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/development/python-modules/GitPython')
0 files changed, 0 insertions, 0 deletions