{"action":"closed","issue":{"url":"https://api.github.com/repos/opsdroid/opsdroid/issues/310","repository_url":"https://api.github.com/repos/opsdroid/opsdroid","labels_url":"https://api.github.com/repos/opsdroid/opsdroid/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/opsdroid/opsdroid/issues/310/comments","events_url":"https://api.github.com/repos/opsdroid/opsdroid/issues/310/events","html_url":"https://github.com/opsdroid/opsdroid/issues/310","id":269526818,"number":310,"title":"For local skill files, no-cache should the default config?","user":{"login":"sgreszcz","id":22910494,"avatar_url":"https://avatars0.githubusercontent.com/u/22910494?v=4","gravatar_id":"","url":"https://api.github.com/users/sgreszcz","html_url":"https://github.com/sgreszcz","followers_url":"https://api.github.com/users/sgreszcz/followers","following_url":"https://api.github.com/users/sgreszcz/following{/other_user}","gists_url":"https://api.github.com/users/sgreszcz/gists{/gist_id}","starred_url":"https://api.github.com/users/sgreszcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgreszcz/subscriptions","organizations_url":"https://api.github.com/users/sgreszcz/orgs","repos_url":"https://api.github.com/users/sgreszcz/repos","events_url":"https://api.github.com/users/sgreszcz/events{/privacy}","received_events_url":"https://api.github.com/users/sgreszcz/received_events","type":"User","site_admin":false},"labels":[{"id":413084782,"url":"https://api.github.com/repos/opsdroid/opsdroid/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-30T09:12:31Z","updated_at":"2018-03-02T19:40:06Z","closed_at":"2018-03-02T19:40:06Z","author_association":"NONE","body":"# Description\r\n\r\nNot sure if caching for local skill files should be on by default as it is a bit confusing to not see changes to the skills being reflected in the functionality. I had to dig a bit to see that opsdroid was caching local files in ~/.opsdroid/modules. Totally makes sense for git repositories though where the lag would be a problem for quick parsing.\r\n\r\n## Steps to Reproduce\r\n\r\n1) Build a local skill - with bugs is better :)\r\n2) Fix the bugs\r\n3) Test again, and the same bugs are there\r\n4) Reconfigure configuration.yaml to \"no-cache: true\"\r\n5) opsdroid should refer to the path: defined code, not in ~/.opsdroid/modules/\r\n\r\n``` yaml\r\n# Configurations for other skills uncomment desired skill to activate it.\r\n  - name: demo\r\n    path: /home/cdc/skill-demo\r\n    no-cache: true\r\n```\r\n\r\n## Expected Functionality\r\nExplain what should happen.\r\n\r\nI would assume that for local skills, where time lag from pulling from the internet/GIT is not important, no-cache should be on by default.\r\n\r\n## Experienced Functionality\r\nExplain what happened instead(Please include the debug log).\r\n\r\nopsdroid by default refers to ~/.opsdroid/modules rather than /path/to/skill for local skills.\r\n\r\n## Versions\r\n- **Opsdroid version:**\r\nopsdroid (0.9.1)\r\n- **Python version:**\r\nPython 3.5.2\r\n- **OS/Docker version:**\r\nUbuntu 16.04.3\r\n\r\n## Additional Details\r\nAny other details you wish to include such as screenshots, console messages, etc.\r\n\r\n\r\n"}}
{"actor":{"display_login":"jacobtomlinson"}}