feat(secrets): Reading from stdin and reproducible stdin #614
Labels
Clear labels
bug
build
ci/cd
critical fix
design
documentation
duplicate
easy-first-issue
enhancement
help wanted
i10n
i18n
installer
invalid
question
release
release-candidate
security
tech-debt
test
wontfix
Something is not working
go build related issues
Building things with CI/CD
https://docs.coopcloud.tech/federation/resolutions/passed/010/
UI/UX
Documenting all the things
This issue or pull request already exists
Something for new people to get stuck into. We hope it's easy!
New feature
Need some help
Everything to do with localisation
Everything to do with internationalisation
Everything to do with the install script.
Something is wrong
More information is needed
Release management
Related to the new release candidate
Security related
Unit/integration testing
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/abra#614
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.Fataland notlog.Fatalfmostly. 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.Galright: 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.
474ab2de70to72fecf59ed72fecf59edto06b22914fc@decentral1se @3wordchant made the rebase, can you have a look?
LGTM ☀️
Thanks! Merge away 💣 ✅