{"action":"created","issue":{"url":"https://api.github.com/repos/genodelabs/genode/issues/765","labels_url":"https://api.github.com/repos/genodelabs/genode/issues/765/labels{/name}","comments_url":"https://api.github.com/repos/genodelabs/genode/issues/765/comments","events_url":"https://api.github.com/repos/genodelabs/genode/issues/765/events","html_url":"https://github.com/genodelabs/genode/issues/765","id":15215607,"number":765,"title":"Extend run tool with a \"plugin\" concept","user":{"login":"skalk","id":1275433,"avatar_url":"https://avatars.githubusercontent.com/u/1275433?v=3","gravatar_id":"","url":"https://api.github.com/users/skalk","html_url":"https://github.com/skalk","followers_url":"https://api.github.com/users/skalk/followers","following_url":"https://api.github.com/users/skalk/following{/other_user}","gists_url":"https://api.github.com/users/skalk/gists{/gist_id}","starred_url":"https://api.github.com/users/skalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skalk/subscriptions","organizations_url":"https://api.github.com/users/skalk/orgs","repos_url":"https://api.github.com/users/skalk/repos","events_url":"https://api.github.com/users/skalk/events{/privacy}","received_events_url":"https://api.github.com/users/skalk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/genodelabs/genode/labels/feature","name":"feature","color":"1b7921"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-06-06T10:22:16Z","updated_at":"2015-08-31T06:17:17Z","closed_at":"2015-08-31T06:17:16Z","body":"In the recent past, there were a bunch of issues related to missing adaptions of run scripts. For example, when configuration of components have changed e.g.: #744, or when new components were added, but not added to all necessary run scripts e.g.: the sd_card drivers for OMAP4 and Exynos5.\r\nTo sum it up: it gets more and more complicated to maintain the growing number of run scripts, including a growing complexity of their configuration themselfs, e.g.: having either acpi, pci, or SoC platform driver, or choosing between usb driver, or nic etc.\r\n\r\nI suggest to extend the run tool by a mechanism to be able to define snippets, which can be used by generic, and potentially more complex run scripts. When discussing this idea with Norman, we came to the proposal, to have functions that return ready to use strings, e.g. in the following manner:\r\n```\r\n...\r\nappend build_components [build_net]\r\nbuild $build_components\r\n...\r\nappend config [config_net]\r\n...\r\n```\r\nThese snippets might be defined at a central place next to the run tool itself."},"comment":{"url":"https://api.github.com/repos/genodelabs/genode/issues/comments/136277778","html_url":"https://github.com/genodelabs/genode/issues/765#issuecomment-136277778","issue_url":"https://api.github.com/repos/genodelabs/genode/issues/765","id":136277778,"user":{"login":"skalk","id":1275433,"avatar_url":"https://avatars.githubusercontent.com/u/1275433?v=3","gravatar_id":"","url":"https://api.github.com/users/skalk","html_url":"https://github.com/skalk","followers_url":"https://api.github.com/users/skalk/followers","following_url":"https://api.github.com/users/skalk/following{/other_user}","gists_url":"https://api.github.com/users/skalk/gists{/gist_id}","starred_url":"https://api.github.com/users/skalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skalk/subscriptions","organizations_url":"https://api.github.com/users/skalk/orgs","repos_url":"https://api.github.com/users/skalk/repos","events_url":"https://api.github.com/users/skalk/events{/privacy}","received_events_url":"https://api.github.com/users/skalk/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T06:17:16Z","updated_at":"2015-08-31T06:17:16Z","body":"sure"}}