{"action":"created","issue":{"url":"https://api.github.com/repos/jezdez/envdir/issues/27","repository_url":"https://api.github.com/repos/jezdez/envdir","labels_url":"https://api.github.com/repos/jezdez/envdir/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/jezdez/envdir/issues/27/comments","events_url":"https://api.github.com/repos/jezdez/envdir/issues/27/events","html_url":"https://github.com/jezdez/envdir/issues/27","id":30639392,"number":27,"title":"Allow envdir to expand existing shell values","user":{"login":"jdunck","id":10229,"avatar_url":"https://avatars.githubusercontent.com/u/10229?v=3","gravatar_id":"","url":"https://api.github.com/users/jdunck","html_url":"https://github.com/jdunck","followers_url":"https://api.github.com/users/jdunck/followers","following_url":"https://api.github.com/users/jdunck/following{/other_user}","gists_url":"https://api.github.com/users/jdunck/gists{/gist_id}","starred_url":"https://api.github.com/users/jdunck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdunck/subscriptions","organizations_url":"https://api.github.com/users/jdunck/orgs","repos_url":"https://api.github.com/users/jdunck/repos","events_url":"https://api.github.com/users/jdunck/events{/privacy}","received_events_url":"https://api.github.com/users/jdunck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jezdez/envdir/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2014-04-01T21:26:39Z","updated_at":"2016-10-27T12:37:08Z","closed_at":null,"body":"In bash, you can do things like: export PATH=$PATH:/some/new/path\n\nIt would be nice if envdir supported similar expansion.\n\nThe original envdir.c doesn't support this, so you may be reluctant.  However, in trying to do 12-factor apps, I've found it useful to have, for example, resource prefixes so that you can have jenkins builds like so:\n\nDATABASE_URL=postgresql://localhost/db_$JOB_NAME\n\nThoughts?\n"},"comment":{"url":"https://api.github.com/repos/jezdez/envdir/issues/comments/256628899","html_url":"https://github.com/jezdez/envdir/issues/27#issuecomment-256628899","issue_url":"https://api.github.com/repos/jezdez/envdir/issues/27","id":256628899,"user":{"login":"piotr-dobrogost","id":92239,"avatar_url":"https://avatars.githubusercontent.com/u/92239?v=3","gravatar_id":"","url":"https://api.github.com/users/piotr-dobrogost","html_url":"https://github.com/piotr-dobrogost","followers_url":"https://api.github.com/users/piotr-dobrogost/followers","following_url":"https://api.github.com/users/piotr-dobrogost/following{/other_user}","gists_url":"https://api.github.com/users/piotr-dobrogost/gists{/gist_id}","starred_url":"https://api.github.com/users/piotr-dobrogost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotr-dobrogost/subscriptions","organizations_url":"https://api.github.com/users/piotr-dobrogost/orgs","repos_url":"https://api.github.com/users/piotr-dobrogost/repos","events_url":"https://api.github.com/users/piotr-dobrogost/events{/privacy}","received_events_url":"https://api.github.com/users/piotr-dobrogost/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T12:37:08Z","updated_at":"2016-10-27T12:37:08Z","body":"> The original envdir.c doesn't support this, so you may be reluctant.\r\n\r\nBut you should not be as this would be a very nice feature to have :)\r\n\r\nBtw, another problem with using environment variables in the context of envdir is explained at http://thedjbway.b0llix.net/daemontools/envdir.html and starts with \r\n\r\n> At the risk of redundancy, we would like to note one of the potential \"gotchas\" in using envdir with run scripts."}}
{"actor":{"display_login":"piotr-dobrogost"}}