Open surajssd opened 8 years ago
This is etherpad-centos7-atomicapp
. But not sure the above CrashLoopBackOff
is due to empty fields.
I've experienced this recently as well...
In regards to the .gen file. Should all of this be None
? @dustymabe
Could possibly be beginner friendly (may be a bit of a challenge :))
So I think we probably shouldn't accept empty fields we should probably query the user again if they don't provide an answer.
Is there a case where not providing an answer is valid? I know if there is a default then not providing an answer is acceptable because the default will be used.
Is there a case where not providing an answer is valid?
@dustymabe @surajssd @cdrage - There could be cases when the fields such as db_pass
for some dev environments could be blank.
Should this not be left up to the end user, than atomicapp having an opinion about whether the field should be blank or not?
@dustymabe @surajssd @cdrage - There could be cases when the fields such as db_pass for some dev environments could be blank.
@containscafeine when you say blank, do you mean the empty string or do you literally mean no password?
@dustymabe well, no password.
In that case maybe what we should do is prompt the user and say "you have not given an answer for the question, are you sure you want to leave it blank?"
@dustymabe or prefix the prompt with Enter db_pass (leave empty for no value):
,
so we don't have to prompt twice.
ehh, i think i'd rather not affect the 90% use case for the 10% corner case. @cdrage what do you think about this conversation?
Imo, by default we should have it as a blank string rather than None
in the Nulecule configuration file. Although we should still prompt the user for input on the string. For example, if we prompt up asking for db_dev_test
have Atomic App disclaim that it was blank ex. db_dev_test (Default: "") ==>
Imo, by default we should have it as a blank string rather than None in the Nulecule configuration file.
You mean in the answers.conf
file or in the Nulecule
?
Is it safe/correct behavior to accept empty fields? AtomicApp accetps empty fields:
Generated answers file
Also saw the pod situation after some time: