| chat.freenode.net #tryton log beginning Mon Oct 8 00:00:01 CEST 2018 | ||
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:40 | |
| -!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton | 02:17 | |
| -!- yangoon(~mathiasb@i59F5FFBC.versanet.de) has joined #tryton | 02:46 | |
| -!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 04:58 | |
| -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 05:28 | |
| -!- thaneor(~lenovo3@r179-25-55-134.dialup.adsl.anteldata.net.uy) has joined #tryton | 05:43 | |
| -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 06:56 | |
| -!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 07:00 | |
| -!- rpit(~rpit@p200300C88F2C730025CEEF795EAB85A0.dip0.t-ipconnect.de) has joined #tryton | 07:04 | |
| -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 07:16 | |
| -!- udono(~udono@2a00:6020:15fa:1e00:76e5:bff:fe6e:a706) has joined #tryton | 07:17 | |
| -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 07:17 | |
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:56 | |
| mrichez | hi, how to test a patch with tryton-env ? before i just did hg review --fetch -i xxxxxx | 08:24 |
|---|---|---|
| pokoli | mrichez: I download the patchset and apply it with: patch -p1 < file | 08:25 |
| mrichez | pokoli: ok thanks ! | 08:29 |
| pokoli | mrichez: jftr, if the patch applies to a single repoistory you can import it directly with: hg import --no-commit <patch_url> | 08:44 |
| mrichez | pokoli: ok. and hg review is now obsolete ? | 08:51 |
| pokoli | mrichez: IIRC hg review does not work with latest mercurial version | 09:01 |
| mrichez | pokoli: ok | 09:02 |
| pokoli | mrichez: so we use upload.py with this patch aapplied: https://github.com/rietveld-codereview/rietveld/pull/568 | 09:02 |
| -!- smorillo(bc559993@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.153.147) has joined #tryton | 09:03 | |
| pokoli | mrichez: See: https://discuss.tryton.org/t/using-subrepository/585/16 | 09:04 |
| pokoli | mrichez: upload.py can also be downloaded from https://codereview.tryton.org/use_uploadpy | 09:05 |
| mrichez | pokoli: oki thanks for all explanations | 09:07 |
| cedk | FYI, at the pycon.fr we discussed with marmoute from Octobus (hg developer) about our workflow and how we could improve it | 09:07 |
| -!- smorillo(9effefda@gateway/web/cgi-irc/kiwiirc.com/ip.158.255.239.218) has joined #tryton | 09:10 | |
| cedk | I will make a post on discuss when it is clear | 09:13 |
| mrichez | cedk: ok | 09:13 |
| cedk | but the big lines are to use a monorepo (using prefixed tag for module release) | 09:14 |
| cedk | use a draft repo with evolve/topics opened to any one with bug.tryton.org account | 09:14 |
| -!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 09:15 | |
| cedk | make review on hgweb (by injecting JS to be written) | 09:15 |
| cedk | and dev validate topics by pushing an non-draft repository | 09:15 |
| -!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 09:16 | |
| pokoli | cedk: so we will only use standard hg tools, except to the review on hgweb | 09:17 |
| cedk | pokoli: yes the idea is to focus on the real need and not on the tools | 09:18 |
| cedk | indeed we have already all the bricks except for commenting on patch | 09:20 |
| cedk | but we have already a tool to display patches: hgweb | 09:20 |
| cedk | it is not a new idea, I found this: http://blog.codekills.net/2009/09/21/review-anywhere---a-tool-for-reviewing-hypertext-documents/ | 09:20 |
| -!- smorillo(bc559993@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.153.147) has joined #tryton | 09:21 | |
| cedk | but the merge to a monorepo could be complicated, we may need to contract octobus to do that | 09:22 |
| cedk | and the testing should be rework to run only for what has changed | 09:25 |
| -!- smorillo(9effefda@gateway/web/cgi-irc/kiwiirc.com/ip.158.255.239.218) has joined #tryton | 09:31 | |
| -!- smorillo(bc559993@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.153.147) has joined #tryton | 09:43 | |
| -!- lukio(~lukio@190.191.95.243) has joined #tryton | 10:16 | |
| -!- nlopez73(bc559993@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.153.147) has joined #tryton | 10:31 | |
| -!- mariomop(~quassel@181.105.94.19) has joined #tryton | 10:59 | |
| -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 11:36 | |
| -!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 11:58 | |
| mrichez | What's the best way to ensure a field is unique ? adding an sql_constraint ? | 12:43 |
| cedk | mrichez: yes but NULL is always unique | 12:49 |
| mrichez | cedk: ok. I'm wondering where is stored the error_message linked to the constraint when using cls._sql_contraints ? | 12:53 |
| mrichez | cedk: doc.tryton.org is no more working ? | 12:53 |
| cedk | mrichez: check http://docs.tryton.org/projects/server/en/latest/ref/models/models.html?highlight=sql_constraints#trytond.model.ModelSQL._sql_constraints | 13:00 |
| -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 13:04 | |
| cedk | mrichez: for doc.tryton.org, you may have DNS propagation delay | 13:05 |
| cedk | it may takes up to 7 days since last Friday | 13:06 |
| mrichez | cedk: ok, thanks. One more question, modelstorage.validate could also be used to check unique ? (even if sql_constraint is better) | 13:08 |
| cedk | mrichez: no it can not because of the concurrency and transactional behavior of Tryton | 13:16 |
| mrichez | cedk: ok | 13:18 |
| -!- lukio(~lukio@190.191.219.148) has joined #tryton | 13:45 | |
| -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 14:08 | |
| -!- lukio(~lukio@190.191.219.148) has joined #tryton | 14:15 | |
| -!- rpit(~rpit@p200300C88F2C7300C0FB24A9170DA84C.dip0.t-ipconnect.de) has joined #tryton | 14:36 | |
| -!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 15:52 | |
| -!- cryptic(~cryptic@142.196.170.87) has joined #tryton | 16:10 | |
| -!- lucascastro(~lucascast@200.141.207.18) has joined #tryton | 16:51 | |
| -!- mariomop(~quassel@host238.190-137-186.telecom.net.ar) has joined #tryton | 17:00 | |
| -!- lucascastro(~lucascast@189.90.38.210.jupiter.com.br) has joined #tryton | 17:28 | |
| -!- thaneor1(~lenovo3@179.26.153.232) has joined #tryton | 17:45 | |
| -!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 18:04 | |
| -!- lukio(~lukio@host160.190-138-184.telecom.net.ar) has joined #tryton | 18:34 | |
| -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 20:00 | |
| -!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 20:38 | |
| -!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton | 20:43 | |
| -!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton | 21:46 | |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!