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

chat.freenode.net #tryton log beginning Thu Mar 19 00:00:05 CET 2015
2015-03-19 00:08 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 00:40 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-03-19 02:03 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 02:56 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 03:18 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 03:33 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 03:41 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 06:00 -!- yangoon(~mathiasb@p549F0D01.dip0.t-ipconnect.de) has joined #tryton
2015-03-19 06:40 -!- frispete_(~frispete@p54A90DC2.dip0.t-ipconnect.de) has joined #tryton
2015-03-19 07:13 -!- jcros(~Thunderbi@169.223.125.78.rev.sfr.net) has joined #tryton
2015-03-19 07:26 -!- umang(~umang@103.245.118.154) has joined #tryton
2015-03-19 08:05 -!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-03-19 08:20 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-03-19 08:30 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton
2015-03-19 08:43 -!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-03-19 08:47 -!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-03-19 08:50 -!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-03-19 08:52 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton
2015-03-19 08:58 -!- nicoe(~nicoe@2a02:a03f:3065:f00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-03-19 09:02 -!- Timitos1(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-03-19 09:27 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-03-19 09:27 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-03-19 09:27 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-03-19 09:28 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-03-19 09:49 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-03-19 10:00 -!- michael-kohlhaas(~mk@unaffiliated/michael-kohlhaas) has joined #tryton
2015-03-19 10:19 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2015-03-19 10:39 -!- nicoe(~nicoe@91.179.12.119) has joined #tryton
2015-03-19 11:40 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 11:54 -!- mariomop(~quassel@200.117.235.100) has joined #tryton
2015-03-19 12:42 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2015-03-19 13:07 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton
2015-03-19 13:26 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 13:31 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 13:32 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2015-03-19 13:39 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton
2015-03-19 13:47 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 14:10 -!- digitalsatori(~Thunderbi@59-115-12-43.dynamic.hinet.net) has joined #tryton
2015-03-19 14:18 -!- pablovannini(~pablo@110-189-235-201.fibertel.com.ar) has joined #tryton
2015-03-19 14:22 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton
2015-03-19 14:23 <sharoonthomas> nicoe: are you still working on this patch or is it abandoned ? http://codereview.tryton.org/10811002/
2015-03-19 14:24 <nicoe> sharoonthomas: it's on my TODO list
2015-03-19 14:24 <sharoonthomas> nicoe: thanks :)
2015-03-19 14:39 -!- digitalsatori(~Thunderbi@59-115-12-43.dynamic.hinet.net) has joined #tryton
2015-03-19 14:44 -!- duesenfranz(~jona@chello213047255061.tirol.surfer.at) has joined #tryton
2015-03-19 14:52 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 14:58 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 15:02 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton
2015-03-19 15:05 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 15:10 <pokoli> sharoonthomas: 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_data
2015-03-19 15:10 <sharoonthomas> pokoli: absolutely, that would be very useful
2015-03-19 15:11 <sharoonthomas> pokoli: 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 file
2015-03-19 15:14 <pokoli> sharoonthomas: do you have some links?
2015-03-19 15:14 <sharoonthomas> pokoli: let me search
2015-03-19 15:15 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2015-03-19 15:15 <sharoonthomas> pokoli: can't find anything, but it was a long time ago when I discussed with him about using mongo DB gridfs to store files
2015-03-19 15:18 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 15:20 <pokoli> sharoonthomas: i can not find anything on the mailing list related to gridfs, but i get the idea
2015-03-19 15:21 <sharoonthomas> pokoli: great. I think Tryton can provide a persitent storage backend API and by default implement FileSystem
2015-03-19 15:21 <sharoonthomas> pokoli: Other modules like attachment-s3 can implement the same API and the config file can determine the backend to use
2015-03-19 15:21 <sharoonthomas> pokoli: perhaps use entry points as a way to register the scheme for storage backend
2015-03-19 15:21 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 15:23 <pokoli> sharoonthomas: makes sense, basically it will mimic the database backend structure
2015-03-19 15:23 <sharoonthomas> pokoli: yup
2015-03-19 15:23 <pokoli> what i'm wondering if we should write a blueprint for it
2015-03-19 15:24 <sharoonthomas> pokoli: =1
2015-03-19 15:24 <sharoonthomas> pokoli: meant +1
2015-03-19 15:25 -!- smarro(~sebastian@190.105.93.196) has joined #tryton
2015-03-19 15:26 <pokoli> ACTION thinkt about how two-phse commit should affect storage backend implementation
2015-03-19 15:49 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-03-19 16:08 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-03-19 16:27 <cedk> pokoli: I don't agree, the API is the filesystem
2015-03-19 16:27 <cedk> we just need to move outside the attachment the path generation
2015-03-19 16:28 <cedk> and as the storage is designed, you don't need to be transactional
2015-03-19 16:38 <pokoli> cedk: why do you mean by the API is the filesystem?
2015-03-19 16:38 <cedk> pokoli: because the API to store file is since ages the filesystem
2015-03-19 16:38 <pokoli> cedk: amazon-s3 or some other cloud systems are not in the filesystem
2015-03-19 16:40 <cedk> pokoli: shame on them if they did not provide a filesystem API
2015-03-19 16:41 <pokoli> cedk: so you suggest to mount s3 as filesystem (i think it's doable) and always work on the local filesystem?
2015-03-19 16:42 <cedk> pokoli: don't know what you mean by local filesystem
2015-03-19 16:43 <pokoli> cedk: mounting s3 on /var/lib/trytond so all the files are stored on s3 without modifying trytond
2015-03-19 16:48 <cedk> pokoli: why not
2015-03-19 16:50 <pokoli> cedk: because we want to use docker containers for example
2015-03-19 16:54 <cedk> pokoli: you could have a docker image for filestorage
2015-03-19 16:54 <cedk> pokoli: but the discussion I had with sharoonthomas was about reuse the attachment code somewhere else
2015-03-19 16:56 <pokoli> cedk: no need for an intermediate image if I can directly connect to s3 via their api
2015-03-19 17:17 <cedk> pokoli: http://stackoverflow.com/questions/18496940/how-to-deal-with-persistent-storage-e-g-databases-in-docker
2015-03-19 17:22 -!- yangoon(~mathiasb@p549F0FDD.dip0.t-ipconnect.de) has joined #tryton
2015-03-19 17:31 <cedk> here is the previous discussion: http://www.tryton.org/~irclog/2011-03-25.log.html#t2011-03-25%2022:38
2015-03-19 17:31 <cedk> 4 years later, I still did not change my mind :-)
2015-03-19 17:35 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton
2015-03-19 17:37 <pokoli> cedk: but i don't need to have a container to act as proxy if the data is directly available
2015-03-19 17:38 <cedk> pokoli: you will be free because you will not rely on propritary software like amazon-s3 :-)
2015-03-19 17:38 <pokoli> cedk: i will be free as s3 has free alternatives :)
2015-03-19 17:39 <cedk> pokoli: no you will not, I mean free as in freedom
2015-03-19 17:42 <pokoli> cedk: yes, free as in freedom https://github.com/openstack/swift
2015-03-19 17:43 <cedk> pokoli: so you don't talk about amazon-s3
2015-03-19 17:45 <pokoli> cedk: it's the same for amazon-s3 than for openstack swift
2015-03-19 17:45 <pokoli> cedk: it's an external API to storage files
2015-03-19 17:47 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton
2015-03-19 18:07 -!- plantian(~ian@174-134-217-28.res.bhn.net) has joined #tryton
2015-03-19 18:10 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton
2015-03-19 18:18 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has joined #tryton
2015-03-19 18:19 -!- sunny_dealmeida(~quassel@210.89.37.142) has joined #tryton
2015-03-19 18:42 -!- mathsniper(7a64ccf4@gateway/web/freenode/ip.122.100.204.244) has joined #tryton
2015-03-19 18:47 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 18:49 -!- sharoonthomas(~sharoonth@182.69.218.178) has joined #tryton
2015-03-19 19:04 <mathsniper> What things will be stored in transaction context of trytond?
2015-03-19 19:07 <cedk> mathsniper: few things normally
2015-03-19 19:08 <cedk> mathsniper: most of them are just for display like the language
2015-03-19 19:09 <cedk> mathsniper: but in general, you should always try to avoid using context
2015-03-19 19:14 <mathsniper> In 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).
2015-03-19 19:16 -!- yangoon(~mathiasb@p549F113C.dip0.t-ipconnect.de) has joined #tryton
2015-03-19 19:22 -!- jcnorman(~jcnorman@75-136-135-200.dhcp.gnvl.sc.charter.com) has joined #tryton
2015-03-19 19:23 -!- sunny_dealmeida(~quassel@210.89.32.57) has joined #tryton
2015-03-19 19:37 -!- MarkyC(~MarkyC@158.106.83.87) has joined #tryton
2015-03-19 19:38 <MarkyC> can someone point me towards a building guide for Gnu health? It's based on tryton, so I figure I'd try here
2015-03-19 19:42 <cedk> MarkyC: what do you call "building guide"?
2015-03-19 19:52 <udono> MarkyC: hi, maybe this helps: https://en.wikibooks.org/wiki/GNU_Health
2015-03-19 19:54 <MarkyC> cedk: udono: building from source (not installing)
2015-03-19 19:54 <MarkyC> I plan on using gnu health in another project
2015-03-19 19:54 <cedk> MarkyC: tryton is written in pure Python so there is no building steps
2015-03-19 19:56 <MarkyC> cedk: 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)
2015-03-19 19:57 <MarkyC> do I look at setup.py?
2015-03-19 19:57 <udono> MarkyC: so why not install it?
2015-03-19 19:59 <cedk> MarkyC: the entry point for what?
2015-03-19 20:00 <MarkyC> udono: I have it installed as a VM (the susestudio image), but (ideally), I'd like to breakpoint my way through the code with a debugger
2015-03-19 20:02 <mathsniper> better you can study from $BIN/trytond file
2015-03-19 20:03 <MarkyC> cedk: 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)
2015-03-19 20:04 <cedk> MarkyC: it is bin/trytond
2015-03-19 20:04 <MarkyC> mathsniper: so run `gnuhealth_install.sh` and look at trytond?
2015-03-19 20:05 <mathsniper> I dunno gnuhealth but you can study $bin/trytond python file
2015-03-19 20:07 <mathsniper> do remember to run it in python 2.7
2015-03-19 20:09 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has joined #tryton
2015-03-19 20:23 -!- digitalsatori(~Thunderbi@59-115-12-43.dynamic.hinet.net) has joined #tryton
2015-03-19 20:23 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has left #tryton
2015-03-19 20:32 -!- meanmicio(~meanmicio@38.111.11.2) has joined #tryton
2015-03-19 20:32 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2015-03-19 21:00 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton
2015-03-19 21:00 -!- frispete(~frispete@p54A90DC2.dip0.t-ipconnect.de) has joined #tryton
2015-03-19 21:17 -!- digitalsatori(~Thunderbi@118-163-43-109.HINET-IP.hinet.net) has joined #tryton
2015-03-19 21:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-03-19 21:42 -!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton
2015-03-19 21:48 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2015-03-19 21:52 -!- 7F1AAIXC8(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton
2015-03-19 21:52 -!- 7GHAA6BD7(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton
2015-03-19 21:55 -!- nineinchnick(~jwas@109.231.17.96) has joined #tryton
2015-03-19 22:03 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton
2015-03-19 22:10 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton

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