security upgrade #17
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "upgrade"
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?
but it comes with a change i was discussing with @3wordchant over matrix. this currently works for our sqlite deploy
ok! got the
set -u
back by providing default empty values to variables that could be unsetI'm not sure what
-z
does but isn'tCMD_DB_URL
always set from thecompose.yml
and so the check never gets in to re-setting it for the postgres case? I might be missing something here 🤔 Also yes, this PR became more than a "security upgrade" 🙃 Let's update the title for those coming later?yeah you're right!
-z
checks the variable is empty, but since pg doesn't rewrite it to an empty string, the check never passesok now it checks for password file presence
954bfae9ee
to29968706fc
LGTM
@3wordchant would you test it before release?
i tested it myself and works ok! just a note @decentral1se before upgrading abra (i was on 0.10 rc but i'm not sure which one now) i could tell when a new config was being installed, with 0.10 this info isn't shown. let me know if i should open an issue about it.
@fauno yes, please open an issue: https://git.coopcloud.tech/toolshed/abra/issues/new
This output could come back but it'd be good to understand why and see if others want that also.