Wednesday, 2020-04-08

*** k4ch0 has joined #ara01:04
*** k4ch0 has quit IRC02:52
*** evrardjp has quit IRC04:36
*** evrardjp has joined #ara04:37
*** TKersten has joined #ara05:35
*** sshnaidm|afk is now known as sshnaidm07:42
*** gvincent has joined #ara08:09
*** gvincent has quit IRC08:10
*** gvincent has joined #ara08:13
*** sshnaidm is now known as sshnaidm|afk10:56
*** kevko has joined #ara12:14
kevkodmsimard|off: Hi David, thank you for your email, can i ask something regarding ara packaging in debian ? :)12:16
*** sshnaidm|afk is now known as sshnaidm12:19
dmsimard|offkevko: sure12:49
dmsimard|offWhat's up ?12:50
kevkodmsimard|off: ah, sorry, i've asked and didn't check reply .. well, i wanted to ask if I packaged ara OK , i was not sure how to generate config file to /etc , or how to provide systemd with uwsgi instead of runserver ..maybe you can help me in revision2 ?14:25
kevkoi went different way as generating config when building and now i'm doing it in postinst ..but i am not sure if it is OK14:26
dmsimard|offkevko: right now there is a default config file that gets generated automatically when the server first starts (if there isn't already a config file present)14:28
dmsimard|offWe've talked about splitting this automatic process to a subcommand but haven't got around to it yet14:28
dmsimard|offWe have integration tests with gunicorn but not uwsgi yet, would be nice to have coverage for it too14:29
dmsimard|offWith gunicorn: https://github.com/ansible-community/ara/blob/master/roles/ara_api/templates/ara-api.service.j214:30
dmsimard|offRole was designed to eventually drop a uwsgi in here: https://github.com/ansible-community/ara/tree/master/roles/ara_api/tasks/wsgi_server14:30
kevkodmsimard|off: yeah, i know that there is a config when server starts, but i wanted to generate default config when building and place to /etc as conffile ..so if debian user will upgrade a package.. dpkg just ask for replacement/diff/old_version/maintainer_version ..etc .. so i tried to use migrate ..it worked ..but i had secret key filled ...and was not sure if i just remove it ..if it will be ok ... also the BOX id or what is it ..i14:31
kevkowas not sure ...14:31
dmsimard|offThe box syntax is a regression that is fixed in master iirc14:31
dmsimard|offIt doesn't do any harm but it's not necessary either14:32
kevkodmsimard|off: ok, i've packaged it best i knew ..so , it will be nice if you can try it maybe :)14:32
dmsimard|offIndeed, about the secret key, it'd be interesting to see how other packaged django apps deal with this14:33
dmsimard|offWhere can I get the package ? I haven't done debian packaging in a long long time :p14:33
kevkodmsimard|off: i can send it to you14:37
kevkodmsimard|off: or ,w814:38
kevkodmsimard|off: to what mail i can send ?15:01
*** TKersten has left #ara15:08
*** sshnaidm is now known as sshnaidm|afk16:04
*** evrardjp has quit IRC16:37
*** evrardjp has joined #ara16:37
*** dbpiv has quit IRC17:39
dmsimard|offkevko: is the source for the packaging available somewhere ? You can otherwise just reply to my email17:49
kevkodmsimard|off: yes, on salsa18:22
kevkodmsimard|off: https://salsa.debian.org/openstack-team/python/python-ara.git18:22
*** k4ch0 has joined #ara22:29

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