{"action":"created","issue":{"url":"https://api.github.com/repos/OH-Jython-Scripters/openhab2-jython/issues/29","repository_url":"https://api.github.com/repos/OH-Jython-Scripters/openhab2-jython","labels_url":"https://api.github.com/repos/OH-Jython-Scripters/openhab2-jython/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/OH-Jython-Scripters/openhab2-jython/issues/29/comments","events_url":"https://api.github.com/repos/OH-Jython-Scripters/openhab2-jython/issues/29/events","html_url":"https://github.com/OH-Jython-Scripters/openhab2-jython/issues/29","id":372341232,"node_id":"MDU6SXNzdWUzNzIzNDEyMzI=","number":29,"title":"[Discussion] Restructure repo for better collaboration","user":{"login":"openhab-5iver","id":21967853,"node_id":"MDQ6VXNlcjIxOTY3ODUz","avatar_url":"https://avatars2.githubusercontent.com/u/21967853?v=4","gravatar_id":"","url":"https://api.github.com/users/openhab-5iver","html_url":"https://github.com/openhab-5iver","followers_url":"https://api.github.com/users/openhab-5iver/followers","following_url":"https://api.github.com/users/openhab-5iver/following{/other_user}","gists_url":"https://api.github.com/users/openhab-5iver/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab-5iver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab-5iver/subscriptions","organizations_url":"https://api.github.com/users/openhab-5iver/orgs","repos_url":"https://api.github.com/users/openhab-5iver/repos","events_url":"https://api.github.com/users/openhab-5iver/events{/privacy}","received_events_url":"https://api.github.com/users/openhab-5iver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-21T18:11:05Z","updated_at":"2018-11-10T12:38:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In preparation for OH JSR223-Jython growth, I would like to come up with a way to isolate the core modules/scripts from collaborative contributions, like Esper. I propose we introduce a `community` package with the following directory structure...\r\n```\r\n|_ Documentation\r\n|_ Core\r\n    |_ automation\r\n        |_ jsr223\r\n        |_ jython\r\n        |_ lib\r\n            |_ python\r\n                |_ openhab\r\n                |_ community\r\n|_ Script Examples\r\n    |_ Rule Scripts\r\n        |_ automation\r\n            |_ jsr223\r\n                |_ hello_world.py\r\n                |_ timer_example.py\r\n    |_ Component Scripts\r\n        |_ automation\r\n            |_ jsr223\r\n                |_ 000_components\r\n|_ Community\r\n    |_ Esper\r\n        |_ automation\r\n            |_ jsr223\r\n               |_ 000_components\r\n                   |_ 000_Esper.py\r\n               |_ esper_example.py\r\n            |_ lib\r\n                |_ python\r\n                    |_ community\r\n                        |_ Esper\r\n    |_ Person X's Kodi lighting module and script\r\n        |_ automation\r\n            |_ jsr223\r\n                |_ example kodi script.py\r\n            |_ lib\r\n                |_ python\r\n                    |_ community\r\n                        |_ kodi\r\n    |_ Person Y's Kodi lighting module and script\r\n        |_ automation\r\n            |_ jsr223\r\n                |_ example kodi script.py\r\n            |_ lib\r\n                |_ python\r\n                    |_ community\r\n                        |_ kodi\r\n```\r\nOne difficulty is that there may be multiple modules with the same name in the `community` package, so I think the Community modules should be kept separate in the repo. For example, two contributors may have modules for Kodi named `community.kodi`. Of course, any Community module could eventually be merged into the `openhab` package, or it could become a separate package of its own."},"comment":{"url":"https://api.github.com/repos/OH-Jython-Scripters/openhab2-jython/issues/comments/437581047","html_url":"https://github.com/OH-Jython-Scripters/openhab2-jython/issues/29#issuecomment-437581047","issue_url":"https://api.github.com/repos/OH-Jython-Scripters/openhab2-jython/issues/29","id":437581047,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzU4MTA0Nw==","user":{"login":"mjcumming","id":1330184,"node_id":"MDQ6VXNlcjEzMzAxODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1330184?v=4","gravatar_id":"","url":"https://api.github.com/users/mjcumming","html_url":"https://github.com/mjcumming","followers_url":"https://api.github.com/users/mjcumming/followers","following_url":"https://api.github.com/users/mjcumming/following{/other_user}","gists_url":"https://api.github.com/users/mjcumming/gists{/gist_id}","starred_url":"https://api.github.com/users/mjcumming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjcumming/subscriptions","organizations_url":"https://api.github.com/users/mjcumming/orgs","repos_url":"https://api.github.com/users/mjcumming/repos","events_url":"https://api.github.com/users/mjcumming/events{/privacy}","received_events_url":"https://api.github.com/users/mjcumming/received_events","type":"User","site_admin":false},"created_at":"2018-11-10T12:38:38Z","updated_at":"2018-11-10T12:38:38Z","author_association":"NONE","body":"@openhab-5iver \r\n\r\nWith the above structure are you proposing we keep User scripts in the current jsr223 folder?\r\n\r\nWhere would one keep a Class module that they have created. Currently, import looks in the lib directory.\r\n\r\nMike"}}
{"actor":{"display_login":"mjcumming"}}