{"action":"opened","issue":{"url":"https://api.github.com/repos/GeertJohan/go.rice/issues/47","labels_url":"https://api.github.com/repos/GeertJohan/go.rice/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/GeertJohan/go.rice/issues/47/comments","events_url":"https://api.github.com/repos/GeertJohan/go.rice/issues/47/events","html_url":"https://github.com/GeertJohan/go.rice/issues/47","id":56385507,"number":47,"title":"rice 2.0: move away from source parsing and use a Ricefile?","user":{"login":"GeertJohan","id":564501,"avatar_url":"https://avatars.githubusercontent.com/u/564501?v=3","gravatar_id":"","url":"https://api.github.com/users/GeertJohan","html_url":"https://github.com/GeertJohan","followers_url":"https://api.github.com/users/GeertJohan/followers","following_url":"https://api.github.com/users/GeertJohan/following{/other_user}","gists_url":"https://api.github.com/users/GeertJohan/gists{/gist_id}","starred_url":"https://api.github.com/users/GeertJohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeertJohan/subscriptions","organizations_url":"https://api.github.com/users/GeertJohan/orgs","repos_url":"https://api.github.com/users/GeertJohan/repos","events_url":"https://api.github.com/users/GeertJohan/events{/privacy}","received_events_url":"https://api.github.com/users/GeertJohan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/GeertJohan/go.rice/milestones/1","labels_url":"https://api.github.com/repos/GeertJohan/go.rice/milestones/1/labels","id":963593,"number":1,"title":"2.0","description":null,"creator":{"login":"GeertJohan","id":564501,"avatar_url":"https://avatars.githubusercontent.com/u/564501?v=3","gravatar_id":"","url":"https://api.github.com/users/GeertJohan","html_url":"https://github.com/GeertJohan","followers_url":"https://api.github.com/users/GeertJohan/followers","following_url":"https://api.github.com/users/GeertJohan/following{/other_user}","gists_url":"https://api.github.com/users/GeertJohan/gists{/gist_id}","starred_url":"https://api.github.com/users/GeertJohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeertJohan/subscriptions","organizations_url":"https://api.github.com/users/GeertJohan/orgs","repos_url":"https://api.github.com/users/GeertJohan/repos","events_url":"https://api.github.com/users/GeertJohan/events{/privacy}","received_events_url":"https://api.github.com/users/GeertJohan/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-02-03T14:38:52Z","updated_at":"2015-02-03T14:38:52Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-02-03T14:38:52Z","updated_at":"2015-02-03T14:38:52Z","closed_at":null,"body":"I've been thinking about this for a while now. The parsing of go source is a nice feature, but doesn't always work as expected:\r\n```\r\nconst boxName = `someBox`\r\nrice.FindBox(boxName) // will work in 'live' mode, but rice tool won't find this box so it isn't embedded/appended.\r\n```\r\n\r\nThis can be solved by moving the configuration of boxes to a Ricefile; a config file in some human-readable format such as yaml. This also allows us to define more configuration parameters per box such as:\r\n- strategy: embed vs append (embed one box, append the other).\r\n- path different than box name\r\n\r\nRicefile should be located in main package for the binary, but can include boxes used in sub-packages.\r\nRicefile import other Ricefiles based on import path? This could make defining resources in packages a feasible reality.\r\n\r\nThis issue is a work in progress.."}}