IRC logs of #tryton for Thursday, 2015-03-19

chat.freenode.net #tryton log beginning Thu Mar 19 00:00:05 CET 2015
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton00:08
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton00:40
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton02:03
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton02:56
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton03:18
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton03:33
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton03:41
-!- yangoon(~mathiasb@p549F0D01.dip0.t-ipconnect.de) has joined #tryton06:00
-!- frispete_(~frispete@p54A90DC2.dip0.t-ipconnect.de) has joined #tryton06:40
-!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton07:13
-!- umang(~umang@103.245.118.154) has joined #tryton07:26
-!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton08:05
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:20
-!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton08:30
-!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton08:43
-!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton08:47
-!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton08:50
-!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton08:52
-!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton08:58
-!- Timitos1(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton09:02
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:27
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:27
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton09:27
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:28
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:49
-!- michael-kohlhaas(~mk@unaffiliated/michael-kohlhaas) has joined #tryton10:00
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton10:19
-!- nicoe(~nicoe@91.179.12.119) has joined #tryton10:39
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton11:40
-!- mariomop(~quassel@200.117.235.100) has joined #tryton11:54
-!- smarro(~sebastian@190.105.93.196) has joined #tryton12:42
-!- juanfe(~juanfe@190.85.115.49) has joined #tryton13:07
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton13:26
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton13:31
-!- kstenger(~karla@200.124.209.158) has joined #tryton13:32
-!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton13:39
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton13:47
-!- digitalsatori(~Thunderbi@59-115-12-43.dynamic.hinet.net) has joined #tryton14:10
-!- pablovannini(~pablo@110-189-235-201.fibertel.com.ar) has joined #tryton14:18
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton14:22
sharoonthomasnicoe: are you still working on this patch or is it abandoned ? http://codereview.tryton.org/10811002/14:23
nicoesharoonthomas: it's on my TODO list14:24
sharoonthomasnicoe: thanks :)14:24
-!- digitalsatori(~Thunderbi@59-115-12-43.dynamic.hinet.net) has joined #tryton14:39
-!- duesenfranz(~jona@chello213047255061.tirol.surfer.at) has joined #tryton14:44
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton14:52
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton14:58
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton15:02
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton15:05
pokolisharoonthomas: I was reading https://github.com/openlabs/trytond-attachment-s3 do you think is worth to introduce some kind of api in core to avoid reimplementing all the code in get_data and set_data15:10
sharoonthomaspokoli: absolutely, that would be very useful15:10
sharoonthomaspokoli: I don't remember exactly, but I think cedk once talked about having something like storage backend and then asking the backend to save the file15:11
pokolisharoonthomas: do you have some links?15:14
sharoonthomaspokoli: let me search15:14
-!- gremly(~gremly@190.85.36.58) has joined #tryton15:15
sharoonthomaspokoli: can't find anything, but it was a long time ago when I discussed with him about using mongo DB gridfs to store files15:15
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton15:18
pokolisharoonthomas: i can not find anything on the mailing list related to gridfs, but i get the idea15:20
sharoonthomaspokoli: great. I think Tryton can provide a persitent storage backend API and by default implement FileSystem15:21
sharoonthomaspokoli: Other modules like attachment-s3 can implement the same API and the config file can determine the backend to use15:21
sharoonthomaspokoli: perhaps use entry points as a way to register the scheme for storage backend15:21
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton15:21
pokolisharoonthomas: makes sense, basically it will mimic the database backend structure15:23
sharoonthomaspokoli: yup15:23
pokoliwhat i'm wondering if we should write a blueprint for it15:23
sharoonthomaspokoli: =115:24
sharoonthomaspokoli: meant +115:24
-!- smarro(~sebastian@190.105.93.196) has joined #tryton15:25
pokoliACTION thinkt about how two-phse commit should affect storage backend implementation15:26
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton15:49
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton16:08
cedkpokoli: I don't agree, the API is the filesystem16:27
cedkwe just need to move outside the attachment the path generation16:27
cedkand as the storage is designed, you don't need to be transactional16:28
pokolicedk: why do you mean by the API is the filesystem?16:38
cedkpokoli: because the API to store file is since ages the filesystem16:38
pokolicedk: amazon-s3 or some other cloud systems are not in the filesystem16:38
cedkpokoli: shame on them if they did not provide a filesystem API16:40
pokolicedk: so you suggest to mount s3 as filesystem (i think it's doable) and always work on the local filesystem?16:41
cedkpokoli: don't know what you mean by local filesystem16:42
pokolicedk: mounting s3 on /var/lib/trytond so all the files are stored on s3 without modifying trytond16:43
cedkpokoli: why not16:48
pokolicedk: because we want to use docker containers for example16:50
cedkpokoli: you could have a docker image for filestorage16:54
cedkpokoli: but the discussion I had with sharoonthomas was about reuse the attachment code somewhere else16:54
pokolicedk: no need for an intermediate image if I can directly connect to s3 via their api16:56
cedkpokoli: http://stackoverflow.com/questions/18496940/how-to-deal-with-persistent-storage-e-g-databases-in-docker17:17
-!- yangoon(~mathiasb@p549F0FDD.dip0.t-ipconnect.de) has joined #tryton17:22
cedkhere is the previous discussion: http://www.tryton.org/~irclog/2011-03-25.log.html#t2011-03-25%2022:3817:31
cedk4 years later, I still did not change my mind :-)17:31
-!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton17:35
pokolicedk: but i don't need to have a container to act as proxy if the data is directly available17:37
cedkpokoli: you will be free because you will not rely on propritary software like amazon-s3 :-)17:38
pokolicedk: i will be free as s3 has free alternatives :)17:38
cedkpokoli: no you will not, I mean free as in freedom17:39
pokolicedk: yes, free as in freedom https://github.com/openstack/swift17:42
cedkpokoli: so you don't talk about amazon-s317:43
pokolicedk: it's the same for amazon-s3 than for openstack swift17:45
pokolicedk: it's an external API to storage files17:45
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton17:47
-!- plantian(~ian@174-134-217-28.res.bhn.net) has joined #tryton18:07
-!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton18:10
-!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has joined #tryton18:18
-!- sunny_dealmeida(~quassel@210.89.37.142) has joined #tryton18:19
-!- mathsniper(7a64ccf4@gateway/web/freenode/ip.122.100.204.244) has joined #tryton18:42
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton18:47
-!- sharoonthomas(~sharoonth@182.69.218.178) has joined #tryton18:49
mathsniperWhat things will be stored in transaction context of trytond?19:04
cedkmathsniper: few things normally19:07
cedkmathsniper: most of them are just for display like the language19:08
cedkmathsniper: but in general, you should always try to avoid using context19:09
mathsniperIn proteus TrytondConfig __init__, I try to understand why setting the transaction context['user'] and when will be used for the code, Transaction().set_user(self.user).19:14
-!- yangoon(~mathiasb@p549F113C.dip0.t-ipconnect.de) has joined #tryton19:16
-!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton19:22
-!- sunny_dealmeida(~quassel@210.89.32.57) has joined #tryton19:23
-!- MarkyC(~MarkyC@158.106.83.87) has joined #tryton19:37
MarkyCcan someone point me towards a building guide for Gnu health? It's based on tryton, so I figure I'd try here19:38
cedkMarkyC: what do you call "building guide"?19:42
udonoMarkyC: hi, maybe this helps: https://en.wikibooks.org/wiki/GNU_Health19:52
MarkyCcedk: udono: building from source (not installing)19:54
MarkyCI plan on using gnu health in another project19:54
cedkMarkyC: tryton is written in pure Python so there is no building steps19:54
MarkyCcedk: hmm, so I guess my question becomes: what is the entry point? I'd like to trace through the application so I may figure out how it works(sorry, Java dev here, my only python experience comes from simple scripts)19:56
MarkyCdo I look at setup.py?19:57
udonoMarkyC: so why not install it?19:57
cedkMarkyC: the entry point for what?19:59
MarkyCudono: I have it installed as a VM (the susestudio image), but (ideally), I'd like to breakpoint my way through the code with a debugger20:00
mathsniperbetter you can study from $BIN/trytond file20:02
MarkyCcedk: like (in c) int main(args) { /* app starts here */ }. I'd like to go through the app at a source level to see how each piece works (how the UI interacts with the model/db layer, etc)20:03
cedkMarkyC: it is bin/trytond20:04
MarkyCmathsniper: so run `gnuhealth_install.sh` and look at trytond?20:04
mathsniperI dunno gnuhealth but you can study $bin/trytond python file20:05
mathsniperdo remember to run it in python 2.720:07
-!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has joined #tryton20:09
-!- digitalsatori(~Thunderbi@59-115-12-43.dynamic.hinet.net) has joined #tryton20:23
-!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has left #tryton20:23
-!- meanmicio(~meanmicio@38.111.11.2) has joined #tryton20:32
-!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton20:32
-!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton21:00
-!- frispete(~frispete@p54A90DC2.dip0.t-ipconnect.de) has joined #tryton21:00
-!- digitalsatori(~Thunderbi@118-163-43-109.HINET-IP.hinet.net) has joined #tryton21:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:40
-!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton21:42
-!- gremly(~gremly@190.85.36.58) has joined #tryton21:48
-!- 7F1AAIXC8(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton21:52
-!- 7GHAA6BD7(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton21:52
-!- nineinchnick(~jwas@109.231.17.96) has joined #tryton21:55
-!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton22:03
-!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton22:10

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!