{"action":"opened","issue":{"url":"https://api.github.com/repos/Quramy/reg-suit/issues/7","repository_url":"https://api.github.com/repos/Quramy/reg-suit","labels_url":"https://api.github.com/repos/Quramy/reg-suit/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Quramy/reg-suit/issues/7/comments","events_url":"https://api.github.com/repos/Quramy/reg-suit/issues/7/events","html_url":"https://github.com/Quramy/reg-suit/issues/7","id":240362645,"number":7,"title":"better plugin interface","user":{"login":"Quramy","id":1262998,"avatar_url":"https://avatars0.githubusercontent.com/u/1262998?v=3","gravatar_id":"","url":"https://api.github.com/users/Quramy","html_url":"https://github.com/Quramy","followers_url":"https://api.github.com/users/Quramy/followers","following_url":"https://api.github.com/users/Quramy/following{/other_user}","gists_url":"https://api.github.com/users/Quramy/gists{/gist_id}","starred_url":"https://api.github.com/users/Quramy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quramy/subscriptions","organizations_url":"https://api.github.com/users/Quramy/orgs","repos_url":"https://api.github.com/users/Quramy/repos","events_url":"https://api.github.com/users/Quramy/events{/privacy}","received_events_url":"https://api.github.com/users/Quramy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-04T09:23:27Z","updated_at":"2017-07-04T09:23:27Z","closed_at":null,"body":"I think there are better names of each plugins and their methods.\r\n\r\n### Publisher:\r\n*Publisher* plugin should have 2 methods named *publish* and *fetch*. They've been strongly influenced by the S3-plugin implementation and I feel uneasy.\r\n\r\n- What does means *fetch* ? Some users wants this method to copy local files or refer a directory existing their repository.\r\n- Should the *fetch* method be tied with the *publish* ? In the beginning I've not doubted that the location publish to / fetch from is same, is it correct ?\r\n\r\n### Key Generator\r\n*KeyGenerator* has strongly tied 2 methods too, *getExpectedKey* and *getActualKey*.\r\n\r\nBecause the above reason, in other words I think separate *publish* / *fetch* to other interfaces,  *getExpectedKey* and *getActualKey* should be declared at other interfaces rather than one interface.\r\n\r\nThe second, I think the term *key* and *generate* ain't good, but I cannot get better name than them... Is there nice one?\r\n\r\n- identifier / key / snapshot-id / snapshot-key / etc,,,\r\n- detect / create / determine / find / search / etc,,,"}}
{"actor":{"display_login":"Quramy"}}