GitHub PullRequestEvent at 2014-10-16 06:12:21
Repository: huginn
Actor: cantino
Payload: {"action":"closed","number":572,"pull_request":{"url":"https://api.github.com/repos/cantino/huginn/pulls/572","id":22585344,"html_url":"https://github.com/cantino/huginn/pull/572","diff_url":"https://github.com/cantino/huginn/pull/572.diff","patch_url":"https://github.com/cantino/huginn/pull/572.patch","issue_url":"https://api.github.com/repos/cantino/huginn/issues/572","number":572,"state":"closed","locked":false,"title":"Dropbox watch agent","user":{"login":"gtramontina","id":374635,"avatar_url":"https://avatars.githubusercontent.com/u/374635?v=2","gravatar_id":"","url":"https://api.github.com/users/gtramontina","html_url":"https://github.com/gtramontina","followers_url":"https://api.github.com/users/gtramontina/followers","following_url":"https://api.github.com/users/gtramontina/following{/other_user}","gists_url":"https://api.github.com/users/gtramontina/gists{/gist_id}","starred_url":"https://api.github.com/users/gtramontina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtramontina/subscriptions","organizations_url":"https://api.github.com/users/gtramontina/orgs","repos_url":"https://api.github.com/users/gtramontina/repos","events_url":"https://api.github.com/users/gtramontina/events{/privacy}","received_events_url":"https://api.github.com/users/gtramontina/received_events","type":"User","site_admin":false},"body":"This agent implements a very simple way of detecting file changes in Dropbox.\r\n\r\nAfter fiddling around a little bit on PetroFeed@c947099, we came to the realization that we would not be able to do all things we want to achieve on a single agent. Well, we could, if we were to write a heavily customized Agent that no one else could benefit of. So I'm seeing this PR as the beginning of a collection of Dropbox agents, addressing #321.\r\n\r\nHere's a workflow we'd like to be able to achieve:\r\n- Watch an email inbox for a specific email with attachment – (maybe using an evolution of the [ImapFolderAgent](https://github.com/cantino/huginn/blob/master/app/models/agents/imap_folder_agent.rb) to be able to download this attachment);\r\n- Upload that attachment to dropbox – draft: PetroFeed@c947099;\r\n- Detect changes on a given dropbox directory – this PR;\r\n- Generate a temporary public link for a dropbox file – ToDo.\r\n\r\nCheers!","created_at":"2014-10-10T20:11:23Z","updated_at":"2014-10-16T06:12:20Z","closed_at":"2014-10-16T06:12:20Z","merged_at":"2014-10-16T06:12:20Z","merge_commit_sha":"143868c91af17ba4115dbdb1a648f7d5cdb562c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cantino/huginn/pulls/572/commits","review_comments_url":"https://api.github.com/repos/cantino/huginn/pulls/572/comments","review_comment_url":"https://api.github.com/repos/cantino/huginn/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/572/comments","statuses_url":"https://api.github.com/repos/cantino/huginn/statuses/f9f9c1061b47d381a0014142b837819cbee3cb3e","head":{"label":"PetroFeed:dropbox-watch-agent","ref":"dropbox-watch-agent","sha":"f9f9c1061b47d381a0014142b837819cbee3cb3e","user":{"login":"PetroFeed","id":1985241,"avatar_url":"https://avatars.githubusercontent.com/u/1985241?v=2","gravatar_id":"","url":"https://api.github.com/users/PetroFeed","html_url":"https://github.com/PetroFeed","followers_url":"https://api.github.com/users/PetroFeed/followers","following_url":"https://api.github.com/users/PetroFeed/following{/other_user}","gists_url":"https://api.github.com/users/PetroFeed/gists{/gist_id}","starred_url":"https://api.github.com/users/PetroFeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PetroFeed/subscriptions","organizations_url":"https://api.github.com/users/PetroFeed/orgs","repos_url":"https://api.github.com/users/PetroFeed/repos","events_url":"https://api.github.com/users/PetroFeed/events{/privacy}","received_events_url":"https://api.github.com/users/PetroFeed/received_events","type":"Organization","site_admin":false},"repo":{"id":21982110,"name":"huginn","full_name":"PetroFeed/huginn","owner":{"login":"PetroFeed","id":1985241,"avatar_url":"https://avatars.githubusercontent.com/u/1985241?v=2","gravatar_id":"","url":"https://api.github.com/users/PetroFeed","html_url":"https://github.com/PetroFeed","followers_url":"https://api.github.com/users/PetroFeed/followers","following_url":"https://api.github.com/users/PetroFeed/following{/other_user}","gists_url":"https://api.github.com/users/PetroFeed/gists{/gist_id}","starred_url":"https://api.github.com/users/PetroFeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PetroFeed/subscriptions","organizations_url":"https://api.github.com/users/PetroFeed/orgs","repos_url":"https://api.github.com/users/PetroFeed/repos","events_url":"https://api.github.com/users/PetroFeed/events{/privacy}","received_events_url":"https://api.github.com/users/PetroFeed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PetroFeed/huginn","description":"Build agents that monitor and act on your behalf.  Your agents are standing by!","fork":true,"url":"https://api.github.com/repos/PetroFeed/huginn","forks_url":"https://api.github.com/repos/PetroFeed/huginn/forks","keys_url":"https://api.github.com/repos/PetroFeed/huginn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PetroFeed/huginn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PetroFeed/huginn/teams","hooks_url":"https://api.github.com/repos/PetroFeed/huginn/hooks","issue_events_url":"https://api.github.com/repos/PetroFeed/huginn/issues/events{/number}","events_url":"https://api.github.com/repos/PetroFeed/huginn/events","assignees_url":"https://api.github.com/repos/PetroFeed/huginn/assignees{/user}","branches_url":"https://api.github.com/repos/PetroFeed/huginn/branches{/branch}","tags_url":"https://api.github.com/repos/PetroFeed/huginn/tags","blobs_url":"https://api.github.com/repos/PetroFeed/huginn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PetroFeed/huginn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PetroFeed/huginn/git/refs{/sha}","trees_url":"https://api.github.com/repos/PetroFeed/huginn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PetroFeed/huginn/statuses/{sha}","languages_url":"https://api.github.com/repos/PetroFeed/huginn/languages","stargazers_url":"https://api.github.com/repos/PetroFeed/huginn/stargazers","contributors_url":"https://api.github.com/repos/PetroFeed/huginn/contributors","subscribers_url":"https://api.github.com/repos/PetroFeed/huginn/subscribers","subscription_url":"https://api.github.com/repos/PetroFeed/huginn/subscription","commits_url":"https://api.github.com/repos/PetroFeed/huginn/commits{/sha}","git_commits_url":"https://api.github.com/repos/PetroFeed/huginn/git/commits{/sha}","comments_url":"https://api.github.com/repos/PetroFeed/huginn/comments{/number}","issue_comment_url":"https://api.github.com/repos/PetroFeed/huginn/issues/comments/{number}","contents_url":"https://api.github.com/repos/PetroFeed/huginn/contents/{+path}","compare_url":"https://api.github.com/repos/PetroFeed/huginn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PetroFeed/huginn/merges","archive_url":"https://api.github.com/repos/PetroFeed/huginn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PetroFeed/huginn/downloads","issues_url":"https://api.github.com/repos/PetroFeed/huginn/issues{/number}","pulls_url":"https://api.github.com/repos/PetroFeed/huginn/pulls{/number}","milestones_url":"https://api.github.com/repos/PetroFeed/huginn/milestones{/number}","notifications_url":"https://api.github.com/repos/PetroFeed/huginn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PetroFeed/huginn/labels{/name}","releases_url":"https://api.github.com/repos/PetroFeed/huginn/releases{/id}","created_at":"2014-07-18T13:58:46Z","updated_at":"2014-09-19T06:30:12Z","pushed_at":"2014-10-15T14:47:36Z","git_url":"git://github.com/PetroFeed/huginn.git","ssh_url":"git@github.com:PetroFeed/huginn.git","clone_url":"https://github.com/PetroFeed/huginn.git","svn_url":"https://github.com/PetroFeed/huginn","homepage":null,"size":4573,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"cantino:master","ref":"master","sha":"f09bfd8a5ea85c353fcf36643ad7ef9b98b50fe4","user":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=2","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"repo":{"id":8681349,"name":"huginn","full_name":"cantino/huginn","owner":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=2","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cantino/huginn","description":"Build agents that monitor and act on your behalf.  Your agents are standing by!","fork":false,"url":"https://api.github.com/repos/cantino/huginn","forks_url":"https://api.github.com/repos/cantino/huginn/forks","keys_url":"https://api.github.com/repos/cantino/huginn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cantino/huginn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cantino/huginn/teams","hooks_url":"https://api.github.com/repos/cantino/huginn/hooks","issue_events_url":"https://api.github.com/repos/cantino/huginn/issues/events{/number}","events_url":"https://api.github.com/repos/cantino/huginn/events","assignees_url":"https://api.github.com/repos/cantino/huginn/assignees{/user}","branches_url":"https://api.github.com/repos/cantino/huginn/branches{/branch}","tags_url":"https://api.github.com/repos/cantino/huginn/tags","blobs_url":"https://api.github.com/repos/cantino/huginn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cantino/huginn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cantino/huginn/git/refs{/sha}","trees_url":"https://api.github.com/repos/cantino/huginn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cantino/huginn/statuses/{sha}","languages_url":"https://api.github.com/repos/cantino/huginn/languages","stargazers_url":"https://api.github.com/repos/cantino/huginn/stargazers","contributors_url":"https://api.github.com/repos/cantino/huginn/contributors","subscribers_url":"https://api.github.com/repos/cantino/huginn/subscribers","subscription_url":"https://api.github.com/repos/cantino/huginn/subscription","commits_url":"https://api.github.com/repos/cantino/huginn/commits{/sha}","git_commits_url":"https://api.github.com/repos/cantino/huginn/git/commits{/sha}","comments_url":"https://api.github.com/repos/cantino/huginn/comments{/number}","issue_comment_url":"https://api.github.com/repos/cantino/huginn/issues/comments/{number}","contents_url":"https://api.github.com/repos/cantino/huginn/contents/{+path}","compare_url":"https://api.github.com/repos/cantino/huginn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cantino/huginn/merges","archive_url":"https://api.github.com/repos/cantino/huginn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cantino/huginn/downloads","issues_url":"https://api.github.com/repos/cantino/huginn/issues{/number}","pulls_url":"https://api.github.com/repos/cantino/huginn/pulls{/number}","milestones_url":"https://api.github.com/repos/cantino/huginn/milestones{/number}","notifications_url":"https://api.github.com/repos/cantino/huginn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cantino/huginn/labels{/name}","releases_url":"https://api.github.com/repos/cantino/huginn/releases{/id}","created_at":"2013-03-10T06:00:31Z","updated_at":"2014-10-15T23:40:54Z","pushed_at":"2014-10-16T06:12:20Z","git_url":"git://github.com/cantino/huginn.git","ssh_url":"git@github.com:cantino/huginn.git","clone_url":"https://github.com/cantino/huginn.git","svn_url":"https://github.com/cantino/huginn","homepage":null,"size":16349,"stargazers_count":8049,"watchers_count":8049,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":741,"mirror_url":null,"open_issues_count":114,"forks":741,"open_issues":114,"watchers":8049,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cantino/huginn/pulls/572"},"html":{"href":"https://github.com/cantino/huginn/pull/572"},"issue":{"href":"https://api.github.com/repos/cantino/huginn/issues/572"},"comments":{"href":"https://api.github.com/repos/cantino/huginn/issues/572/comments"},"review_comments":{"href":"https://api.github.com/repos/cantino/huginn/pulls/572/comments"},"review_comment":{"href":"https://api.github.com/repos/cantino/huginn/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cantino/huginn/pulls/572/commits"},"statuses":{"href":"https://api.github.com/repos/cantino/huginn/statuses/f9f9c1061b47d381a0014142b837819cbee3cb3e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=2","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"comments":9,"review_comments":12,"commits":12,"additions":354,"deletions":9,"changed_files":12}}