feat(secrets): Reading from stdin and reproducible stdin #614
Reference in New Issue
Block a user
No description provided.
Delete Branch "p4u1/abra:insecrt-secret-from-stdin"
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'm am scripting abra with ansible right now and ran into these issues.
Btw. is anyone interested in an ansible module for coopcloud?
insecrt-secret-from-stdinto feat(secrets): Reading from stdin and reproducible stdinSolid 👏
(I'm curious about the Ansible role if it goes online, please share!)
@ -192,0 +200,4 @@
data = args[3]
} else if len(args) == 3 {
if insertFromFile {
log.Fatal("can not insert from file and read from stdin")
It's a brave new world where we need to wrap all strings with
i18n.G(...)
so translators can keep up 🤸 You can basically use as a replacement forfmt.Sprintf
. It does mean you end up using onlylog.Fatal
and notlog.Fatalf
mostly. See the rest of the codebase for usage.(I can sort this out after if you're moving fast and just wanna merge stuff)
Ah, forgot about that, will update it tomorrow.
Btw. would it be possible to override the log.Fatal functions, so we can't forget the i18n.G call
Cool, sounds good. Yeh, that would be pretty amazing to wrap the logging functions 🤔 It'd probably be possible to wrap the logging functions and thread a string via
i18n.G
alright: https://git.coopcloud.tech/toolshed/abra/src/branch/main/pkg/log/log.go Maybe that's one for an additional PR which runs a masssed -i ...
on the entire codebase 🤣CI suite failure seems related to my latest change in #612.
I thought I solved that... feel free to merge and I can loop back and fix things up afterwards.
474ab2de70
to72fecf59ed
72fecf59ed
to06b22914fc
@decentral1se @3wordchant made the rebase, can you have a look?
LGTM ☀️
Thanks! Merge away 💣 ✅