{"action":"created","issue":{"url":"https://api.github.com/repos/openresty/opm/issues/18","repository_url":"https://api.github.com/repos/openresty/opm","labels_url":"https://api.github.com/repos/openresty/opm/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/openresty/opm/issues/18/comments","events_url":"https://api.github.com/repos/openresty/opm/issues/18/events","html_url":"https://github.com/openresty/opm/issues/18","id":180445582,"number":18,"title":"no namespace was used when `opm install`","user":{"login":"sumory","id":1326893,"avatar_url":"https://avatars.githubusercontent.com/u/1326893?v=3","gravatar_id":"","url":"https://api.github.com/users/sumory","html_url":"https://github.com/sumory","followers_url":"https://api.github.com/users/sumory/followers","following_url":"https://api.github.com/users/sumory/following{/other_user}","gists_url":"https://api.github.com/users/sumory/gists{/gist_id}","starred_url":"https://api.github.com/users/sumory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumory/subscriptions","organizations_url":"https://api.github.com/users/sumory/orgs","repos_url":"https://api.github.com/users/sumory/repos","events_url":"https://api.github.com/users/sumory/events{/privacy}","received_events_url":"https://api.github.com/users/sumory/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-01T08:26:46Z","updated_at":"2016-10-02T05:15:23Z","closed_at":"2016-10-01T16:24:13Z","body":"i just tried to package several versions of my framework(lor).  i found there may be a potential problem with `opm install`. \r\n\r\nif i use `opm install sumory/lor=0.2.0` to install, `site/lualib` will look like this:\r\n\r\n```\r\n├── index.lua\r\n├── lib\r\n└── resty\r\n    └── ...\r\n```\r\n\r\nboth the `index.lua` file and `lib` dir are belong to `lor`. they directly occupied the position under `lualib`.\r\n\r\nso  i finally packaged another version to avoid this,  `opm install sumory/lor=0.2.2`：\r\n\r\n```\r\n├── lor\r\n│   ├── index.lua\r\n│   └── lib\r\n└── resty\r\n    └── ...\r\n```\r\n\r\nis this a problem? or i just didn't use `opm` with a better practice?\r\n"},"comment":{"url":"https://api.github.com/repos/openresty/opm/issues/comments/250954290","html_url":"https://github.com/openresty/opm/issues/18#issuecomment-250954290","issue_url":"https://api.github.com/repos/openresty/opm/issues/18","id":250954290,"user":{"login":"agentzh","id":56241,"avatar_url":"https://avatars.githubusercontent.com/u/56241?v=3","gravatar_id":"","url":"https://api.github.com/users/agentzh","html_url":"https://github.com/agentzh","followers_url":"https://api.github.com/users/agentzh/followers","following_url":"https://api.github.com/users/agentzh/following{/other_user}","gists_url":"https://api.github.com/users/agentzh/gists{/gist_id}","starred_url":"https://api.github.com/users/agentzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agentzh/subscriptions","organizations_url":"https://api.github.com/users/agentzh/orgs","repos_url":"https://api.github.com/users/agentzh/repos","events_url":"https://api.github.com/users/agentzh/events{/privacy}","received_events_url":"https://api.github.com/users/agentzh/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T05:15:23Z","updated_at":"2016-10-02T05:15:23Z","body":"@sumory It's bad practice for 3rd-party OPM module developers to ship a Lua module that overrides the standard module files though `opm` does not prohibit. If it upsets you (as a user), then you should really report the problem to the author of that OPM module (`starjun/dynamic_balancer` in this case). I don't think there's anything to be done on our (`opm`) side."}}
{"actor":{"display_login":"agentzh"}}