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 #tryton00:10
-!- lucascastro( has joined #tryton04:10
-!- yangoon( has joined #tryton04:10
-!- tafelgeschirr(~tafelgesc@ has joined #tryton06:10
-!- Timitos( has joined #tryton07:10
-!- thaneor( has joined #tryton07:10
-!- mrichez( has joined #tryton08:10
-!- jmpoure( has joined #tryton09:10
-!- rpit( has joined #tryton09:10
-!- nicoe( has joined #tryton09:10
-!- udono(~udono@2a00:6020:15fa:1e00:76e5:bff:fe6e:a706) has joined #tryton09:10
-!- nicoe( has joined #tryton09:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:10
mrichezhi, how to test a patch with tryton-env ? before i just did hg review --fetch -i xxxxxx10:10
pokolimrichez: I download the patchset and apply it with: patch -p1 < file10:10
mrichezpokoli: ok thanks !10:10
pokolimrichez: jftr, if the patch applies to a single repoistory you can import it directly with: hg import --no-commit <patch_url>10:10
mrichezpokoli: ok. and hg review is now obsolete ?10:10
pokolimrichez: IIRC hg review does not work with latest mercurial version11:10
mrichezpokoli: ok11:10
pokolimrichez: so we use with this patch aapplied:
-!- smorillo(bc559993@gateway/web/cgi-irc/ has joined #tryton11:10
pokolimrichez: See:
pokolimrichez: can also be downloaded from
mrichezpokoli: oki thanks for all explanations11:10
cedkFYI, at the we discussed with marmoute from Octobus (hg developer) about our workflow and how we could improve it11:10
-!- smorillo(9effefda@gateway/web/cgi-irc/ has joined #tryton11:10
cedkI will make a post on discuss when it is clear11:10
mrichezcedk: ok11:10
cedkbut the big lines are to use a monorepo (using prefixed tag for module release)11:10
cedkuse a draft repo with evolve/topics opened to any one with account11:10
-!- jmpoure( has joined #tryton11:10
cedkmake review on hgweb (by injecting JS to be written)11:10
cedkand dev validate topics by pushing an non-draft repository11:10
-!- jmpoure( has joined #tryton11:10
pokolicedk: so we will only use standard hg tools, except to the review on hgweb11:10
cedkpokoli: yes the idea is to focus on the real need and not on the tools11:10
cedkindeed we have already all the bricks except for commenting on patch11:10
cedkbut we have already a tool to display patches: hgweb11:10
cedkit is not a new idea, I found this:
-!- smorillo(bc559993@gateway/web/cgi-irc/ has joined #tryton11:10
cedkbut the merge to a monorepo could be complicated, we may need to contract octobus to do that11:10
cedkand the testing should be rework to run only for what has changed11:10
-!- smorillo(9effefda@gateway/web/cgi-irc/ has joined #tryton11:10
-!- smorillo(bc559993@gateway/web/cgi-irc/ has joined #tryton11:10
-!- lukio(~lukio@ has joined #tryton12:10
-!- nlopez73(bc559993@gateway/web/cgi-irc/ has joined #tryton12:10
-!- mariomop(~quassel@ has joined #tryton12:10
-!- nicoe( has joined #tryton13:10
-!- tafelgeschirr(~tafelgesc@ has joined #tryton13:10
mrichezWhat's the best way to ensure a field is unique ? adding an sql_constraint ?14:10
cedkmrichez: yes but NULL is always unique14:10
mrichezcedk: ok. I'm wondering where is stored the error_message linked to the constraint when using cls._sql_contraints ?14:10
mrichezcedk: is no more working ?14:10
cedkmrichez: check
-!- nicoe( has joined #tryton15:10
cedkmrichez: for, you may have DNS propagation delay15:10
cedkit may takes up to 7 days since last Friday15:10
mrichezcedk: ok, thanks. One more question, modelstorage.validate could also be used to check unique ? (even if sql_constraint is better)15:10
cedkmrichez: no it can not because of the concurrency and transactional behavior of Tryton15:10
mrichezcedk: ok15:10
-!- lukio(~lukio@ has joined #tryton15:10
-!- mrichez( has joined #tryton16:10
-!- lukio(~lukio@ has joined #tryton16:10
-!- rpit( has joined #tryton16:10
-!- jmpoure( has joined #tryton17:10
-!- cryptic(~cryptic@ has joined #tryton18:10
-!- lucascastro(~lucascast@ has joined #tryton18:10
-!- mariomop( has joined #tryton19:10
-!- lucascastro( has joined #tryton19:10
-!- thaneor1(~lenovo3@ has joined #tryton19:10
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton20:10
-!- lukio( has joined #tryton20:10
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:10
-!- jmpoure( has joined #tryton22:10
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton22:10
-!- lucascastro( has joined #tryton23:10

Generated by 2.16.0 by Marius Gedminas - find it at!