{"action":"created","comment":{"url":"https://api.github.com/repos/discoteq/flock/pulls/comments/221397250","pull_request_review_id":160044438,"id":221397250,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTM5NzI1MA==","diff_hunk":"@@ -134,9 +136,12 @@ int main(int argc, char *argv[]) {\n \tint type = LOCK_EX; // -su\n \n \tbool have_timeout = false; // -w\n+\tbool verbose = false; // --verbose\n \tdouble raw_timeval;\n+\tint status_time_conflict = EXIT_FAILURE; // -E default to EXIT_FAILURE\n \tstruct itimerval timer, old_timer;\n \tstruct sigaction sa, old_sa;\n+    struct timeval t_l_req, t_l_acq; // verbose time lock request and acquire","path":"src/flock.c","position":44,"original_position":44,"commit_id":"d8cfa0cc8572a1d5a6878d4f535b3b535f095904","original_commit_id":"d8cfa0cc8572a1d5a6878d4f535b3b535f095904","user":{"login":"josephholsten","id":7495,"node_id":"MDQ6VXNlcjc0OTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7495?v=4","gravatar_id":"","url":"https://api.github.com/users/josephholsten","html_url":"https://github.com/josephholsten","followers_url":"https://api.github.com/users/josephholsten/followers","following_url":"https://api.github.com/users/josephholsten/following{/other_user}","gists_url":"https://api.github.com/users/josephholsten/gists{/gist_id}","starred_url":"https://api.github.com/users/josephholsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephholsten/subscriptions","organizations_url":"https://api.github.com/users/josephholsten/orgs","repos_url":"https://api.github.com/users/josephholsten/repos","events_url":"https://api.github.com/users/josephholsten/events{/privacy}","received_events_url":"https://api.github.com/users/josephholsten/received_events","type":"User","site_admin":false},"body":"indentation is off","created_at":"2018-09-28T22:39:45Z","updated_at":"2018-09-28T22:39:45Z","html_url":"https://github.com/discoteq/flock/pull/20#discussion_r221397250","pull_request_url":"https://api.github.com/repos/discoteq/flock/pulls/20","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/discoteq/flock/pulls/comments/221397250"},"html":{"href":"https://github.com/discoteq/flock/pull/20#discussion_r221397250"},"pull_request":{"href":"https://api.github.com/repos/discoteq/flock/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/discoteq/flock/pulls/20","id":215788358,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1Nzg4MzU4","html_url":"https://github.com/discoteq/flock/pull/20","diff_url":"https://github.com/discoteq/flock/pull/20.diff","patch_url":"https://github.com/discoteq/flock/pull/20.patch","issue_url":"https://api.github.com/repos/discoteq/flock/issues/20","number":20,"state":"open","locked":false,"title":"Added support for -E exit status, --verbose an documentation update","user":{"login":"jayjlawrence","id":1862335,"node_id":"MDQ6VXNlcjE4NjIzMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1862335?v=4","gravatar_id":"","url":"https://api.github.com/users/jayjlawrence","html_url":"https://github.com/jayjlawrence","followers_url":"https://api.github.com/users/jayjlawrence/followers","following_url":"https://api.github.com/users/jayjlawrence/following{/other_user}","gists_url":"https://api.github.com/users/jayjlawrence/gists{/gist_id}","starred_url":"https://api.github.com/users/jayjlawrence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayjlawrence/subscriptions","organizations_url":"https://api.github.com/users/jayjlawrence/orgs","repos_url":"https://api.github.com/users/jayjlawrence/repos","events_url":"https://api.github.com/users/jayjlawrence/events{/privacy}","received_events_url":"https://api.github.com/users/jayjlawrence/received_events","type":"User","site_admin":false},"body":"I needed an option for flock to work with a script. So rounding out the options from the other flock I ;ve also added - E and --verbose plus updated the documentation to include the long opts. I hope that I have not mangled the ronn formatting too much. \r\n\r\nOh, and the -w option was not working correctly so I've fixed that too.\r\n\r\nAny chance that a new release can be produced and update the brew tap?","created_at":"2018-09-15T20:37:19Z","updated_at":"2018-09-28T22:39:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"358cb91677b2de34c35678a03071cbee211376e2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/discoteq/flock/pulls/20/commits","review_comments_url":"https://api.github.com/repos/discoteq/flock/pulls/20/comments","review_comment_url":"https://api.github.com/repos/discoteq/flock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/discoteq/flock/issues/20/comments","statuses_url":"https://api.github.com/repos/discoteq/flock/statuses/d8cfa0cc8572a1d5a6878d4f535b3b535f095904","head":{"label":"jayjlawrence:master","ref":"master","sha":"d8cfa0cc8572a1d5a6878d4f535b3b535f095904","user":{"login":"jayjlawrence","id":1862335,"node_id":"MDQ6VXNlcjE4NjIzMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1862335?v=4","gravatar_id":"","url":"https://api.github.com/users/jayjlawrence","html_url":"https://github.com/jayjlawrence","followers_url":"https://api.github.com/users/jayjlawrence/followers","following_url":"https://api.github.com/users/jayjlawrence/following{/other_user}","gists_url":"https://api.github.com/users/jayjlawrence/gists{/gist_id}","starred_url":"https://api.github.com/users/jayjlawrence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayjlawrence/subscriptions","organizations_url":"https://api.github.com/users/jayjlawrence/orgs","repos_url":"https://api.github.com/users/jayjlawrence/repos","events_url":"https://api.github.com/users/jayjlawrence/events{/privacy}","received_events_url":"https://api.github.com/users/jayjlawrence/received_events","type":"User","site_admin":false},"repo":{"id":148921138,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg5MjExMzg=","name":"flock","full_name":"jayjlawrence/flock","private":false,"owner":{"login":"jayjlawrence","id":1862335,"node_id":"MDQ6VXNlcjE4NjIzMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1862335?v=4","gravatar_id":"","url":"https://api.github.com/users/jayjlawrence","html_url":"https://github.com/jayjlawrence","followers_url":"https://api.github.com/users/jayjlawrence/followers","following_url":"https://api.github.com/users/jayjlawrence/following{/other_user}","gists_url":"https://api.github.com/users/jayjlawrence/gists{/gist_id}","starred_url":"https://api.github.com/users/jayjlawrence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayjlawrence/subscriptions","organizations_url":"https://api.github.com/users/jayjlawrence/orgs","repos_url":"https://api.github.com/users/jayjlawrence/repos","events_url":"https://api.github.com/users/jayjlawrence/events{/privacy}","received_events_url":"https://api.github.com/users/jayjlawrence/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jayjlawrence/flock","description":"flock(1) locks files","fork":true,"url":"https://api.github.com/repos/jayjlawrence/flock","forks_url":"https://api.github.com/repos/jayjlawrence/flock/forks","keys_url":"https://api.github.com/repos/jayjlawrence/flock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayjlawrence/flock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayjlawrence/flock/teams","hooks_url":"https://api.github.com/repos/jayjlawrence/flock/hooks","issue_events_url":"https://api.github.com/repos/jayjlawrence/flock/issues/events{/number}","events_url":"https://api.github.com/repos/jayjlawrence/flock/events","assignees_url":"https://api.github.com/repos/jayjlawrence/flock/assignees{/user}","branches_url":"https://api.github.com/repos/jayjlawrence/flock/branches{/branch}","tags_url":"https://api.github.com/repos/jayjlawrence/flock/tags","blobs_url":"https://api.github.com/repos/jayjlawrence/flock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayjlawrence/flock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayjlawrence/flock/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayjlawrence/flock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayjlawrence/flock/statuses/{sha}","languages_url":"https://api.github.com/repos/jayjlawrence/flock/languages","stargazers_url":"https://api.github.com/repos/jayjlawrence/flock/stargazers","contributors_url":"https://api.github.com/repos/jayjlawrence/flock/contributors","subscribers_url":"https://api.github.com/repos/jayjlawrence/flock/subscribers","subscription_url":"https://api.github.com/repos/jayjlawrence/flock/subscription","commits_url":"https://api.github.com/repos/jayjlawrence/flock/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayjlawrence/flock/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayjlawrence/flock/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayjlawrence/flock/issues/comments{/number}","contents_url":"https://api.github.com/repos/jayjlawrence/flock/contents/{+path}","compare_url":"https://api.github.com/repos/jayjlawrence/flock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayjlawrence/flock/merges","archive_url":"https://api.github.com/repos/jayjlawrence/flock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayjlawrence/flock/downloads","issues_url":"https://api.github.com/repos/jayjlawrence/flock/issues{/number}","pulls_url":"https://api.github.com/repos/jayjlawrence/flock/pulls{/number}","milestones_url":"https://api.github.com/repos/jayjlawrence/flock/milestones{/number}","notifications_url":"https://api.github.com/repos/jayjlawrence/flock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayjlawrence/flock/labels{/name}","releases_url":"https://api.github.com/repos/jayjlawrence/flock/releases{/id}","deployments_url":"https://api.github.com/repos/jayjlawrence/flock/deployments","created_at":"2018-09-15T16:50:57Z","updated_at":"2018-09-15T19:57:34Z","pushed_at":"2018-09-15T19:57:32Z","git_url":"git://github.com/jayjlawrence/flock.git","ssh_url":"git@github.com:jayjlawrence/flock.git","clone_url":"https://github.com/jayjlawrence/flock.git","svn_url":"https://github.com/jayjlawrence/flock","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"discoteq:master","ref":"master","sha":"072b163514f69d3854f7f0dff20c6cba1ab7f1d6","user":{"login":"discoteq","id":8220668,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyMjA2Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/8220668?v=4","gravatar_id":"","url":"https://api.github.com/users/discoteq","html_url":"https://github.com/discoteq","followers_url":"https://api.github.com/users/discoteq/followers","following_url":"https://api.github.com/users/discoteq/following{/other_user}","gists_url":"https://api.github.com/users/discoteq/gists{/gist_id}","starred_url":"https://api.github.com/users/discoteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discoteq/subscriptions","organizations_url":"https://api.github.com/users/discoteq/orgs","repos_url":"https://api.github.com/users/discoteq/repos","events_url":"https://api.github.com/users/discoteq/events{/privacy}","received_events_url":"https://api.github.com/users/discoteq/received_events","type":"Organization","site_admin":false},"repo":{"id":23032276,"node_id":"MDEwOlJlcG9zaXRvcnkyMzAzMjI3Ng==","name":"flock","full_name":"discoteq/flock","private":false,"owner":{"login":"discoteq","id":8220668,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyMjA2Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/8220668?v=4","gravatar_id":"","url":"https://api.github.com/users/discoteq","html_url":"https://github.com/discoteq","followers_url":"https://api.github.com/users/discoteq/followers","following_url":"https://api.github.com/users/discoteq/following{/other_user}","gists_url":"https://api.github.com/users/discoteq/gists{/gist_id}","starred_url":"https://api.github.com/users/discoteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discoteq/subscriptions","organizations_url":"https://api.github.com/users/discoteq/orgs","repos_url":"https://api.github.com/users/discoteq/repos","events_url":"https://api.github.com/users/discoteq/events{/privacy}","received_events_url":"https://api.github.com/users/discoteq/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/discoteq/flock","description":"flock(1) locks files","fork":false,"url":"https://api.github.com/repos/discoteq/flock","forks_url":"https://api.github.com/repos/discoteq/flock/forks","keys_url":"https://api.github.com/repos/discoteq/flock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discoteq/flock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discoteq/flock/teams","hooks_url":"https://api.github.com/repos/discoteq/flock/hooks","issue_events_url":"https://api.github.com/repos/discoteq/flock/issues/events{/number}","events_url":"https://api.github.com/repos/discoteq/flock/events","assignees_url":"https://api.github.com/repos/discoteq/flock/assignees{/user}","branches_url":"https://api.github.com/repos/discoteq/flock/branches{/branch}","tags_url":"https://api.github.com/repos/discoteq/flock/tags","blobs_url":"https://api.github.com/repos/discoteq/flock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discoteq/flock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discoteq/flock/git/refs{/sha}","trees_url":"https://api.github.com/repos/discoteq/flock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discoteq/flock/statuses/{sha}","languages_url":"https://api.github.com/repos/discoteq/flock/languages","stargazers_url":"https://api.github.com/repos/discoteq/flock/stargazers","contributors_url":"https://api.github.com/repos/discoteq/flock/contributors","subscribers_url":"https://api.github.com/repos/discoteq/flock/subscribers","subscription_url":"https://api.github.com/repos/discoteq/flock/subscription","commits_url":"https://api.github.com/repos/discoteq/flock/commits{/sha}","git_commits_url":"https://api.github.com/repos/discoteq/flock/git/commits{/sha}","comments_url":"https://api.github.com/repos/discoteq/flock/comments{/number}","issue_comment_url":"https://api.github.com/repos/discoteq/flock/issues/comments{/number}","contents_url":"https://api.github.com/repos/discoteq/flock/contents/{+path}","compare_url":"https://api.github.com/repos/discoteq/flock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discoteq/flock/merges","archive_url":"https://api.github.com/repos/discoteq/flock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discoteq/flock/downloads","issues_url":"https://api.github.com/repos/discoteq/flock/issues{/number}","pulls_url":"https://api.github.com/repos/discoteq/flock/pulls{/number}","milestones_url":"https://api.github.com/repos/discoteq/flock/milestones{/number}","notifications_url":"https://api.github.com/repos/discoteq/flock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discoteq/flock/labels{/name}","releases_url":"https://api.github.com/repos/discoteq/flock/releases{/id}","deployments_url":"https://api.github.com/repos/discoteq/flock/deployments","created_at":"2014-08-17T03:19:58Z","updated_at":"2018-09-24T21:02:46Z","pushed_at":"2018-09-15T20:37:19Z","git_url":"git://github.com/discoteq/flock.git","ssh_url":"git@github.com:discoteq/flock.git","clone_url":"https://github.com/discoteq/flock.git","svn_url":"https://github.com/discoteq/flock","homepage":null,"size":29,"stargazers_count":54,"watchers_count":54,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":7,"open_issues":14,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/discoteq/flock/pulls/20"},"html":{"href":"https://github.com/discoteq/flock/pull/20"},"issue":{"href":"https://api.github.com/repos/discoteq/flock/issues/20"},"comments":{"href":"https://api.github.com/repos/discoteq/flock/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/discoteq/flock/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/discoteq/flock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/discoteq/flock/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/discoteq/flock/statuses/d8cfa0cc8572a1d5a6878d4f535b3b535f095904"}},"author_association":"NONE"}}
{"actor":{"display_login":"josephholsten"}}