{"action":"created","comment":{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/comments/51119570","id":51119570,"diff_hunk":"@@ -26,14 +26,23 @@ typedef enum {\n \tDAG_FILE_STATE_UP\n } dag_file_state_t;\n \n+typedef enum {\n+\tDAG_FILE_TYPE_INPUT,\n+\tDAG_FILE_TYPE_OUTPUT,\n+\tDAG_FILE_TYPE_INTERMEDIATE\n+} dag_file_type_t;\n+\n \n struct dag_file {\n \tconst char *filename;\n-\tstruct list     *needed_by;              /* List of nodes that have this file as a source */\n-\tstruct dag_node *created_by;             /* The node (if any) that created the file */\n-\tint    ref_count;                        /* How many nodes still to run need this file */\n-\ttime_t creation_logged;                  /* Time that file creation is logged */\n-\tdag_file_state_t state;                  /* Enum: DAG_FILE_STATE_{INTIAL,EXPECT,...} */\n+\tstruct list     *needed_by;\t\t/* List of nodes that have this file as a source */\n+\tstruct dag_node *created_by;\t/* The node (if any) that created the file */\n+\tint    ref_count;\t\t\t\t/* How many nodes still to run need this file */\n+\tuint64_t file_size;\t\t\t\t/* File size used for calculating node size */\n+\tuint64_t est_size;\t\t\t\t/* Estimated file size used for calculating node size */","path":"makeflow/src/dag_file.h","position":22,"original_position":22,"commit_id":"54288ba4ecb95ee1df2fdb7d4c1b311e7c5efaf1","original_commit_id":"54288ba4ecb95ee1df2fdb7d4c1b311e7c5efaf1","user":{"login":"btovar","id":3081826,"avatar_url":"https://avatars.githubusercontent.com/u/3081826?v=3","gravatar_id":"","url":"https://api.github.com/users/btovar","html_url":"https://github.com/btovar","followers_url":"https://api.github.com/users/btovar/followers","following_url":"https://api.github.com/users/btovar/following{/other_user}","gists_url":"https://api.github.com/users/btovar/gists{/gist_id}","starred_url":"https://api.github.com/users/btovar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btovar/subscriptions","organizations_url":"https://api.github.com/users/btovar/orgs","repos_url":"https://api.github.com/users/btovar/repos","events_url":"https://api.github.com/users/btovar/events{/privacy}","received_events_url":"https://api.github.com/users/btovar/received_events","type":"User","site_admin":false},"body":"estimated_size?","created_at":"2016-01-28T13:11:10Z","updated_at":"2016-01-28T13:11:10Z","html_url":"https://github.com/cooperative-computing-lab/cctools/pull/1133#discussion_r51119570","pull_request_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1133","_links":{"self":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/comments/51119570"},"html":{"href":"https://github.com/cooperative-computing-lab/cctools/pull/1133#discussion_r51119570"},"pull_request":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1133"}}},"pull_request":{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1133","id":57415720,"html_url":"https://github.com/cooperative-computing-lab/cctools/pull/1133","diff_url":"https://github.com/cooperative-computing-lab/cctools/pull/1133.diff","patch_url":"https://github.com/cooperative-computing-lab/cctools/pull/1133.patch","issue_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1133","number":1133,"state":"open","locked":false,"title":"Adds capability to calculate expected data footprint for nodes","user":{"login":"nhazekam","id":5231159,"avatar_url":"https://avatars.githubusercontent.com/u/5231159?v=3","gravatar_id":"","url":"https://api.github.com/users/nhazekam","html_url":"https://github.com/nhazekam","followers_url":"https://api.github.com/users/nhazekam/followers","following_url":"https://api.github.com/users/nhazekam/following{/other_user}","gists_url":"https://api.github.com/users/nhazekam/gists{/gist_id}","starred_url":"https://api.github.com/users/nhazekam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhazekam/subscriptions","organizations_url":"https://api.github.com/users/nhazekam/orgs","repos_url":"https://api.github.com/users/nhazekam/repos","events_url":"https://api.github.com/users/nhazekam/events{/privacy}","received_events_url":"https://api.github.com/users/nhazekam/received_events","type":"User","site_admin":false},"body":"@btovar Give this a look when you can. Let me know if there are questions, particularly about descendant calculations.","created_at":"2016-01-27T20:14:13Z","updated_at":"2016-01-28T13:11:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e6a75d7e3de0f844c50584e60ef47bcb730aa73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1133/commits","review_comments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1133/comments","review_comment_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1133/comments","statuses_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/statuses/54288ba4ecb95ee1df2fdb7d4c1b311e7c5efaf1","head":{"label":"nhazekam:storage_limit","ref":"storage_limit","sha":"54288ba4ecb95ee1df2fdb7d4c1b311e7c5efaf1","user":{"login":"nhazekam","id":5231159,"avatar_url":"https://avatars.githubusercontent.com/u/5231159?v=3","gravatar_id":"","url":"https://api.github.com/users/nhazekam","html_url":"https://github.com/nhazekam","followers_url":"https://api.github.com/users/nhazekam/followers","following_url":"https://api.github.com/users/nhazekam/following{/other_user}","gists_url":"https://api.github.com/users/nhazekam/gists{/gist_id}","starred_url":"https://api.github.com/users/nhazekam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhazekam/subscriptions","organizations_url":"https://api.github.com/users/nhazekam/orgs","repos_url":"https://api.github.com/users/nhazekam/repos","events_url":"https://api.github.com/users/nhazekam/events{/privacy}","received_events_url":"https://api.github.com/users/nhazekam/received_events","type":"User","site_admin":false},"repo":{"id":13475227,"name":"cctools","full_name":"nhazekam/cctools","owner":{"login":"nhazekam","id":5231159,"avatar_url":"https://avatars.githubusercontent.com/u/5231159?v=3","gravatar_id":"","url":"https://api.github.com/users/nhazekam","html_url":"https://github.com/nhazekam","followers_url":"https://api.github.com/users/nhazekam/followers","following_url":"https://api.github.com/users/nhazekam/following{/other_user}","gists_url":"https://api.github.com/users/nhazekam/gists{/gist_id}","starred_url":"https://api.github.com/users/nhazekam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhazekam/subscriptions","organizations_url":"https://api.github.com/users/nhazekam/orgs","repos_url":"https://api.github.com/users/nhazekam/repos","events_url":"https://api.github.com/users/nhazekam/events{/privacy}","received_events_url":"https://api.github.com/users/nhazekam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nhazekam/cctools","description":"The Cooperative Computing Tools (cctools) enable large scale distributed computations to harness hundreds to thousands of machines from clusters, clouds, and grids.","fork":true,"url":"https://api.github.com/repos/nhazekam/cctools","forks_url":"https://api.github.com/repos/nhazekam/cctools/forks","keys_url":"https://api.github.com/repos/nhazekam/cctools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhazekam/cctools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhazekam/cctools/teams","hooks_url":"https://api.github.com/repos/nhazekam/cctools/hooks","issue_events_url":"https://api.github.com/repos/nhazekam/cctools/issues/events{/number}","events_url":"https://api.github.com/repos/nhazekam/cctools/events","assignees_url":"https://api.github.com/repos/nhazekam/cctools/assignees{/user}","branches_url":"https://api.github.com/repos/nhazekam/cctools/branches{/branch}","tags_url":"https://api.github.com/repos/nhazekam/cctools/tags","blobs_url":"https://api.github.com/repos/nhazekam/cctools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhazekam/cctools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhazekam/cctools/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhazekam/cctools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhazekam/cctools/statuses/{sha}","languages_url":"https://api.github.com/repos/nhazekam/cctools/languages","stargazers_url":"https://api.github.com/repos/nhazekam/cctools/stargazers","contributors_url":"https://api.github.com/repos/nhazekam/cctools/contributors","subscribers_url":"https://api.github.com/repos/nhazekam/cctools/subscribers","subscription_url":"https://api.github.com/repos/nhazekam/cctools/subscription","commits_url":"https://api.github.com/repos/nhazekam/cctools/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhazekam/cctools/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhazekam/cctools/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhazekam/cctools/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhazekam/cctools/contents/{+path}","compare_url":"https://api.github.com/repos/nhazekam/cctools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhazekam/cctools/merges","archive_url":"https://api.github.com/repos/nhazekam/cctools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhazekam/cctools/downloads","issues_url":"https://api.github.com/repos/nhazekam/cctools/issues{/number}","pulls_url":"https://api.github.com/repos/nhazekam/cctools/pulls{/number}","milestones_url":"https://api.github.com/repos/nhazekam/cctools/milestones{/number}","notifications_url":"https://api.github.com/repos/nhazekam/cctools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhazekam/cctools/labels{/name}","releases_url":"https://api.github.com/repos/nhazekam/cctools/releases{/id}","deployments_url":"https://api.github.com/repos/nhazekam/cctools/deployments","created_at":"2013-10-10T15:27:16Z","updated_at":"2015-05-04T13:32:33Z","pushed_at":"2016-01-27T20:24:38Z","git_url":"git://github.com/nhazekam/cctools.git","ssh_url":"git@github.com:nhazekam/cctools.git","clone_url":"https://github.com/nhazekam/cctools.git","svn_url":"https://github.com/nhazekam/cctools","homepage":"http://www.nd.edu/~ccl/","size":75941,"stargazers_count":0,"watchers_count":0,"language":"C","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":"cooperative-computing-lab:master","ref":"master","sha":"b72bd46a850d48c4fe2f1d78437b4b83aee135c5","user":{"login":"cooperative-computing-lab","id":2520573,"avatar_url":"https://avatars.githubusercontent.com/u/2520573?v=3","gravatar_id":"","url":"https://api.github.com/users/cooperative-computing-lab","html_url":"https://github.com/cooperative-computing-lab","followers_url":"https://api.github.com/users/cooperative-computing-lab/followers","following_url":"https://api.github.com/users/cooperative-computing-lab/following{/other_user}","gists_url":"https://api.github.com/users/cooperative-computing-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/cooperative-computing-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooperative-computing-lab/subscriptions","organizations_url":"https://api.github.com/users/cooperative-computing-lab/orgs","repos_url":"https://api.github.com/users/cooperative-computing-lab/repos","events_url":"https://api.github.com/users/cooperative-computing-lab/events{/privacy}","received_events_url":"https://api.github.com/users/cooperative-computing-lab/received_events","type":"Organization","site_admin":false},"repo":{"id":8759937,"name":"cctools","full_name":"cooperative-computing-lab/cctools","owner":{"login":"cooperative-computing-lab","id":2520573,"avatar_url":"https://avatars.githubusercontent.com/u/2520573?v=3","gravatar_id":"","url":"https://api.github.com/users/cooperative-computing-lab","html_url":"https://github.com/cooperative-computing-lab","followers_url":"https://api.github.com/users/cooperative-computing-lab/followers","following_url":"https://api.github.com/users/cooperative-computing-lab/following{/other_user}","gists_url":"https://api.github.com/users/cooperative-computing-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/cooperative-computing-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooperative-computing-lab/subscriptions","organizations_url":"https://api.github.com/users/cooperative-computing-lab/orgs","repos_url":"https://api.github.com/users/cooperative-computing-lab/repos","events_url":"https://api.github.com/users/cooperative-computing-lab/events{/privacy}","received_events_url":"https://api.github.com/users/cooperative-computing-lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cooperative-computing-lab/cctools","description":"The Cooperative Computing Tools (cctools) enable large scale distributed computations to harness hundreds to thousands of machines from clusters, clouds, and grids.","fork":false,"url":"https://api.github.com/repos/cooperative-computing-lab/cctools","forks_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/forks","keys_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/teams","hooks_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/hooks","issue_events_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/events{/number}","events_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/events","assignees_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/assignees{/user}","branches_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/branches{/branch}","tags_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/tags","blobs_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/refs{/sha}","trees_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/statuses/{sha}","languages_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/languages","stargazers_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/stargazers","contributors_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/contributors","subscribers_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/subscribers","subscription_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/subscription","commits_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/commits{/sha}","git_commits_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/commits{/sha}","comments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/comments{/number}","issue_comment_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/comments{/number}","contents_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/contents/{+path}","compare_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/merges","archive_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/downloads","issues_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues{/number}","pulls_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls{/number}","milestones_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/milestones{/number}","notifications_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/labels{/name}","releases_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/releases{/id}","deployments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/deployments","created_at":"2013-03-13T19:39:45Z","updated_at":"2016-01-20T09:18:45Z","pushed_at":"2016-01-28T12:27:37Z","git_url":"git://github.com/cooperative-computing-lab/cctools.git","ssh_url":"git@github.com:cooperative-computing-lab/cctools.git","clone_url":"https://github.com/cooperative-computing-lab/cctools.git","svn_url":"https://github.com/cooperative-computing-lab/cctools","homepage":"http://ccl.cse.nd.edu","size":85800,"stargazers_count":40,"watchers_count":40,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":81,"forks":53,"open_issues":81,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1133"},"html":{"href":"https://github.com/cooperative-computing-lab/cctools/pull/1133"},"issue":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1133"},"comments":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1133/comments"},"review_comments":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1133/comments"},"review_comment":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1133/commits"},"statuses":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/statuses/54288ba4ecb95ee1df2fdb7d4c1b311e7c5efaf1"}}}}