Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-09 Thread John Chilton
Lets wait until this potential problem materializes before we address it with a sourcing attribute. Dependencies should be appending or prepending to common paths or otherwise they should be setting up environment variables that are just required for that individual package or tool, so there should

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-07 Thread Björn Grüning
> The potential problem I see here is that environment variables are not > name spaced in any way, so if all env.sh files are sourced no matter > what, there is the potential for a certain environment variable to get > set to a certain dependency version, and then later during the > installation

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-07 Thread Greg Von Kuster
Please see my inline comments. Thanks! Greg Von Kuster On Nov 7, 2013, at 1:33 PM, John Chilton wrote: > On Thu, Nov 7, 2013 at 1:46 AM, Björn Grüning > wrote: >> Am Donnerstag, den 07.11.2013, 00:25 -0600 schrieb John Chilton: >> >> My two cents below. >> >> On Wed, Nov 6, 2013 at 4:20 P

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-07 Thread John Chilton
On Thu, Nov 7, 2013 at 1:46 AM, Björn Grüning wrote: > Am Donnerstag, den 07.11.2013, 00:25 -0600 schrieb John Chilton: > > My two cents below. > > On Wed, Nov 6, 2013 at 4:20 PM, Björn Grüning > wrote: >> Hi Dave, >> >>> We're thinking that the following approach makes the most sense: >>> >>> O

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-06 Thread Björn Grüning
Am Donnerstag, den 07.11.2013, 00:25 -0600 schrieb John Chilton: > My two cents below. > > On Wed, Nov 6, 2013 at 4:20 PM, Björn Grüning > wrote: > > Hi Dave, > > > >> We're thinking that the following approach makes the most sense: > >> > >> OR >> type="setup_r_environment"> OR OR > >> > >>

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-06 Thread John Chilton
My two cents below. On Wed, Nov 6, 2013 at 4:20 PM, Björn Grüning wrote: > Hi Dave, > >> We're thinking that the following approach makes the most sense: >> >> OR > type="setup_r_environment"> OR OR >> >> > name="package_perl_5_18" owner="iuc" >> toolshed="http://testtoolshed.g2.bx.psu.ed

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-06 Thread Björn Grüning
Hi Dave, > We're thinking that the following approach makes the most sense: > > OR type="setup_r_environment"> OR OR > > name="package_perl_5_18" owner="iuc" > toolshed="http://testtoolshed.g2.bx.psu.edu";> > > > name="package_expat_2_1" owner="iuc" > toolshed="

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-06 Thread Dave Bouvier
Björn, We're thinking that the following approach makes the most sense: OR type="setup_r_environment"> OR OR name="package_perl_5_18" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu";> name="package_expat_2_1" owner="iuc" toolshed="http://testtoolshed.g2.bx.p

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-06 Thread Björn Grüning
Hi John, > Perl complicates things, TPP complicates things greatly. So true, so true ... > Bjoern, can I ask you if this hypothetical exhibits the same problem > and can be used to reason about these things more easily and drive a > test implementation. Yes to both questions :) > So right now,

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-05 Thread John Chilton
Perl complicates things, TPP complicates things greatly. Bjoern, can I ask you if this hypothetical exhibits the same problem and can be used to reason about these things more easily and drive a test implementation. So right now, Galaxy has setup_virtualenv which will build and install Python pac

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-05 Thread Greg Von Kuster
Thanks Björn, We'll have to digest this a bit and we'll get back to you. Greg Von Kuster On Nov 5, 2013, at 4:35 PM, Björn Grüning wrote: > Hi Greg, > >> Hello Bjoern, >> >> >> On Nov 5, 2013, at 12:13 PM, Bjoern Gruening >> wrote: >> >> > Hi Greg, >> > >> > I'm right now in implementi

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-05 Thread Björn Grüning
Hi Greg, > Hello Bjoern, > > > On Nov 5, 2013, at 12:13 PM, Bjoern Gruening > wrote: > > > Hi Greg, > > > > I'm right now in implementing a setup_perl_environment and stumbled about a > > tricky problem (that is not only related to perl but also for ruby, python > > and R). > > > > The P

Re: [galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-05 Thread Greg Von Kuster
Hello Bjoern, On Nov 5, 2013, at 12:13 PM, Bjoern Gruening wrote: > Hi Greg, > > I'm right now in implementing a setup_perl_environment and stumbled about a > tricky problem (that is not only related to perl but also for ruby, python > and R). > > The Problem: > Lets assume a perl package (

[galaxy-dev] set_environment_for_install problem, seeking for ideas

2013-11-05 Thread Bjoern Gruening
Hi Greg, I'm right now in implementing a setup_perl_environment and stumbled about a tricky problem (that is not only related to perl but also for ruby, python and R). The Problem: Lets assume a perl package (A) requires a xml parser written in C/C++ (Z). (Z) is a dependency that I can import but