{"action":"created","comment":{"url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/comments/58711712","id":58711712,"diff_hunk":"@@ -5,7 +5,8 @@\n \n \n @click.group()\n-@click.option('-d', '--days', type=click.INT, help=\"Days to consider as thershold\")\n+@click.option('-d', '--days', type=click.INT, help=\"Days to consider as thershold, this should not be used \\\n+                                                    if 'cleanup' sub-command is called with '--hours'\")","path":"taca/storage/cli.py","position":6,"original_position":6,"commit_id":"c4e4a97a07a8903897fbd3eb8261b6bbb20ac155","original_commit_id":"c4e4a97a07a8903897fbd3eb8261b6bbb20ac155","user":{"login":"senthil10","id":5311007,"avatar_url":"https://avatars.githubusercontent.com/u/5311007?v=3","gravatar_id":"","url":"https://api.github.com/users/senthil10","html_url":"https://github.com/senthil10","followers_url":"https://api.github.com/users/senthil10/followers","following_url":"https://api.github.com/users/senthil10/following{/other_user}","gists_url":"https://api.github.com/users/senthil10/gists{/gist_id}","starred_url":"https://api.github.com/users/senthil10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senthil10/subscriptions","organizations_url":"https://api.github.com/users/senthil10/orgs","repos_url":"https://api.github.com/users/senthil10/repos","events_url":"https://api.github.com/users/senthil10/events{/privacy}","received_events_url":"https://api.github.com/users/senthil10/received_events","type":"User","site_admin":false},"body":"I put `--hours` for `cleanup` as it will (meant to) be used only there, where `--days` are used in both sub-commands `archive` and `cleanup`.\r\n\r\nBut I can put it here, as it would look neat :+1:   ","created_at":"2016-04-06T14:12:30Z","updated_at":"2016-04-06T14:12:30Z","html_url":"https://github.com/SciLifeLab/TACA/pull/173#discussion_r58711712","pull_request_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/173","_links":{"self":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/comments/58711712"},"html":{"href":"https://github.com/SciLifeLab/TACA/pull/173#discussion_r58711712"},"pull_request":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/173","id":65471228,"html_url":"https://github.com/SciLifeLab/TACA/pull/173","diff_url":"https://github.com/SciLifeLab/TACA/pull/173.diff","patch_url":"https://github.com/SciLifeLab/TACA/pull/173.patch","issue_url":"https://api.github.com/repos/SciLifeLab/TACA/issues/173","number":173,"state":"open","locked":false,"title":"Use \"hours\" to consider old runs","user":{"login":"senthil10","id":5311007,"avatar_url":"https://avatars.githubusercontent.com/u/5311007?v=3","gravatar_id":"","url":"https://api.github.com/users/senthil10","html_url":"https://github.com/senthil10","followers_url":"https://api.github.com/users/senthil10/followers","following_url":"https://api.github.com/users/senthil10/following{/other_user}","gists_url":"https://api.github.com/users/senthil10/gists{/gist_id}","starred_url":"https://api.github.com/users/senthil10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senthil10/subscriptions","organizations_url":"https://api.github.com/users/senthil10/orgs","repos_url":"https://api.github.com/users/senthil10/repos","events_url":"https://api.github.com/users/senthil10/events{/privacy}","received_events_url":"https://api.github.com/users/senthil10/received_events","type":"User","site_admin":false},"body":"Now `TACA` only takes days to consider old runs, but in `NAS`es to move the data to `nosync` we need it to be even more faster than present (3 days). ","created_at":"2016-04-06T14:01:51Z","updated_at":"2016-04-06T14:12:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52e1274ac39ef3c30f5136ea4355599527eb27ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/173/commits","review_comments_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/173/comments","review_comment_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciLifeLab/TACA/issues/173/comments","statuses_url":"https://api.github.com/repos/SciLifeLab/TACA/statuses/c4e4a97a07a8903897fbd3eb8261b6bbb20ac155","head":{"label":"senthil10:master","ref":"master","sha":"c4e4a97a07a8903897fbd3eb8261b6bbb20ac155","user":{"login":"senthil10","id":5311007,"avatar_url":"https://avatars.githubusercontent.com/u/5311007?v=3","gravatar_id":"","url":"https://api.github.com/users/senthil10","html_url":"https://github.com/senthil10","followers_url":"https://api.github.com/users/senthil10/followers","following_url":"https://api.github.com/users/senthil10/following{/other_user}","gists_url":"https://api.github.com/users/senthil10/gists{/gist_id}","starred_url":"https://api.github.com/users/senthil10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senthil10/subscriptions","organizations_url":"https://api.github.com/users/senthil10/orgs","repos_url":"https://api.github.com/users/senthil10/repos","events_url":"https://api.github.com/users/senthil10/events{/privacy}","received_events_url":"https://api.github.com/users/senthil10/received_events","type":"User","site_admin":false},"repo":{"id":27172595,"name":"TACA","full_name":"senthil10/TACA","owner":{"login":"senthil10","id":5311007,"avatar_url":"https://avatars.githubusercontent.com/u/5311007?v=3","gravatar_id":"","url":"https://api.github.com/users/senthil10","html_url":"https://github.com/senthil10","followers_url":"https://api.github.com/users/senthil10/followers","following_url":"https://api.github.com/users/senthil10/following{/other_user}","gists_url":"https://api.github.com/users/senthil10/gists{/gist_id}","starred_url":"https://api.github.com/users/senthil10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senthil10/subscriptions","organizations_url":"https://api.github.com/users/senthil10/orgs","repos_url":"https://api.github.com/users/senthil10/repos","events_url":"https://api.github.com/users/senthil10/events{/privacy}","received_events_url":"https://api.github.com/users/senthil10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/senthil10/TACA","description":"Project and Data management for NGI Sweden","fork":true,"url":"https://api.github.com/repos/senthil10/TACA","forks_url":"https://api.github.com/repos/senthil10/TACA/forks","keys_url":"https://api.github.com/repos/senthil10/TACA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/senthil10/TACA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/senthil10/TACA/teams","hooks_url":"https://api.github.com/repos/senthil10/TACA/hooks","issue_events_url":"https://api.github.com/repos/senthil10/TACA/issues/events{/number}","events_url":"https://api.github.com/repos/senthil10/TACA/events","assignees_url":"https://api.github.com/repos/senthil10/TACA/assignees{/user}","branches_url":"https://api.github.com/repos/senthil10/TACA/branches{/branch}","tags_url":"https://api.github.com/repos/senthil10/TACA/tags","blobs_url":"https://api.github.com/repos/senthil10/TACA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/senthil10/TACA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/senthil10/TACA/git/refs{/sha}","trees_url":"https://api.github.com/repos/senthil10/TACA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/senthil10/TACA/statuses/{sha}","languages_url":"https://api.github.com/repos/senthil10/TACA/languages","stargazers_url":"https://api.github.com/repos/senthil10/TACA/stargazers","contributors_url":"https://api.github.com/repos/senthil10/TACA/contributors","subscribers_url":"https://api.github.com/repos/senthil10/TACA/subscribers","subscription_url":"https://api.github.com/repos/senthil10/TACA/subscription","commits_url":"https://api.github.com/repos/senthil10/TACA/commits{/sha}","git_commits_url":"https://api.github.com/repos/senthil10/TACA/git/commits{/sha}","comments_url":"https://api.github.com/repos/senthil10/TACA/comments{/number}","issue_comment_url":"https://api.github.com/repos/senthil10/TACA/issues/comments{/number}","contents_url":"https://api.github.com/repos/senthil10/TACA/contents/{+path}","compare_url":"https://api.github.com/repos/senthil10/TACA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/senthil10/TACA/merges","archive_url":"https://api.github.com/repos/senthil10/TACA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/senthil10/TACA/downloads","issues_url":"https://api.github.com/repos/senthil10/TACA/issues{/number}","pulls_url":"https://api.github.com/repos/senthil10/TACA/pulls{/number}","milestones_url":"https://api.github.com/repos/senthil10/TACA/milestones{/number}","notifications_url":"https://api.github.com/repos/senthil10/TACA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/senthil10/TACA/labels{/name}","releases_url":"https://api.github.com/repos/senthil10/TACA/releases{/id}","deployments_url":"https://api.github.com/repos/senthil10/TACA/deployments","created_at":"2014-11-26T10:53:05Z","updated_at":"2016-02-24T15:54:16Z","pushed_at":"2016-04-06T13:58:48Z","git_url":"git://github.com/senthil10/TACA.git","ssh_url":"git@github.com:senthil10/TACA.git","clone_url":"https://github.com/senthil10/TACA.git","svn_url":"https://github.com/senthil10/TACA","homepage":null,"size":959,"stargazers_count":0,"watchers_count":0,"language":"Python","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":0,"default_branch":"master"}},"base":{"label":"SciLifeLab:master","ref":"master","sha":"1c058d8928df8f8c28871011ee95991f28c6d5e6","user":{"login":"SciLifeLab","id":713611,"avatar_url":"https://avatars.githubusercontent.com/u/713611?v=3","gravatar_id":"","url":"https://api.github.com/users/SciLifeLab","html_url":"https://github.com/SciLifeLab","followers_url":"https://api.github.com/users/SciLifeLab/followers","following_url":"https://api.github.com/users/SciLifeLab/following{/other_user}","gists_url":"https://api.github.com/users/SciLifeLab/gists{/gist_id}","starred_url":"https://api.github.com/users/SciLifeLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciLifeLab/subscriptions","organizations_url":"https://api.github.com/users/SciLifeLab/orgs","repos_url":"https://api.github.com/users/SciLifeLab/repos","events_url":"https://api.github.com/users/SciLifeLab/events{/privacy}","received_events_url":"https://api.github.com/users/SciLifeLab/received_events","type":"Organization","site_admin":false},"repo":{"id":25529822,"name":"TACA","full_name":"SciLifeLab/TACA","owner":{"login":"SciLifeLab","id":713611,"avatar_url":"https://avatars.githubusercontent.com/u/713611?v=3","gravatar_id":"","url":"https://api.github.com/users/SciLifeLab","html_url":"https://github.com/SciLifeLab","followers_url":"https://api.github.com/users/SciLifeLab/followers","following_url":"https://api.github.com/users/SciLifeLab/following{/other_user}","gists_url":"https://api.github.com/users/SciLifeLab/gists{/gist_id}","starred_url":"https://api.github.com/users/SciLifeLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciLifeLab/subscriptions","organizations_url":"https://api.github.com/users/SciLifeLab/orgs","repos_url":"https://api.github.com/users/SciLifeLab/repos","events_url":"https://api.github.com/users/SciLifeLab/events{/privacy}","received_events_url":"https://api.github.com/users/SciLifeLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciLifeLab/TACA","description":"Tool for the Automation of Cleanup and Analyses","fork":true,"url":"https://api.github.com/repos/SciLifeLab/TACA","forks_url":"https://api.github.com/repos/SciLifeLab/TACA/forks","keys_url":"https://api.github.com/repos/SciLifeLab/TACA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciLifeLab/TACA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciLifeLab/TACA/teams","hooks_url":"https://api.github.com/repos/SciLifeLab/TACA/hooks","issue_events_url":"https://api.github.com/repos/SciLifeLab/TACA/issues/events{/number}","events_url":"https://api.github.com/repos/SciLifeLab/TACA/events","assignees_url":"https://api.github.com/repos/SciLifeLab/TACA/assignees{/user}","branches_url":"https://api.github.com/repos/SciLifeLab/TACA/branches{/branch}","tags_url":"https://api.github.com/repos/SciLifeLab/TACA/tags","blobs_url":"https://api.github.com/repos/SciLifeLab/TACA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciLifeLab/TACA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciLifeLab/TACA/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciLifeLab/TACA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciLifeLab/TACA/statuses/{sha}","languages_url":"https://api.github.com/repos/SciLifeLab/TACA/languages","stargazers_url":"https://api.github.com/repos/SciLifeLab/TACA/stargazers","contributors_url":"https://api.github.com/repos/SciLifeLab/TACA/contributors","subscribers_url":"https://api.github.com/repos/SciLifeLab/TACA/subscribers","subscription_url":"https://api.github.com/repos/SciLifeLab/TACA/subscription","commits_url":"https://api.github.com/repos/SciLifeLab/TACA/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciLifeLab/TACA/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciLifeLab/TACA/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciLifeLab/TACA/issues/comments{/number}","contents_url":"https://api.github.com/repos/SciLifeLab/TACA/contents/{+path}","compare_url":"https://api.github.com/repos/SciLifeLab/TACA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciLifeLab/TACA/merges","archive_url":"https://api.github.com/repos/SciLifeLab/TACA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciLifeLab/TACA/downloads","issues_url":"https://api.github.com/repos/SciLifeLab/TACA/issues{/number}","pulls_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls{/number}","milestones_url":"https://api.github.com/repos/SciLifeLab/TACA/milestones{/number}","notifications_url":"https://api.github.com/repos/SciLifeLab/TACA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciLifeLab/TACA/labels{/name}","releases_url":"https://api.github.com/repos/SciLifeLab/TACA/releases{/id}","deployments_url":"https://api.github.com/repos/SciLifeLab/TACA/deployments","created_at":"2014-10-21T15:23:34Z","updated_at":"2016-01-12T14:10:03Z","pushed_at":"2016-04-06T14:01:51Z","git_url":"git://github.com/SciLifeLab/TACA.git","ssh_url":"git@github.com:SciLifeLab/TACA.git","clone_url":"https://github.com/SciLifeLab/TACA.git","svn_url":"https://github.com/SciLifeLab/TACA","homepage":"","size":987,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/173"},"html":{"href":"https://github.com/SciLifeLab/TACA/pull/173"},"issue":{"href":"https://api.github.com/repos/SciLifeLab/TACA/issues/173"},"comments":{"href":"https://api.github.com/repos/SciLifeLab/TACA/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/SciLifeLab/TACA/statuses/c4e4a97a07a8903897fbd3eb8261b6bbb20ac155"}}}}