*** themurph has joined #ara | 02:27 | |
*** themurph has quit IRC | 04:36 | |
*** gvincent has joined #ara | 07:55 | |
*** sshnaidm|off is now known as sshnaidm|ruck | 08:22 | |
*** gvincent has quit IRC | 10:26 | |
*** gvincent has joined #ara | 10:26 | |
*** dbpiv has joined #ara | 12:21 | |
*** bcoca has joined #ara | 12:36 | |
dmsimard | apollo13: so what about that crazy idea | 14:08 |
---|---|---|
*** tbielawa has joined #ara | 14:12 | |
apollo13 | dmsimard: I was working on django this weekend, gotta rewrite django-environ and everett to do what I want | 15:19 |
apollo13 | dmsimard: but basically ENV_VARS, .ini file, defaults is the goal; django-environ does it sans ini file, gotta patch everertt in to do what Iwant | 15:20 |
dmsimard | apollo13: oh, huh, everett basically looks like ansible's configuration mechanism | 15:20 |
dmsimard | never heard about it before | 15:21 |
dmsimard | is it still maintained ? | 15:22 |
apollo13 | dmsimard: last commit in april, if it still works I'll take it, otherwise fork :D | 15:24 |
apollo13 | I believe that projects can reach a certain level of done… | 15:24 |
apollo13 | gotta head home now | 15:24 |
dmsimard | sure, but ideally we depend on stuff that is active/maintained/packaged etc | 15:24 |
apollo13 | dmsimard: yeah, we will see; it is small enough that we can copy it in the worst case. I just don't want to duplicate work | 15:45 |
dmsimard | ++ | 15:45 |
apollo13 | grml, github, grml | 15:46 |
apollo13 | dmsimard: hrmpf, no matter how I look at it, it boils down that it gets ugly when one wants to specify multiple environments | 16:09 |
dmsimard | so should we have just one environment with sane default s? | 16:10 |
apollo13 | doesn't work | 16:11 |
apollo13 | in dev you want debug=True, in prod most certainly not | 16:11 |
apollo13 | you need to require a sensible secret key in prod, in dev most certainly not | 16:11 |
apollo13 | you need to (maybe at least) have slightly different test settings | 16:11 |
apollo13 | although in an ideal world they'd be the same | 16:13 |
apollo13 | I'll rewrite it and see what comes out of it | 16:15 |
*** sshnaidm|ruck is now known as sshnaidm|afk | 16:27 | |
*** gvincent has quit IRC | 16:45 | |
openstackgerrit | Florian Apolloner proposed openstack/ara-server master: Allow configuration of settings via config files. https://review.openstack.org/612446 | 16:45 |
apollo13 | dmsimard: ^ let me know what you think; I am not to happy with shipping the .cfg files; but it could be worse :D | 16:45 |
openstackgerrit | Florian Apolloner proposed openstack/ara-server master: Allow configuration of settings via config files. https://review.openstack.org/612446 | 16:49 |
apollo13 | I actually quite like it | 16:49 |
*** tbielawa is now known as tbielawa|lunch | 17:20 | |
*** irclogbot_0 has joined #ara | 17:25 | |
*** irclogbot_0 has quit IRC | 17:31 | |
*** irclogbot_0 has joined #ara | 17:34 | |
openstackgerrit | Florian Apolloner proposed openstack/ara-server master: Allow configuration of settings via config files. https://review.openstack.org/612446 | 17:49 |
*** irclogbot_0 has quit IRC | 17:56 | |
dmsimard | apollo13: wait, so you're not happy but you like it ? | 18:00 |
dmsimard | ¯\_(ツ)_/¯ | 18:00 |
apollo13 | the purist inside me doesn't really like it; but yeah… | 18:00 |
apollo13 | that is the best I can come up with, if you have better ideas, I am all ears | 18:00 |
apollo13 | dmsimard: what I like is the due to django-environ we have nice support for database urls etc and due to everett that we have nicely stacked config. what I don't like is commiting all those configs to the repo | 18:02 |
apollo13 | since it shows that we have quite a few differences still | 18:03 |
apollo13 | (between the envs, so to say no dev/test/prod parity) | 18:03 |
dmsimard | apollo13: simplicity is a feature in ara, sometimes at the expense of something else | 18:04 |
apollo13 | right, I consider this approach rather simple and nice | 18:05 |
apollo13 | at least for the enduser | 18:05 |
apollo13 | stuck a .cfg somewhere or set some env vars and you are good to go | 18:05 |
dmsimard | yeah I'm not saying your patch goes for or against that principle | 18:05 |
*** irclogbot_0 has joined #ara | 18:06 | |
dmsimard | just saying that we need to consider that sometimes we'll need to compromise to keep things simple at the expense of things like performance, features, etc. | 18:06 |
dmsimard | I'm not sure if you ever read https://ara.readthedocs.io/en/stable/manifesto.html | 18:06 |
dmsimard | It should probably be slightly updated to account for 1.0 but it's still mostly accurate | 18:06 |
dmsimard | I haven't looked at your patch yet actually, been busy | 18:07 |
*** tbielawa|lunch is now known as tbielawa | 18:22 | |
*** tbielawa has quit IRC | 18:57 | |
*** tbielawa has joined #ara | 19:07 | |
*** irclogbot_0 has quit IRC | 19:14 | |
*** irclogbot_0 has joined #ara | 19:15 | |
*** irclogbot_0 has quit IRC | 20:27 | |
*** tbielawa has quit IRC | 20:45 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!