IRC logs of #tryton for Monday, 2018-10-08 #tryton log beginning Mon Oct 8 00:00:01 CEST 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:40
-!- lucascastro( has joined #tryton02:17
-!- yangoon( has joined #tryton02:46
-!- tafelgeschirr(~tafelgesc@ has joined #tryton04:58
-!- Timitos( has joined #tryton05:28
-!- thaneor( has joined #tryton05:43
-!- mrichez( has joined #tryton06:56
-!- jmpoure( has joined #tryton07:00
-!- rpit( has joined #tryton07:04
-!- nicoe( has joined #tryton07:16
-!- udono(~udono@2a00:6020:15fa:1e00:76e5:bff:fe6e:a706) has joined #tryton07:17
-!- nicoe( has joined #tryton07:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:56
mrichezhi, how to test a patch with tryton-env ? before i just did hg review --fetch -i xxxxxx08:24
pokolimrichez: I download the patchset and apply it with: patch -p1 < file08:25
mrichezpokoli: ok thanks !08:29
pokolimrichez: jftr, if the patch applies to a single repoistory you can import it directly with: hg import --no-commit <patch_url>08:44
mrichezpokoli: ok. and hg review is now obsolete ?08:51
pokolimrichez: IIRC hg review does not work with latest mercurial version09:01
mrichezpokoli: ok09:02
pokolimrichez: so we use with this patch aapplied:
-!- smorillo(bc559993@gateway/web/cgi-irc/ has joined #tryton09:03
pokolimrichez: See:
pokolimrichez: can also be downloaded from
mrichezpokoli: oki thanks for all explanations09:07
cedkFYI, at the we discussed with marmoute from Octobus (hg developer) about our workflow and how we could improve it09:07
-!- smorillo(9effefda@gateway/web/cgi-irc/ has joined #tryton09:10
cedkI will make a post on discuss when it is clear09:13
mrichezcedk: ok09:13
cedkbut the big lines are to use a monorepo (using prefixed tag for module release)09:14
cedkuse a draft repo with evolve/topics opened to any one with account09:14
-!- jmpoure( has joined #tryton09:15
cedkmake review on hgweb (by injecting JS to be written)09:15
cedkand dev validate topics by pushing an non-draft repository09:15
-!- jmpoure( has joined #tryton09:16
pokolicedk: so we will only use standard hg tools, except to the review on hgweb09:17
cedkpokoli: yes the idea is to focus on the real need and not on the tools09:18
cedkindeed we have already all the bricks except for commenting on patch09:20
cedkbut we have already a tool to display patches: hgweb09:20
cedkit is not a new idea, I found this:
-!- smorillo(bc559993@gateway/web/cgi-irc/ has joined #tryton09:21
cedkbut the merge to a monorepo could be complicated, we may need to contract octobus to do that09:22
cedkand the testing should be rework to run only for what has changed09:25
-!- smorillo(9effefda@gateway/web/cgi-irc/ has joined #tryton09:31
-!- smorillo(bc559993@gateway/web/cgi-irc/ has joined #tryton09:43
-!- lukio(~lukio@ has joined #tryton10:16
-!- nlopez73(bc559993@gateway/web/cgi-irc/ has joined #tryton10:31
-!- mariomop(~quassel@ has joined #tryton10:59
-!- nicoe( has joined #tryton11:36
-!- tafelgeschirr(~tafelgesc@ has joined #tryton11:58
mrichezWhat's the best way to ensure a field is unique ? adding an sql_constraint ?12:43
cedkmrichez: yes but NULL is always unique12:49
mrichezcedk: ok. I'm wondering where is stored the error_message linked to the constraint when using cls._sql_contraints ?12:53
mrichezcedk: is no more working ?12:53
cedkmrichez: check
-!- nicoe( has joined #tryton13:04
cedkmrichez: for, you may have DNS propagation delay13:05
cedkit may takes up to 7 days since last Friday13:06
mrichezcedk: ok, thanks. One more question, modelstorage.validate could also be used to check unique ? (even if sql_constraint is better)13:08
cedkmrichez: no it can not because of the concurrency and transactional behavior of Tryton13:16
mrichezcedk: ok13:18
-!- lukio(~lukio@ has joined #tryton13:45
-!- mrichez( has joined #tryton14:08
-!- lukio(~lukio@ has joined #tryton14:15
-!- rpit( has joined #tryton14:36
-!- jmpoure( has joined #tryton15:52
-!- cryptic(~cryptic@ has joined #tryton16:10
-!- lucascastro(~lucascast@ has joined #tryton16:51
-!- mariomop( has joined #tryton17:00
-!- lucascastro( has joined #tryton17:28
-!- thaneor1(~lenovo3@ has joined #tryton17:45
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton18:04
-!- lukio( has joined #tryton18:34
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton20:00
-!- jmpoure( has joined #tryton20:38
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton20:43
-!- lucascastro( has joined #tryton21:46

Generated by 2.17.3 by Marius Gedminas - find it at!