{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/2712","repository_url":"https://api.github.com/repos/galaxyproject/galaxy","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/2712/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/2712/comments","events_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/2712/events","html_url":"https://github.com/galaxyproject/galaxy/issues/2712","id":169158823,"number":2712,"title":"Code Files / Retrieving a Dynamic List of Options","user":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/area/tool-framework","name":"area/tool-framework","color":"006b75"},{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/area/tools","name":"area/tools","color":"006b75"},{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/area/UI-UX","name":"area/UI-UX","color":"006b75"},{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/feature-request","name":"feature-request","color":"fef2c0"},{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/friendliness/intermediate","name":"friendliness/intermediate","color":"009800"},{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/status/planning","name":"status/planning","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-08-03T15:20:11Z","updated_at":"2016-08-04T08:33:18Z","closed_at":null,"body":"> I can't remember where I came across this but I read somewhere that the <code file tag is deprecated and I was just wondering if anyone knew what it was being replaced with? I use it to get a list of items from a remote service to display in a select list for two of my tools.\r\n\r\nI have a similar issue to that with Katherine raised on the mailing list. We discussed `code` files briefly at the IUC meeting at GCC and a number of devs admonished quite strongly that we should not use them, instead we should provide examples which we can use to build that functionality.\r\n\r\nWe have dynamic, remote services which can offer up lists of options that would go in a select.\r\n\r\nA concrete use case is my apollo tooling:\r\n\r\n- Alice wishes to retrieve a genome from her local Apollo server\r\n- (Assume Galaxy knows credentials for her)\r\n- In order to fetch a genome, currently, she must manually specify the ID after going to apollo and looking it up.\r\n- It would be preferable to run some arbitrary code and fetch a list of genomes she has access to, so that she cannot choose an incorrect one and have it fail."},"comment":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/comments/237488584","html_url":"https://github.com/galaxyproject/galaxy/issues/2712#issuecomment-237488584","issue_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/2712","id":237488584,"user":{"login":"peterjc","id":63959,"avatar_url":"https://avatars.githubusercontent.com/u/63959?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjc","html_url":"https://github.com/peterjc","followers_url":"https://api.github.com/users/peterjc/followers","following_url":"https://api.github.com/users/peterjc/following{/other_user}","gists_url":"https://api.github.com/users/peterjc/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjc/subscriptions","organizations_url":"https://api.github.com/users/peterjc/orgs","repos_url":"https://api.github.com/users/peterjc/repos","events_url":"https://api.github.com/users/peterjc/events{/privacy}","received_events_url":"https://api.github.com/users/peterjc/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T08:33:18Z","updated_at":"2016-08-04T08:33:18Z","body":"Thanks @erasche for filling the tracking issue #2714 for ``<code>`` use cases, and #2713 for my dual-parameter validation example."}}
{"actor":{"display_login":"peterjc"}}