IRC logs of #tryton for Monday, 2018-10-08

chat.freenode.net #tryton log beginning Mon Oct 8 00:00:01 CEST 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:10
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton04:10
-!- yangoon(~mathiasb@i59F5FFBC.versanet.de) has joined #tryton04:10
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton06:10
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:10
-!- thaneor(~lenovo3@r179-25-55-134.dialup.adsl.anteldata.net.uy) has joined #tryton07:10
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:10
-!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton09:10
-!- rpit(~rpit@p200300C88F2C730025CEEF795EAB85A0.dip0.t-ipconnect.de) has joined #tryton09:10
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton09:10
-!- udono(~udono@2a00:6020:15fa:1e00:76e5:bff:fe6e:a706) has joined #tryton09:10
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) 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 upload.py with this patch aapplied: https://github.com/rietveld-codereview/rietveld/pull/56811:10
-!- smorillo(bc559993@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.153.147) has joined #tryton11:10
pokolimrichez: See: https://discuss.tryton.org/t/using-subrepository/585/1611:10
pokolimrichez: upload.py can also be downloaded from https://codereview.tryton.org/use_uploadpy11:10
mrichezpokoli: oki thanks for all explanations11:10
cedkFYI, at the pycon.fr we discussed with marmoute from Octobus (hg developer) about our workflow and how we could improve it11:10
-!- smorillo(9effefda@gateway/web/cgi-irc/kiwiirc.com/ip.158.255.239.218) 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 bug.tryton.org account11:10
-!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) 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(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) 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: http://blog.codekills.net/2009/09/21/review-anywhere---a-tool-for-reviewing-hypertext-documents/11:10
-!- smorillo(bc559993@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.153.147) 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/kiwiirc.com/ip.158.255.239.218) has joined #tryton11:10
-!- smorillo(bc559993@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.153.147) has joined #tryton11:10
-!- lukio(~lukio@190.191.95.243) has joined #tryton12:10
-!- nlopez73(bc559993@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.153.147) has joined #tryton12:10
-!- mariomop(~quassel@181.105.94.19) has joined #tryton12:10
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton13:10
-!- tafelgeschirr(~tafelgesc@5.104.149.54) 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: doc.tryton.org is no more working ?14:10
cedkmrichez: check http://docs.tryton.org/projects/server/en/latest/ref/models/models.html?highlight=sql_constraints#trytond.model.ModelSQL._sql_constraints15:10
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton15:10
cedkmrichez: for doc.tryton.org, 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@190.191.219.148) has joined #tryton15:10
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton16:10
-!- lukio(~lukio@190.191.219.148) has joined #tryton16:10
-!- rpit(~rpit@p200300C88F2C7300C0FB24A9170DA84C.dip0.t-ipconnect.de) has joined #tryton16:10
-!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton17:10
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton18:10
-!- lucascastro(~lucascast@200.141.207.18) has joined #tryton18:10
-!- mariomop(~quassel@host238.190-137-186.telecom.net.ar) has joined #tryton19:10
-!- lucascastro(~lucascast@189.90.38.210.jupiter.com.br) has joined #tryton19:10
-!- thaneor1(~lenovo3@179.26.153.232) has joined #tryton19:10
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton20:10
-!- lukio(~lukio@host160.190-138-184.telecom.net.ar) has joined #tryton20:10
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:10
-!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton22:10
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton22:10
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton23:10

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