Remove release_env
authorrinpatch <rinpatch@sdf.org>
Sat, 7 Nov 2020 19:09:28 +0000 (22:09 +0300)
committerrinpatch <rinpatch@sdf.org>
Sun, 8 Nov 2020 08:56:09 +0000 (11:56 +0300)
commitcc45c69fff515cb82c4902b67c8edce6b109c819
tree1bdb071352bc83dc2a5a537f04ba37da9bf6dcf1
parent294628d9815d6e7390427c08ff0f8f5b073dc10f
Remove release_env

While taking a final look at instance.gen before releasing I noticed
that the release_env task outputs messages in broken english. Upon
further inspection it seems to have even more severe issues which, in
my opinion, warrant it's at least temporary removal:
- We do not explain what it actually does, anywhere. Neither the task
 docs nor instance.gen, nor installation instructions.
- It does not respect FHS on OTP releases (uses /opt/pleroma/config even
 though we store the config in /etc/pleroma/config.exs).
- It doesn't work on OTP releases, which is the main reason it exists.
Neither systemd nor openrc service files for OTP include it.
- It is not mentioned in install guides other than the ones for Debian
and OTP releases.
docs/administration/CLI_tasks/release_environments.md [deleted file]
docs/installation/debian_based_en.md
docs/installation/otp_en.md
installation/init.d/pleroma
installation/pleroma.service
lib/mix/tasks/pleroma/instance.ex
lib/mix/tasks/pleroma/release_env.ex [deleted file]
test/mix/tasks/pleroma/instance_test.exs
test/mix/tasks/pleroma/release_env_test.exs [deleted file]