Add config-hooks to call scripts for generation of env values
#6
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I don't know if thats the best way to solve it, but I want to automate the generation of ULIDs when configuring matrix-synapse with matrix-authentication-service, see
So I'm thinking of configuring something in alakazam like
just as a rough idea
In general an
env-hookcould be useful in some cases. But it must be ensured that the hook command will reproduce deterministic outputs, because the env file need to be regenerated for every update. For generating an ULID it's not useful, because ULIDs are randomly generated and not deterministically.Another solution could be to run the
env-hookonly if the env is empty. But this would require a more complex env generation logic: