Monday, 2018-10-22

*** themurph has joined #ara02:27
*** themurph has quit IRC04:36
*** gvincent has joined #ara07:55
*** sshnaidm|off is now known as sshnaidm|ruck08:22
*** gvincent has quit IRC10:26
*** gvincent has joined #ara10:26
*** dbpiv has joined #ara12:21
*** bcoca has joined #ara12:36
dmsimardapollo13: so what about that crazy idea14:08
*** tbielawa has joined #ara14:12
apollo13dmsimard: I was working on django this weekend, gotta rewrite django-environ and everett to do what I want15:19
apollo13dmsimard: but basically ENV_VARS, .ini file, defaults is the goal; django-environ does it sans ini file, gotta patch everertt in to do what Iwant15:20
dmsimardapollo13: oh, huh, everett basically looks like ansible's configuration mechanism15:20
dmsimardnever heard about it before15:21
dmsimardis it still maintained ?15:22
apollo13dmsimard: last commit in april, if it still works I'll take it, otherwise fork :D15:24
apollo13I believe that projects can reach a certain level of done…15:24
apollo13gotta head home now15:24
dmsimardsure, but ideally we depend on stuff that is active/maintained/packaged etc15:24
apollo13dmsimard: yeah, we will see; it is small enough that we can copy it in the worst case. I just don't want to duplicate work15:45
dmsimard++15:45
apollo13grml, github, grml15:46
apollo13dmsimard: hrmpf, no matter how I look at it, it boils down that it gets ugly when one wants to specify multiple environments16:09
dmsimardso should we have just one environment with sane default s?16:10
apollo13doesn't work16:11
apollo13in dev you want debug=True, in prod most certainly not16:11
apollo13you need to require a sensible secret key in prod, in dev most certainly not16:11
apollo13you need to (maybe at least) have slightly different test settings16:11
apollo13although in an ideal world they'd be the same16:13
apollo13I'll rewrite it and see what comes out of it16:15
*** sshnaidm|ruck is now known as sshnaidm|afk16:27
*** gvincent has quit IRC16:45
openstackgerritFlorian Apolloner proposed openstack/ara-server master: Allow configuration of settings via config files.  https://review.openstack.org/61244616:45
apollo13dmsimard: ^ let me know what you think; I am not to happy with shipping the .cfg files; but it could be worse :D16:45
openstackgerritFlorian Apolloner proposed openstack/ara-server master: Allow configuration of settings via config files.  https://review.openstack.org/61244616:49
apollo13I actually quite like it16:49
*** tbielawa is now known as tbielawa|lunch17:20
*** irclogbot_0 has joined #ara17:25
*** irclogbot_0 has quit IRC17:31
*** irclogbot_0 has joined #ara17:34
openstackgerritFlorian Apolloner proposed openstack/ara-server master: Allow configuration of settings via config files.  https://review.openstack.org/61244617:49
*** irclogbot_0 has quit IRC17:56
dmsimardapollo13: wait, so you're not happy but you like it ?18:00
dmsimard¯\_(ツ)_/¯18:00
apollo13the purist inside me doesn't really like it; but yeah…18:00
apollo13that is the best I can come up with, if you have better ideas, I am all ears18:00
apollo13dmsimard: 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 repo18:02
apollo13since it shows that we have quite a few differences still18:03
apollo13(between the envs, so to say no dev/test/prod parity)18:03
dmsimardapollo13: simplicity is a feature in ara, sometimes at the expense of something else18:04
apollo13right, I consider this approach rather simple and nice18:05
apollo13at least for the enduser18:05
apollo13stuck a .cfg somewhere or set some env vars and you are good to go18:05
dmsimardyeah I'm not saying your patch goes for or against that principle18:05
*** irclogbot_0 has joined #ara18:06
dmsimardjust 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
dmsimardI'm not sure if you ever read https://ara.readthedocs.io/en/stable/manifesto.html18:06
dmsimardIt should probably be slightly updated to account for 1.0 but it's still mostly accurate18:06
dmsimardI haven't looked at your patch yet actually, been busy18:07
*** tbielawa|lunch is now known as tbielawa18:22
*** tbielawa has quit IRC18:57
*** tbielawa has joined #ara19:07
*** irclogbot_0 has quit IRC19:14
*** irclogbot_0 has joined #ara19:15
*** irclogbot_0 has quit IRC20:27
*** tbielawa has quit IRC20:45

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!