IRC logs of #tryton for Friday, 2023-01-27

irc.libera.chat #tryton log beginning Fri Jan 27 12:10:01 AM CET 2023
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:19
-!- ChanServ changed mode/#tryton -> +o cedk 00:19
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:db7c:11fb:1fc6:3112) has joined #tryton05:30
-!- springwurm(~springwur@5.104.149.54) has joined #tryton06:12
-!- xt0ph(~xt0ph@82-64-116-172.subs.proxad.net) has joined #tryton06:42
xt0phI follow the heptapod guide to create MR, is there a way to link them to an issue ?07:20
pokolixt0ph: just include #Closes issuenum on the commit message or MR description07:30
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton07:44
xt0ph@pokoli: to put the issuenum in MR description i need to go in web UI ?07:59
pokolixt0ph: if you put it in the commit description (as a separate line) it will be done automatically 07:59
pokolixt0ph: otherwise yes you need to do it on the web UI07:59
-!- rpit(~rpit@p200300c88f10b000c806f2a8949efcf2.dip0.t-ipconnect.de) has joined #tryton08:00
-!- rpit(~rpit@p200300c88f10b000c806f2a8949efcf2.dip0.t-ipconnect.de) has joined #tryton08:11
xt0ph@pokoli: I don't think I have the right to create an MR, how do I request it? my user Heptapod Christophe @xt0ph08:22
pokolixt0ph: you need to request developer access to the tryton group08:23
xt0ph@pokoli: Ok, where can i do that by email? a link ?08:27
pokolixt0ph: https://www.tryton.org/develop08:30
pokolixt0ph: make sure to read everything carefully08:31
xt0ph@pokoli: thank you, but I had already pushed some modification before Heptapod.08:36
pokolixt0ph: the page is updated to explain all heptapod steps 08:37
xt0ph@pokoli: I just missed a little link :-)08:39
xt0ph?debug=108:48
pokolixt0ph: I accepted you ;-) 08:49
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton08:49
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:53
-!- ChanServ changed mode/#tryton -> +o cedk 08:53
pokolicedk: it will be great if you can explain how you fixed https://foss.heptapod.net/tryton/tryton/-/merge_requests/234 09:17
pokoliOtherwise next time I won't be able to do it by myself09:17
pokolicedk: and about https://foss.heptapod.net/tryton/tryton/-/merge_requests/224#note_282063 I do not understand which should be the correct workflow 09:19
pokolicedk: when should I create a MR without issue? Why you are splitting it in two commits? 09:19
xt0ph@pokoli: I saw that :-) thank, i check all my work and i create a MR09:38
pokolixt0ph: I gave you the wrong indicatio. It is closes #num instead of #closes num sorry09:44
pokolixt0ph: I updated the MR to show how it should look like. It will be great if you update the commit message09:46
pokolixt0ph: do you know how to update the commit message?09:47
xt0ph@pokoli: before pushed yes, but after ?09:48
pokolixt0ph: you should use the histedit extension: https://www.mercurial-scm.org/wiki/HisteditExtension09:49
pokolixt0ph: you should use the mess option to edit without changin commit content. 09:49
pokoliOnce done you can push the new commit and everything will work as expected09:49
xt0ph@pokoli: ok, i try that :-)09:50
cedkpokoli: `hg rebase`09:56
cedkfor small fix, I do not think we need to create an issue if we already have the patch09:57
pokolicedk: ok about MR without fix, but still not understand when to use multiple commits or multiple MR10:00
cedkI do not think there are rules10:01
cedkin a MR there should be thing about the same topic10:01
pokolibut which is the benefit of having two changesets instead of one?10:02
cedkpokoli: atomic change10:03
nicoext0ph: you can also edit the commit message of the last commit by simply doing `hg commit --amend`, beware that it will also commit your local changes10:11
nicoext0ph: the histedit extension is essentially the equivalent of `git rebase --interactive`, I would use it only when I need to work on multiple commits in the same process10:12
nicoext0ph: but you course you should do as you are the more comfortable10:13
xt0ph@nicoe: Thanks for the info, I'll take note of it :-)10:14
xt0ph@pokoli: I modified my commit message as requested, I have to do something else on the MR?10:15
nicoe(and I think we should also stress the importance of using a good .hgrc in order not to mess with other people work ; maybe in the README.rst?)10:16
nicoe(or the CONTRIBUTING file that gitlab wants us to create :D)10:16
pokolixt0ph: everything looks nice now. Its a good idea to assign a reviewer to your MR so it will be reviewed10:18
pokolinicoe: I think contributing is a good idea10:18
nicoepokoli: it would require an overhaul of the README too then because currently the README looks more like a CONTRIBUTING file than a README (and we need a README as it's the first thing people will see on heptapod)10:20
pokolinicoe: AFAIR contribution is shown somewhere in gitlab, right? 10:23
nicoepokoli: I guess it's shown somewhere but I don't know where10:29
nicoeBut it will be too late anyway :) (as the user will see the merge request page after he pushed commits that broke everything)10:31
nicoeBut on the other hand people usually starts with creating an issue and I guess they will see it there too10:31
nicoepokoli: https://foss.heptapod.net/heptapod/heptapod/-/issues/new10:32
nicoeon the bottom there is the line "Please review the contribution guidelines for this project."10:33
nicoethat links to the CONTRIBUTING file10:33
pokolinicoe: at least that should point to our develop page 10:37
nicoeindeed10:55
pokolicedk: continuing our discussion from yesterday: I created https://foss.heptapod.net/tryton/tryton/-/merge_requests/237 for my own interest as I'm the one who have the problem10:57
pokolibut for me this is still mantaining the code, as my change will be available for everyone 10:57
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton11:55
-!- springwurm(~springwur@5.104.149.54) has joined #tryton13:06
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton14:52
-!- xt0ph(~xt0ph@82-64-116-172.subs.proxad.net) has joined #tryton15:37
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton16:47
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:57
-!- ChanServ changed mode/#tryton -> +o cedk 20:57
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton22:23

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!