You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Mark Chu-Carroll (JIRA)" <ji...@apache.org> on 2014/06/30 19:31:25 UTC

[jira] [Commented] (AURORA-558) aurora client should look for include()'ed files based on known search path

    [ https://issues.apache.org/jira/browse/AURORA-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047880#comment-14047880 ] 

Mark Chu-Carroll commented on AURORA-558:
-----------------------------------------

The files are loaded by the Python interpreter - so you modify python's search path using the usual mechanisms.  (See the modules documentation for Python, https://docs.python.org/2/tutorial/modules.html, for details.)



> aurora client should look for include()'ed files based on known search path
> ---------------------------------------------------------------------------
>
>                 Key: AURORA-558
>                 URL: https://issues.apache.org/jira/browse/AURORA-558
>             Project: Aurora
>          Issue Type: Story
>          Components: Client
>            Reporter: Jay Buffington
>
> We've written a standard library of sorts to be shared across our organization.  It includes processes for doing things like downloading the app in a standard way, notifying a service discovery service, etc. and pystachio structs for things like modeling variables for our custom web framework.
> After a cursory glance at the code, it looks like these .aurora files have to be included as either an absolute path or a path relative to where the aurora command was run.
> When the path is relative I'd like the aurora client to first search a set of paths defined by an environment var like $AURORA_INC_PATH, then ./ and then a default set of directories that is built into the client like /etc/aurora/include/



--
This message was sent by Atlassian JIRA
(v6.2#6252)