{"action":"closed","number":41,"pull_request":{"url":"https://api.github.com/repos/calmjs/calmjs/pulls/41","id":184238066,"html_url":"https://github.com/calmjs/calmjs/pull/41","diff_url":"https://github.com/calmjs/calmjs/pull/41.diff","patch_url":"https://github.com/calmjs/calmjs/pull/41.patch","issue_url":"https://api.github.com/repos/calmjs/calmjs/issues/41","number":41,"state":"closed","locked":false,"title":"Various fixes to the runtime/argparse interactions","user":{"login":"metatoaster","id":372914,"avatar_url":"https://avatars2.githubusercontent.com/u/372914?v=4","gravatar_id":"","url":"https://api.github.com/users/metatoaster","html_url":"https://github.com/metatoaster","followers_url":"https://api.github.com/users/metatoaster/followers","following_url":"https://api.github.com/users/metatoaster/following{/other_user}","gists_url":"https://api.github.com/users/metatoaster/gists{/gist_id}","starred_url":"https://api.github.com/users/metatoaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metatoaster/subscriptions","organizations_url":"https://api.github.com/users/metatoaster/orgs","repos_url":"https://api.github.com/users/metatoaster/repos","events_url":"https://api.github.com/users/metatoaster/events{/privacy}","received_events_url":"https://api.github.com/users/metatoaster/received_events","type":"User","site_admin":false},"body":"Provide a comprehensive fix for the incorrect reporting of the responsible subparser when unrecognized arguments were provided, fully correcting the behavior as documented in relevant Troubleshooting subsection in the top-level documentation.  The fix will now report _all_ subparsers that unrecognized arguments.  For instance, previous behavior:\r\n\r\n```\r\n$ calmjs karma --build-dir=foo webpack package --cover-artifact\r\nusage: calmjs karma [-h] [-d] [-q] [-v] [-V]\r\n                    ...\r\n                    [--cover-artifact] [--no-wrap-tests] [--cover-bundle] [-I]\r\n                    <command> ...\r\ncalmjs karma: error: unrecognized arguments: --build-dir=foo --cover-artifact\r\n```\r\n\r\nNote how the the `--cover-artifact` flag was reported to be missing and that the help text show that it is one of supported flags - even though it's only for `calmjs karma`; the error was triggered inside `calmjs karma webpack` as where the flag was applied and rejected as unrecognised.  Now with this set of patches, the correct behavior is realised:\r\n\r\n```\r\n$ calmjs karma --build-dir=foo webpack package --cover-artifact\r\nusage: calmjs karma [-h] [-d] [-q] [-v] [-V]\r\n                    ...\r\n                    [--cover-artifact] [--no-wrap-tests] [--cover-bundle] [-I]\r\n                    <command> ...\r\ncalmjs karma: error: unrecognized arguments: --build-dir=foo\r\nusage: calmjs karma webpack [-h] [--disable-calmjs-compat]\r\n                            ...\r\n                            [--build-dir <build_dir>]\r\n                            ...\r\n                            <package> [<package> ...]\r\ncalmjs karma webpack: error: unrecognized arguments: --cover-artifact\r\n```\r\n\r\nAlso this also fixes some Python 3.7 compatibility issues.","created_at":"2018-04-26T06:29:33Z","updated_at":"2018-04-27T00:07:53Z","closed_at":"2018-04-27T00:07:53Z","merged_at":"2018-04-27T00:07:53Z","merge_commit_sha":"855bd5ff24907136c5eee80e80fafc9715b572a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":409881101,"url":"https://api.github.com/repos/calmjs/calmjs/labels/bug","name":"bug","color":"ee0701","default":true}],"milestone":{"url":"https://api.github.com/repos/calmjs/calmjs/milestones/4","html_url":"https://github.com/calmjs/calmjs/milestone/4","labels_url":"https://api.github.com/repos/calmjs/calmjs/milestones/4/labels","id":3276078,"number":4,"title":"3.1.0","description":null,"creator":{"login":"metatoaster","id":372914,"avatar_url":"https://avatars2.githubusercontent.com/u/372914?v=4","gravatar_id":"","url":"https://api.github.com/users/metatoaster","html_url":"https://github.com/metatoaster","followers_url":"https://api.github.com/users/metatoaster/followers","following_url":"https://api.github.com/users/metatoaster/following{/other_user}","gists_url":"https://api.github.com/users/metatoaster/gists{/gist_id}","starred_url":"https://api.github.com/users/metatoaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metatoaster/subscriptions","organizations_url":"https://api.github.com/users/metatoaster/orgs","repos_url":"https://api.github.com/users/metatoaster/repos","events_url":"https://api.github.com/users/metatoaster/events{/privacy}","received_events_url":"https://api.github.com/users/metatoaster/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":9,"state":"open","created_at":"2018-04-17T22:19:31Z","updated_at":"2018-04-27T00:07:53Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/calmjs/calmjs/pulls/41/commits","review_comments_url":"https://api.github.com/repos/calmjs/calmjs/pulls/41/comments","review_comment_url":"https://api.github.com/repos/calmjs/calmjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/calmjs/calmjs/issues/41/comments","statuses_url":"https://api.github.com/repos/calmjs/calmjs/statuses/855bd5ff24907136c5eee80e80fafc9715b572a3","head":{"label":"metatoaster:reqcmd_runtime","ref":"reqcmd_runtime","sha":"855bd5ff24907136c5eee80e80fafc9715b572a3","user":{"login":"metatoaster","id":372914,"avatar_url":"https://avatars2.githubusercontent.com/u/372914?v=4","gravatar_id":"","url":"https://api.github.com/users/metatoaster","html_url":"https://github.com/metatoaster","followers_url":"https://api.github.com/users/metatoaster/followers","following_url":"https://api.github.com/users/metatoaster/following{/other_user}","gists_url":"https://api.github.com/users/metatoaster/gists{/gist_id}","starred_url":"https://api.github.com/users/metatoaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metatoaster/subscriptions","organizations_url":"https://api.github.com/users/metatoaster/orgs","repos_url":"https://api.github.com/users/metatoaster/repos","events_url":"https://api.github.com/users/metatoaster/events{/privacy}","received_events_url":"https://api.github.com/users/metatoaster/received_events","type":"User","site_admin":false},"repo":{"id":67348631,"name":"calmjs","full_name":"metatoaster/calmjs","owner":{"login":"metatoaster","id":372914,"avatar_url":"https://avatars2.githubusercontent.com/u/372914?v=4","gravatar_id":"","url":"https://api.github.com/users/metatoaster","html_url":"https://github.com/metatoaster","followers_url":"https://api.github.com/users/metatoaster/followers","following_url":"https://api.github.com/users/metatoaster/following{/other_user}","gists_url":"https://api.github.com/users/metatoaster/gists{/gist_id}","starred_url":"https://api.github.com/users/metatoaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metatoaster/subscriptions","organizations_url":"https://api.github.com/users/metatoaster/orgs","repos_url":"https://api.github.com/users/metatoaster/repos","events_url":"https://api.github.com/users/metatoaster/events{/privacy}","received_events_url":"https://api.github.com/users/metatoaster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/metatoaster/calmjs","description":"A framework for integrating JavaScript with Python","fork":true,"url":"https://api.github.com/repos/metatoaster/calmjs","forks_url":"https://api.github.com/repos/metatoaster/calmjs/forks","keys_url":"https://api.github.com/repos/metatoaster/calmjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metatoaster/calmjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metatoaster/calmjs/teams","hooks_url":"https://api.github.com/repos/metatoaster/calmjs/hooks","issue_events_url":"https://api.github.com/repos/metatoaster/calmjs/issues/events{/number}","events_url":"https://api.github.com/repos/metatoaster/calmjs/events","assignees_url":"https://api.github.com/repos/metatoaster/calmjs/assignees{/user}","branches_url":"https://api.github.com/repos/metatoaster/calmjs/branches{/branch}","tags_url":"https://api.github.com/repos/metatoaster/calmjs/tags","blobs_url":"https://api.github.com/repos/metatoaster/calmjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metatoaster/calmjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metatoaster/calmjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/metatoaster/calmjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metatoaster/calmjs/statuses/{sha}","languages_url":"https://api.github.com/repos/metatoaster/calmjs/languages","stargazers_url":"https://api.github.com/repos/metatoaster/calmjs/stargazers","contributors_url":"https://api.github.com/repos/metatoaster/calmjs/contributors","subscribers_url":"https://api.github.com/repos/metatoaster/calmjs/subscribers","subscription_url":"https://api.github.com/repos/metatoaster/calmjs/subscription","commits_url":"https://api.github.com/repos/metatoaster/calmjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/metatoaster/calmjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/metatoaster/calmjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/metatoaster/calmjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/metatoaster/calmjs/contents/{+path}","compare_url":"https://api.github.com/repos/metatoaster/calmjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metatoaster/calmjs/merges","archive_url":"https://api.github.com/repos/metatoaster/calmjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metatoaster/calmjs/downloads","issues_url":"https://api.github.com/repos/metatoaster/calmjs/issues{/number}","pulls_url":"https://api.github.com/repos/metatoaster/calmjs/pulls{/number}","milestones_url":"https://api.github.com/repos/metatoaster/calmjs/milestones{/number}","notifications_url":"https://api.github.com/repos/metatoaster/calmjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metatoaster/calmjs/labels{/name}","releases_url":"https://api.github.com/repos/metatoaster/calmjs/releases{/id}","deployments_url":"https://api.github.com/repos/metatoaster/calmjs/deployments","created_at":"2016-09-04T14:13:36Z","updated_at":"2016-09-04T14:13:38Z","pushed_at":"2018-04-26T12:30:15Z","git_url":"git://github.com/metatoaster/calmjs.git","ssh_url":"git@github.com:metatoaster/calmjs.git","clone_url":"https://github.com/metatoaster/calmjs.git","svn_url":"https://github.com/metatoaster/calmjs","homepage":"","size":819,"stargazers_count":0,"watchers_count":0,"language":"Python","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"calmjs:master","ref":"master","sha":"ee9a93b4a759c6c9cb7b8a385eb0ae5cd476a77b","user":{"login":"calmjs","id":20507014,"avatar_url":"https://avatars3.githubusercontent.com/u/20507014?v=4","gravatar_id":"","url":"https://api.github.com/users/calmjs","html_url":"https://github.com/calmjs","followers_url":"https://api.github.com/users/calmjs/followers","following_url":"https://api.github.com/users/calmjs/following{/other_user}","gists_url":"https://api.github.com/users/calmjs/gists{/gist_id}","starred_url":"https://api.github.com/users/calmjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmjs/subscriptions","organizations_url":"https://api.github.com/users/calmjs/orgs","repos_url":"https://api.github.com/users/calmjs/repos","events_url":"https://api.github.com/users/calmjs/events{/privacy}","received_events_url":"https://api.github.com/users/calmjs/received_events","type":"Organization","site_admin":false},"repo":{"id":63580256,"name":"calmjs","full_name":"calmjs/calmjs","owner":{"login":"calmjs","id":20507014,"avatar_url":"https://avatars3.githubusercontent.com/u/20507014?v=4","gravatar_id":"","url":"https://api.github.com/users/calmjs","html_url":"https://github.com/calmjs","followers_url":"https://api.github.com/users/calmjs/followers","following_url":"https://api.github.com/users/calmjs/following{/other_user}","gists_url":"https://api.github.com/users/calmjs/gists{/gist_id}","starred_url":"https://api.github.com/users/calmjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmjs/subscriptions","organizations_url":"https://api.github.com/users/calmjs/orgs","repos_url":"https://api.github.com/users/calmjs/repos","events_url":"https://api.github.com/users/calmjs/events{/privacy}","received_events_url":"https://api.github.com/users/calmjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calmjs/calmjs","description":"A Python framework for building toolchains and utilities for working with the JavaScript/Node.js ecosystem from within a Python environment.","fork":false,"url":"https://api.github.com/repos/calmjs/calmjs","forks_url":"https://api.github.com/repos/calmjs/calmjs/forks","keys_url":"https://api.github.com/repos/calmjs/calmjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calmjs/calmjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calmjs/calmjs/teams","hooks_url":"https://api.github.com/repos/calmjs/calmjs/hooks","issue_events_url":"https://api.github.com/repos/calmjs/calmjs/issues/events{/number}","events_url":"https://api.github.com/repos/calmjs/calmjs/events","assignees_url":"https://api.github.com/repos/calmjs/calmjs/assignees{/user}","branches_url":"https://api.github.com/repos/calmjs/calmjs/branches{/branch}","tags_url":"https://api.github.com/repos/calmjs/calmjs/tags","blobs_url":"https://api.github.com/repos/calmjs/calmjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calmjs/calmjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calmjs/calmjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/calmjs/calmjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calmjs/calmjs/statuses/{sha}","languages_url":"https://api.github.com/repos/calmjs/calmjs/languages","stargazers_url":"https://api.github.com/repos/calmjs/calmjs/stargazers","contributors_url":"https://api.github.com/repos/calmjs/calmjs/contributors","subscribers_url":"https://api.github.com/repos/calmjs/calmjs/subscribers","subscription_url":"https://api.github.com/repos/calmjs/calmjs/subscription","commits_url":"https://api.github.com/repos/calmjs/calmjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/calmjs/calmjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/calmjs/calmjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/calmjs/calmjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/calmjs/calmjs/contents/{+path}","compare_url":"https://api.github.com/repos/calmjs/calmjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calmjs/calmjs/merges","archive_url":"https://api.github.com/repos/calmjs/calmjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calmjs/calmjs/downloads","issues_url":"https://api.github.com/repos/calmjs/calmjs/issues{/number}","pulls_url":"https://api.github.com/repos/calmjs/calmjs/pulls{/number}","milestones_url":"https://api.github.com/repos/calmjs/calmjs/milestones{/number}","notifications_url":"https://api.github.com/repos/calmjs/calmjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calmjs/calmjs/labels{/name}","releases_url":"https://api.github.com/repos/calmjs/calmjs/releases{/id}","deployments_url":"https://api.github.com/repos/calmjs/calmjs/deployments","created_at":"2016-07-18T07:30:11Z","updated_at":"2018-04-23T13:36:22Z","pushed_at":"2018-04-27T00:07:53Z","git_url":"git://github.com/calmjs/calmjs.git","ssh_url":"git@github.com:calmjs/calmjs.git","clone_url":"https://github.com/calmjs/calmjs.git","svn_url":"https://github.com/calmjs/calmjs","homepage":"","size":779,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1,"open_issues":10,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calmjs/calmjs/pulls/41"},"html":{"href":"https://github.com/calmjs/calmjs/pull/41"},"issue":{"href":"https://api.github.com/repos/calmjs/calmjs/issues/41"},"comments":{"href":"https://api.github.com/repos/calmjs/calmjs/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/calmjs/calmjs/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/calmjs/calmjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/calmjs/calmjs/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/calmjs/calmjs/statuses/855bd5ff24907136c5eee80e80fafc9715b572a3"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"metatoaster","id":372914,"avatar_url":"https://avatars2.githubusercontent.com/u/372914?v=4","gravatar_id":"","url":"https://api.github.com/users/metatoaster","html_url":"https://github.com/metatoaster","followers_url":"https://api.github.com/users/metatoaster/followers","following_url":"https://api.github.com/users/metatoaster/following{/other_user}","gists_url":"https://api.github.com/users/metatoaster/gists{/gist_id}","starred_url":"https://api.github.com/users/metatoaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metatoaster/subscriptions","organizations_url":"https://api.github.com/users/metatoaster/orgs","repos_url":"https://api.github.com/users/metatoaster/repos","events_url":"https://api.github.com/users/metatoaster/events{/privacy}","received_events_url":"https://api.github.com/users/metatoaster/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":306,"deletions":55,"changed_files":5}}
{"actor":{"display_login":"metatoaster"}}