{"action":"created","issue":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/725","labels_url":"https://api.github.com/repos/solettaproject/soletta/issues/725/labels{/name}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/725/comments","events_url":"https://api.github.com/repos/solettaproject/soletta/issues/725/events","html_url":"https://github.com/solettaproject/soletta/issues/725","id":106626605,"number":725,"title":"automatically load conffiles","user":{"login":"barbieri","id":1838,"avatar_url":"https://avatars.githubusercontent.com/u/1838?v=3","gravatar_id":"","url":"https://api.github.com/users/barbieri","html_url":"https://github.com/barbieri","followers_url":"https://api.github.com/users/barbieri/followers","following_url":"https://api.github.com/users/barbieri/following{/other_user}","gists_url":"https://api.github.com/users/barbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/barbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbieri/subscriptions","organizations_url":"https://api.github.com/users/barbieri/orgs","repos_url":"https://api.github.com/users/barbieri/repos","events_url":"https://api.github.com/users/barbieri/events{/privacy}","received_events_url":"https://api.github.com/users/barbieri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/solettaproject/soletta/labels/task","name":"task","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"mbelluzzo","id":1584229,"avatar_url":"https://avatars.githubusercontent.com/u/1584229?v=3","gravatar_id":"","url":"https://api.github.com/users/mbelluzzo","html_url":"https://github.com/mbelluzzo","followers_url":"https://api.github.com/users/mbelluzzo/followers","following_url":"https://api.github.com/users/mbelluzzo/following{/other_user}","gists_url":"https://api.github.com/users/mbelluzzo/gists{/gist_id}","starred_url":"https://api.github.com/users/mbelluzzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbelluzzo/subscriptions","organizations_url":"https://api.github.com/users/mbelluzzo/orgs","repos_url":"https://api.github.com/users/mbelluzzo/repos","events_url":"https://api.github.com/users/mbelluzzo/events{/privacy}","received_events_url":"https://api.github.com/users/mbelluzzo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/solettaproject/soletta/milestones/1","html_url":"https://github.com/solettaproject/soletta/milestones/v1","labels_url":"https://api.github.com/repos/solettaproject/soletta/milestones/1/labels","id":1307037,"number":1,"title":"v1","description":"First stable release","creator":{"login":"barbieri","id":1838,"avatar_url":"https://avatars.githubusercontent.com/u/1838?v=3","gravatar_id":"","url":"https://api.github.com/users/barbieri","html_url":"https://github.com/barbieri","followers_url":"https://api.github.com/users/barbieri/followers","following_url":"https://api.github.com/users/barbieri/following{/other_user}","gists_url":"https://api.github.com/users/barbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/barbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbieri/subscriptions","organizations_url":"https://api.github.com/users/barbieri/orgs","repos_url":"https://api.github.com/users/barbieri/repos","events_url":"https://api.github.com/users/barbieri/events{/privacy}","received_events_url":"https://api.github.com/users/barbieri/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":1,"state":"open","created_at":"2015-09-15T19:00:17Z","updated_at":"2015-09-25T17:29:13Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-15T19:19:53Z","updated_at":"2015-09-25T17:29:13Z","closed_at":"2015-09-25T17:29:13Z","body":"We should have a standard lookup paths to load configuration files from, such as the name of the current application (binary or the FBP name if using `sol-fbp-runner` or `sol-fbp-generator`), as well as use the board name as in `sol_platform_get_board_name()`.\r\n\r\nAn idea is the following (from highest to lowest priority):\r\n * envvar `$SOL_FLOW_MODULE_RESOLVER_CONFFILE`\r\n * `./sol-flow-$APPNAME-$BOARD_NAME.json`\r\n * `$PKGSYSCONFDIR/sol-flow-$APPNAME-$BOARD_NAME.json`\r\n * `./sol-flow-$APPNAME.json`\r\n * `$PKGSYSCONFDIR/sol-flow-$APPNAME.json`\r\n * `./sol-flow.json`\r\n * `$PKGSYSCONFDIR/sol-flow.json`\r\n\r\nPlease add proper `SOL_DBG()` before trying to load each component so it's easy to debug which file is being used and those that failed (didn't exist or failed to load)."},"comment":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/comments/143295300","html_url":"https://github.com/solettaproject/soletta/issues/725#issuecomment-143295300","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/725","id":143295300,"user":{"login":"dorileo","id":960327,"avatar_url":"https://avatars.githubusercontent.com/u/960327?v=3","gravatar_id":"","url":"https://api.github.com/users/dorileo","html_url":"https://github.com/dorileo","followers_url":"https://api.github.com/users/dorileo/followers","following_url":"https://api.github.com/users/dorileo/following{/other_user}","gists_url":"https://api.github.com/users/dorileo/gists{/gist_id}","starred_url":"https://api.github.com/users/dorileo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorileo/subscriptions","organizations_url":"https://api.github.com/users/dorileo/orgs","repos_url":"https://api.github.com/users/dorileo/repos","events_url":"https://api.github.com/users/dorileo/events{/privacy}","received_events_url":"https://api.github.com/users/dorileo/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T17:29:13Z","updated_at":"2015-09-25T17:29:13Z","body":"implemented on 6ffdd6bcbcdf97bf70ca111706de5b45bef5b75e"}}