{"action":"created","comment":{"url":"https://api.github.com/repos/pulp/pulp/pulls/comments/91139175","pull_request_review_id":11648616,"id":91139175,"diff_hunk":"@@ -54,6 +54,10 @@ def parse_args():\n     parser.add_option('--dry-run', action='store_true', dest='dry_run', default=False,\n                       help=_('Perform a dry run with no changes made. Returns 1 if there are '\n                              'migrations to apply.'))\n+\n+    parser.add_option('--ignore-running-workers', action='store_true',\n+                      dest='ignore_running_workers', default=False,\n+                      help=_('Ignore running workers when migration is performed.'))","path":"server/pulp/server/db/manage.py","position":7,"original_position":7,"commit_id":"68fb905f2ffa97a2f3a7ade7cf19146048f04600","original_commit_id":"68fb905f2ffa97a2f3a7ade7cf19146048f04600","user":{"login":"seandst","id":441252,"avatar_url":"https://avatars.githubusercontent.com/u/441252?v=3","gravatar_id":"","url":"https://api.github.com/users/seandst","html_url":"https://github.com/seandst","followers_url":"https://api.github.com/users/seandst/followers","following_url":"https://api.github.com/users/seandst/following{/other_user}","gists_url":"https://api.github.com/users/seandst/gists{/gist_id}","starred_url":"https://api.github.com/users/seandst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seandst/subscriptions","organizations_url":"https://api.github.com/users/seandst/orgs","repos_url":"https://api.github.com/users/seandst/repos","events_url":"https://api.github.com/users/seandst/events{/privacy}","received_events_url":"https://api.github.com/users/seandst/received_events","type":"User","site_admin":false},"body":"I'd like slightly more detailed help text for this, along the lines of \"You must ensure that all running workers are stopped before using this flag.\" I'll be adding more detail to the release notes and announcements.","created_at":"2016-12-06T18:22:53Z","updated_at":"2016-12-06T18:24:41Z","html_url":"https://github.com/pulp/pulp/pull/2877#discussion_r91139175","pull_request_url":"https://api.github.com/repos/pulp/pulp/pulls/2877","_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments/91139175"},"html":{"href":"https://github.com/pulp/pulp/pull/2877#discussion_r91139175"},"pull_request":{"href":"https://api.github.com/repos/pulp/pulp/pulls/2877"}}},"pull_request":{"url":"https://api.github.com/repos/pulp/pulp/pulls/2877","id":96776938,"html_url":"https://github.com/pulp/pulp/pull/2877","diff_url":"https://github.com/pulp/pulp/pull/2877.diff","patch_url":"https://github.com/pulp/pulp/pull/2877.patch","issue_url":"https://api.github.com/repos/pulp/pulp/issues/2877","number":2877,"state":"open","locked":false,"title":"Add --ignore-running-workers option to pulp-manage-db","user":{"login":"werwty","id":6206134,"avatar_url":"https://avatars.githubusercontent.com/u/6206134?v=3","gravatar_id":"","url":"https://api.github.com/users/werwty","html_url":"https://github.com/werwty","followers_url":"https://api.github.com/users/werwty/followers","following_url":"https://api.github.com/users/werwty/following{/other_user}","gists_url":"https://api.github.com/users/werwty/gists{/gist_id}","starred_url":"https://api.github.com/users/werwty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/werwty/subscriptions","organizations_url":"https://api.github.com/users/werwty/orgs","repos_url":"https://api.github.com/users/werwty/repos","events_url":"https://api.github.com/users/werwty/events{/privacy}","received_events_url":"https://api.github.com/users/werwty/received_events","type":"User","site_admin":false},"body":"closes #2469\r\nhttps://pulp.plan.io/issues/2469","created_at":"2016-12-06T18:14:02Z","updated_at":"2016-12-06T18:24:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e3b9149abf0f5356ff5cd6b2fb02a6174af0e1f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pulp/pulp/pulls/2877/commits","review_comments_url":"https://api.github.com/repos/pulp/pulp/pulls/2877/comments","review_comment_url":"https://api.github.com/repos/pulp/pulp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pulp/pulp/issues/2877/comments","statuses_url":"https://api.github.com/repos/pulp/pulp/statuses/68fb905f2ffa97a2f3a7ade7cf19146048f04600","head":{"label":"werwty:bugfix/2469","ref":"bugfix/2469","sha":"68fb905f2ffa97a2f3a7ade7cf19146048f04600","user":{"login":"werwty","id":6206134,"avatar_url":"https://avatars.githubusercontent.com/u/6206134?v=3","gravatar_id":"","url":"https://api.github.com/users/werwty","html_url":"https://github.com/werwty","followers_url":"https://api.github.com/users/werwty/followers","following_url":"https://api.github.com/users/werwty/following{/other_user}","gists_url":"https://api.github.com/users/werwty/gists{/gist_id}","starred_url":"https://api.github.com/users/werwty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/werwty/subscriptions","organizations_url":"https://api.github.com/users/werwty/orgs","repos_url":"https://api.github.com/users/werwty/repos","events_url":"https://api.github.com/users/werwty/events{/privacy}","received_events_url":"https://api.github.com/users/werwty/received_events","type":"User","site_admin":false},"repo":{"id":66582051,"name":"pulp","full_name":"werwty/pulp","owner":{"login":"werwty","id":6206134,"avatar_url":"https://avatars.githubusercontent.com/u/6206134?v=3","gravatar_id":"","url":"https://api.github.com/users/werwty","html_url":"https://github.com/werwty","followers_url":"https://api.github.com/users/werwty/followers","following_url":"https://api.github.com/users/werwty/following{/other_user}","gists_url":"https://api.github.com/users/werwty/gists{/gist_id}","starred_url":"https://api.github.com/users/werwty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/werwty/subscriptions","organizations_url":"https://api.github.com/users/werwty/orgs","repos_url":"https://api.github.com/users/werwty/repos","events_url":"https://api.github.com/users/werwty/events{/privacy}","received_events_url":"https://api.github.com/users/werwty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/werwty/pulp","description":"Repository for Pulp platform code, including the server and base admin and consumer clients","fork":true,"url":"https://api.github.com/repos/werwty/pulp","forks_url":"https://api.github.com/repos/werwty/pulp/forks","keys_url":"https://api.github.com/repos/werwty/pulp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/werwty/pulp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/werwty/pulp/teams","hooks_url":"https://api.github.com/repos/werwty/pulp/hooks","issue_events_url":"https://api.github.com/repos/werwty/pulp/issues/events{/number}","events_url":"https://api.github.com/repos/werwty/pulp/events","assignees_url":"https://api.github.com/repos/werwty/pulp/assignees{/user}","branches_url":"https://api.github.com/repos/werwty/pulp/branches{/branch}","tags_url":"https://api.github.com/repos/werwty/pulp/tags","blobs_url":"https://api.github.com/repos/werwty/pulp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/werwty/pulp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/werwty/pulp/git/refs{/sha}","trees_url":"https://api.github.com/repos/werwty/pulp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/werwty/pulp/statuses/{sha}","languages_url":"https://api.github.com/repos/werwty/pulp/languages","stargazers_url":"https://api.github.com/repos/werwty/pulp/stargazers","contributors_url":"https://api.github.com/repos/werwty/pulp/contributors","subscribers_url":"https://api.github.com/repos/werwty/pulp/subscribers","subscription_url":"https://api.github.com/repos/werwty/pulp/subscription","commits_url":"https://api.github.com/repos/werwty/pulp/commits{/sha}","git_commits_url":"https://api.github.com/repos/werwty/pulp/git/commits{/sha}","comments_url":"https://api.github.com/repos/werwty/pulp/comments{/number}","issue_comment_url":"https://api.github.com/repos/werwty/pulp/issues/comments{/number}","contents_url":"https://api.github.com/repos/werwty/pulp/contents/{+path}","compare_url":"https://api.github.com/repos/werwty/pulp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/werwty/pulp/merges","archive_url":"https://api.github.com/repos/werwty/pulp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/werwty/pulp/downloads","issues_url":"https://api.github.com/repos/werwty/pulp/issues{/number}","pulls_url":"https://api.github.com/repos/werwty/pulp/pulls{/number}","milestones_url":"https://api.github.com/repos/werwty/pulp/milestones{/number}","notifications_url":"https://api.github.com/repos/werwty/pulp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/werwty/pulp/labels{/name}","releases_url":"https://api.github.com/repos/werwty/pulp/releases{/id}","deployments_url":"https://api.github.com/repos/werwty/pulp/deployments","created_at":"2016-08-25T18:13:52Z","updated_at":"2016-10-06T17:29:50Z","pushed_at":"2016-12-06T18:11:41Z","git_url":"git://github.com/werwty/pulp.git","ssh_url":"git@github.com:werwty/pulp.git","clone_url":"https://github.com/werwty/pulp.git","svn_url":"https://github.com/werwty/pulp","homepage":"","size":93338,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"pulp:2.11-dev","ref":"2.11-dev","sha":"81c0d56902aaf1b31e3b06549c28e3a384b212bb","user":{"login":"pulp","id":2103606,"avatar_url":"https://avatars.githubusercontent.com/u/2103606?v=3","gravatar_id":"","url":"https://api.github.com/users/pulp","html_url":"https://github.com/pulp","followers_url":"https://api.github.com/users/pulp/followers","following_url":"https://api.github.com/users/pulp/following{/other_user}","gists_url":"https://api.github.com/users/pulp/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp/subscriptions","organizations_url":"https://api.github.com/users/pulp/orgs","repos_url":"https://api.github.com/users/pulp/repos","events_url":"https://api.github.com/users/pulp/events{/privacy}","received_events_url":"https://api.github.com/users/pulp/received_events","type":"Organization","site_admin":false},"repo":{"id":5314652,"name":"pulp","full_name":"pulp/pulp","owner":{"login":"pulp","id":2103606,"avatar_url":"https://avatars.githubusercontent.com/u/2103606?v=3","gravatar_id":"","url":"https://api.github.com/users/pulp","html_url":"https://github.com/pulp","followers_url":"https://api.github.com/users/pulp/followers","following_url":"https://api.github.com/users/pulp/following{/other_user}","gists_url":"https://api.github.com/users/pulp/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp/subscriptions","organizations_url":"https://api.github.com/users/pulp/orgs","repos_url":"https://api.github.com/users/pulp/repos","events_url":"https://api.github.com/users/pulp/events{/privacy}","received_events_url":"https://api.github.com/users/pulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulp/pulp","description":"Repository for Pulp platform code, including the server and base admin and consumer clients","fork":false,"url":"https://api.github.com/repos/pulp/pulp","forks_url":"https://api.github.com/repos/pulp/pulp/forks","keys_url":"https://api.github.com/repos/pulp/pulp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulp/pulp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulp/pulp/teams","hooks_url":"https://api.github.com/repos/pulp/pulp/hooks","issue_events_url":"https://api.github.com/repos/pulp/pulp/issues/events{/number}","events_url":"https://api.github.com/repos/pulp/pulp/events","assignees_url":"https://api.github.com/repos/pulp/pulp/assignees{/user}","branches_url":"https://api.github.com/repos/pulp/pulp/branches{/branch}","tags_url":"https://api.github.com/repos/pulp/pulp/tags","blobs_url":"https://api.github.com/repos/pulp/pulp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulp/pulp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulp/pulp/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulp/pulp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulp/pulp/statuses/{sha}","languages_url":"https://api.github.com/repos/pulp/pulp/languages","stargazers_url":"https://api.github.com/repos/pulp/pulp/stargazers","contributors_url":"https://api.github.com/repos/pulp/pulp/contributors","subscribers_url":"https://api.github.com/repos/pulp/pulp/subscribers","subscription_url":"https://api.github.com/repos/pulp/pulp/subscription","commits_url":"https://api.github.com/repos/pulp/pulp/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulp/pulp/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulp/pulp/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulp/pulp/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulp/pulp/contents/{+path}","compare_url":"https://api.github.com/repos/pulp/pulp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulp/pulp/merges","archive_url":"https://api.github.com/repos/pulp/pulp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulp/pulp/downloads","issues_url":"https://api.github.com/repos/pulp/pulp/issues{/number}","pulls_url":"https://api.github.com/repos/pulp/pulp/pulls{/number}","milestones_url":"https://api.github.com/repos/pulp/pulp/milestones{/number}","notifications_url":"https://api.github.com/repos/pulp/pulp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulp/pulp/labels{/name}","releases_url":"https://api.github.com/repos/pulp/pulp/releases{/id}","deployments_url":"https://api.github.com/repos/pulp/pulp/deployments","created_at":"2012-08-06T13:49:20Z","updated_at":"2016-12-05T02:44:41Z","pushed_at":"2016-12-06T18:14:02Z","git_url":"git://github.com/pulp/pulp.git","ssh_url":"git@github.com:pulp/pulp.git","clone_url":"https://github.com/pulp/pulp.git","svn_url":"https://github.com/pulp/pulp","homepage":"","size":103535,"stargazers_count":294,"watchers_count":294,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":111,"mirror_url":null,"open_issues_count":21,"forks":111,"open_issues":21,"watchers":294,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/2877"},"html":{"href":"https://github.com/pulp/pulp/pull/2877"},"issue":{"href":"https://api.github.com/repos/pulp/pulp/issues/2877"},"comments":{"href":"https://api.github.com/repos/pulp/pulp/issues/2877/comments"},"review_comments":{"href":"https://api.github.com/repos/pulp/pulp/pulls/2877/comments"},"review_comment":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pulp/pulp/pulls/2877/commits"},"statuses":{"href":"https://api.github.com/repos/pulp/pulp/statuses/68fb905f2ffa97a2f3a7ade7cf19146048f04600"}}}}
{"actor":{"display_login":"seandst"}}