{"action":"created","issue":{"url":"https://api.github.com/repos/joschabach/micropsi2/issues/75","labels_url":"https://api.github.com/repos/joschabach/micropsi2/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/joschabach/micropsi2/issues/75/comments","events_url":"https://api.github.com/repos/joschabach/micropsi2/issues/75/events","html_url":"https://github.com/joschabach/micropsi2/pull/75","id":64127147,"number":75,"title":"Feature scripts","user":{"login":"Doik","id":925511,"avatar_url":"https://avatars.githubusercontent.com/u/925511?v=3","gravatar_id":"","url":"https://api.github.com/users/Doik","html_url":"https://github.com/Doik","followers_url":"https://api.github.com/users/Doik/followers","following_url":"https://api.github.com/users/Doik/following{/other_user}","gists_url":"https://api.github.com/users/Doik/gists{/gist_id}","starred_url":"https://api.github.com/users/Doik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doik/subscriptions","organizations_url":"https://api.github.com/users/Doik/orgs","repos_url":"https://api.github.com/users/Doik/repos","events_url":"https://api.github.com/users/Doik/events{/privacy}","received_events_url":"https://api.github.com/users/Doik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-24T23:31:21Z","updated_at":"2015-03-25T11:17:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joschabach/micropsi2/pulls/75","html_url":"https://github.com/joschabach/micropsi2/pull/75","diff_url":"https://github.com/joschabach/micropsi2/pull/75.diff","patch_url":"https://github.com/joschabach/micropsi2/pull/75.patch"},"body":"Quite basic scripts feature: \r\nThe user's resource path (where nodefunctions.py and nodetypes.json reside) is searched for a file called `scripts.py`. If this file exists, every function in that file is read, and offered in the frontend to be run as a one-time script, independent of the nodenet-steps.\r\nThe scripts can have parameters, which can be specified in the frontend when running the script. The first parameter is always the netapi.\r\nThe script files are re-read when the user calls 'reload native modules'\r\n\r\nCurrent issues: Dynamic Typing: scripts will have to cast to ints or floats if needed. We could infer the type from the parameter-default, but that doesn't work for `None`-defaults.\r\n"},"comment":{"url":"https://api.github.com/repos/joschabach/micropsi2/issues/comments/85986509","html_url":"https://github.com/joschabach/micropsi2/pull/75#issuecomment-85986509","issue_url":"https://api.github.com/repos/joschabach/micropsi2/issues/75","id":85986509,"user":{"login":"Doik","id":925511,"avatar_url":"https://avatars.githubusercontent.com/u/925511?v=3","gravatar_id":"","url":"https://api.github.com/users/Doik","html_url":"https://github.com/Doik","followers_url":"https://api.github.com/users/Doik/followers","following_url":"https://api.github.com/users/Doik/following{/other_user}","gists_url":"https://api.github.com/users/Doik/gists{/gist_id}","starred_url":"https://api.github.com/users/Doik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doik/subscriptions","organizations_url":"https://api.github.com/users/Doik/orgs","repos_url":"https://api.github.com/users/Doik/repos","events_url":"https://api.github.com/users/Doik/events{/privacy}","received_events_url":"https://api.github.com/users/Doik/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T11:17:04Z","updated_at":"2015-03-25T11:17:04Z","body":"PR updated."}}