*** herald85 has joined #ara | 06:24 | |
*** apollo13 has quit IRC | 06:37 | |
*** apollo13 has joined #ara | 06:38 | |
*** weshay has quit IRC | 07:22 | |
*** weshay has joined #ara | 07:23 | |
*** sshnaidm|afk is now known as sshnaidm | 09:05 | |
*** dbpiv has joined #ara | 11:47 | |
*** herald85 has quit IRC | 11:54 | |
*** idir__ has joined #ara | 12:03 | |
*** herald85 has joined #ara | 12:20 | |
idir__ | hello, i tried to commit somme changes, but when i git review i have error :failed to push some refs | 12:44 |
---|---|---|
idir__ | "you are not allowed to upload merges" | 12:44 |
dmsimard | idir__: if you send a patch for review, there can't be a merge commit | 13:32 |
dmsimard | idir__: i.e, you're not sending a merge commit for review, just a commit -- a single patch | 13:32 |
dmsimard | also note that feature/1.0 has moved to master | 13:32 |
dmsimard | so you might want to do a fresh check out of the repo and use master | 13:33 |
dmsimard | idir__: I added some comments in your patches and asked to re-submit them to master instead of feature/1.0 | 13: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 administration | 13:59 |
dmsimard | idir__: normal git workflow to take a commit and put it on another branch, you can use cherry-pick | 14:05 |
dmsimard | so something like "git checkout gerrit/master" and then "git cherry-pick <commit sha1>" where the commit sha1 comes from the other branch | 14:06 |
openstackgerrit | djemaoune idir proposed recordsansible/ara master: adding task to create django super user https://review.opendev.org/663681 | 14:09 |
idir__ | i posted some comments related to super users | 14:18 |
openstackgerrit | djemaoune idir proposed recordsansible/ara master: add Redhat os compatibility https://review.opendev.org/663683 | 14: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 users | 14:33 |
openstackgerrit | djemaoune idir proposed recordsansible/ara master: add django users file https://review.opendev.org/663689 | 14:39 |
dmsimard | idir__: is there a way to create regular users automatically ? | 14:48 |
dmsimard | idir__: also for https://review.opendev.org/663689, it should have been a new patchset to https://review.opendev.org/663681 instead | 14:49 |
dmsimard | the 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 patchset | 14:50 |
*** herald85 has quit IRC | 14:50 | |
dmsimard | idir__: 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.html | 14:52 |
idir__ | ok I never knew that his existed, cool | 14:58 |
idir__ | but i think than the django_mange module can only create super users | 15:00 |
*** idir__ has quit IRC | 15:09 | |
*** dbpiv has quit IRC | 16:05 | |
*** sshnaidm is now known as sshnaidm|off | 18:06 | |
*** zbr has quit IRC | 19:25 | |
_KaszpiR_ | yayyy new look | 22:17 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!