Thursday, 2019-06-06

*** herald85 has joined #ara06:24
*** apollo13 has quit IRC06:37
*** apollo13 has joined #ara06:38
*** weshay has quit IRC07:22
*** weshay has joined #ara07:23
*** sshnaidm|afk is now known as sshnaidm09:05
*** dbpiv has joined #ara11:47
*** herald85 has quit IRC11:54
*** idir__ has joined #ara12:03
*** herald85 has joined #ara12:20
idir__hello, i tried to commit somme changes, but when i git review i have error :failed to push some refs12:44
idir__"you are not allowed to upload merges"12:44
dmsimardidir__: if you send a patch for review, there can't be a merge commit13:32
dmsimardidir__: i.e, you're not sending a merge commit for review, just a commit -- a single patch13:32
dmsimardalso note that feature/1.0 has moved to master13:32
dmsimardso you might want to do a fresh check out of the repo and use master13:33
dmsimardidir__: I added some comments in your patches and asked to re-submit them to master instead of feature/1.013:50
idir__yes, but how can i do it ?  Should I redo all the changes on another commit and another topic, or I can do it automatically ?13:53
idir__i saw your comments related to users, only super users can access to django administration13:59
dmsimardidir__: normal git workflow to take a commit and put it on another branch, you can use cherry-pick14:05
dmsimardso something like "git checkout gerrit/master" and then "git cherry-pick <commit sha1>" where the commit sha1 comes from the other branch14:06
openstackgerritdjemaoune idir proposed recordsansible/ara master: adding task to create django super user  https://review.opendev.org/66368114:09
idir__i posted some comments related to super users14:18
openstackgerritdjemaoune idir proposed recordsansible/ara master: add Redhat os compatibility  https://review.opendev.org/66368314:19
idir__i think the best way is to create a super user by default (admin - admin) and the allow to create users as regular users14:33
openstackgerritdjemaoune idir proposed recordsansible/ara master: add django users file  https://review.opendev.org/66368914:39
dmsimardidir__: is there a way to create regular users automatically ?14:48
dmsimardidir__: also for https://review.opendev.org/663689, it should have been a new patchset to https://review.opendev.org/663681 instead14:49
dmsimardthe workflow might have looked like: "git fetch https://review.opendev.org/recordsansible/ara refs/changes/81/663681/1 && git checkout FETCH_HEAD" (from "Download" at the top right in gerrit), do your edits and then "git commit --amend" and "git review" to send the new patchset14:50
*** herald85 has quit IRC14:50
dmsimardidir__: oh, it turns out there is a django_manage Ansible module that is able to create superusers https://docs.ansible.com/ansible/latest/modules/django_manage_module.html14:52
idir__ ok I never knew that his existed, cool14:58
idir__but i think than the django_mange module can only create super users15:00
*** idir__ has quit IRC15:09
*** dbpiv has quit IRC16:05
*** sshnaidm is now known as sshnaidm|off18:06
*** zbr has quit IRC19:25
_KaszpiR_yayyy new look22:17

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