{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/qlan2/pygradle/pulls/2","id":194028211,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MDI4MjEx","html_url":"https://github.com/qlan2/pygradle/pull/2","diff_url":"https://github.com/qlan2/pygradle/pull/2.diff","patch_url":"https://github.com/qlan2/pygradle/pull/2.patch","issue_url":"https://api.github.com/repos/qlan2/pygradle/issues/2","number":2,"state":"open","locked":false,"title":"WIP: Fix the module name case issue","user":{"login":"qlan2","id":8847355,"node_id":"MDQ6VXNlcjg4NDczNTU=","avatar_url":"https://avatars1.githubusercontent.com/u/8847355?v=4","gravatar_id":"","url":"https://api.github.com/users/qlan2","html_url":"https://github.com/qlan2","followers_url":"https://api.github.com/users/qlan2/followers","following_url":"https://api.github.com/users/qlan2/following{/other_user}","gists_url":"https://api.github.com/users/qlan2/gists{/gist_id}","starred_url":"https://api.github.com/users/qlan2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlan2/subscriptions","organizations_url":"https://api.github.com/users/qlan2/orgs","repos_url":"https://api.github.com/users/qlan2/repos","events_url":"https://api.github.com/users/qlan2/events{/privacy}","received_events_url":"https://api.github.com/users/qlan2/received_events","type":"User","site_admin":false},"body":"The letter case of users' input arguments might be different from PyPI, such as WMI and MarkupSafe, PyPI is case-insensitive, but ivy and Artifactory are case-sensitive, we should make pivy-importer smart enough to help user correct the module name even they are using wrong cases for convenience, we can see the module name fix in log, path, ivy file name and ivy file contents.\r\n\r\nWith my change, the logs become\r\n qlan@QLAN2 C:\\Users\\qlan\\Downloads\\test\r\n$ java -jar pivy-importer-0.8.0-SNAPSHOT-all.jar --repo ivy-repo markupsafe:1.0\r\n08:54:23.242 INFO  c.l.p.importer.deps.SdistDownloader - Pulling in MarkupSafe:1.0\r\n08:54:23.348 INFO  c.l.python.importer.ImporterCLI - Execution Finished!\r\n\r\nThe path and filename become C:\\Users\\qlan\\Downloads\\test\\ivy-repo\\pypi\\MarkupSafe\\1.0\\MarkupSafe-1.0.ivy\r\n\r\nivy file contents become\r\n<ivy-module version=\"2.0\" xmlns:e=\"http://ant.apache.org/ivy/extra\" xmlns:m=\"http://ant.apache.org/ivy/maven\">\r\n  <info organisation=\"pypi\" module=\"MarkupSafe\" revision=\"1.0\" />\r\n  <configurations>\r\n    <conf name=\"default\" description=\"auto generated configuration for default\" />\r\n    <conf name=\"source\" description=\"auto generated configuration for source\" extends=\"default\" />\r\n  </configurations>\r\n  <publications>\r\n    <artifact name=\"MarkupSafe\" ext=\"tar.gz\" conf=\"default\" type=\"tar.gz\" />\r\n  </publications>\r\n  <dependencies defaultconfmapping=\"*-&gt;default\" />\r\n</ivy-module>","created_at":"2018-06-11T16:00:13Z","updated_at":"2018-06-11T16:00:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"ameliedagenais","id":7297386,"node_id":"MDQ6VXNlcjcyOTczODY=","avatar_url":"https://avatars3.githubusercontent.com/u/7297386?v=4","gravatar_id":"","url":"https://api.github.com/users/ameliedagenais","html_url":"https://github.com/ameliedagenais","followers_url":"https://api.github.com/users/ameliedagenais/followers","following_url":"https://api.github.com/users/ameliedagenais/following{/other_user}","gists_url":"https://api.github.com/users/ameliedagenais/gists{/gist_id}","starred_url":"https://api.github.com/users/ameliedagenais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ameliedagenais/subscriptions","organizations_url":"https://api.github.com/users/ameliedagenais/orgs","repos_url":"https://api.github.com/users/ameliedagenais/repos","events_url":"https://api.github.com/users/ameliedagenais/events{/privacy}","received_events_url":"https://api.github.com/users/ameliedagenais/received_events","type":"User","site_admin":false},"assignees":[{"login":"ameliedagenais","id":7297386,"node_id":"MDQ6VXNlcjcyOTczODY=","avatar_url":"https://avatars3.githubusercontent.com/u/7297386?v=4","gravatar_id":"","url":"https://api.github.com/users/ameliedagenais","html_url":"https://github.com/ameliedagenais","followers_url":"https://api.github.com/users/ameliedagenais/followers","following_url":"https://api.github.com/users/ameliedagenais/following{/other_user}","gists_url":"https://api.github.com/users/ameliedagenais/gists{/gist_id}","starred_url":"https://api.github.com/users/ameliedagenais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ameliedagenais/subscriptions","organizations_url":"https://api.github.com/users/ameliedagenais/orgs","repos_url":"https://api.github.com/users/ameliedagenais/repos","events_url":"https://api.github.com/users/ameliedagenais/events{/privacy}","received_events_url":"https://api.github.com/users/ameliedagenais/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/qlan2/pygradle/pulls/2/commits","review_comments_url":"https://api.github.com/repos/qlan2/pygradle/pulls/2/comments","review_comment_url":"https://api.github.com/repos/qlan2/pygradle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qlan2/pygradle/issues/2/comments","statuses_url":"https://api.github.com/repos/qlan2/pygradle/statuses/09a0f28edeb824cc78fb3b1f33d3ee59d944c926","head":{"label":"qlan2:fix-case","ref":"fix-case","sha":"09a0f28edeb824cc78fb3b1f33d3ee59d944c926","user":{"login":"qlan2","id":8847355,"node_id":"MDQ6VXNlcjg4NDczNTU=","avatar_url":"https://avatars1.githubusercontent.com/u/8847355?v=4","gravatar_id":"","url":"https://api.github.com/users/qlan2","html_url":"https://github.com/qlan2","followers_url":"https://api.github.com/users/qlan2/followers","following_url":"https://api.github.com/users/qlan2/following{/other_user}","gists_url":"https://api.github.com/users/qlan2/gists{/gist_id}","starred_url":"https://api.github.com/users/qlan2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlan2/subscriptions","organizations_url":"https://api.github.com/users/qlan2/orgs","repos_url":"https://api.github.com/users/qlan2/repos","events_url":"https://api.github.com/users/qlan2/events{/privacy}","received_events_url":"https://api.github.com/users/qlan2/received_events","type":"User","site_admin":false},"repo":{"id":134620004,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ2MjAwMDQ=","name":"pygradle","full_name":"qlan2/pygradle","owner":{"login":"qlan2","id":8847355,"node_id":"MDQ6VXNlcjg4NDczNTU=","avatar_url":"https://avatars1.githubusercontent.com/u/8847355?v=4","gravatar_id":"","url":"https://api.github.com/users/qlan2","html_url":"https://github.com/qlan2","followers_url":"https://api.github.com/users/qlan2/followers","following_url":"https://api.github.com/users/qlan2/following{/other_user}","gists_url":"https://api.github.com/users/qlan2/gists{/gist_id}","starred_url":"https://api.github.com/users/qlan2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlan2/subscriptions","organizations_url":"https://api.github.com/users/qlan2/orgs","repos_url":"https://api.github.com/users/qlan2/repos","events_url":"https://api.github.com/users/qlan2/events{/privacy}","received_events_url":"https://api.github.com/users/qlan2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qlan2/pygradle","description":"Using Gradle to build Python projects","fork":true,"url":"https://api.github.com/repos/qlan2/pygradle","forks_url":"https://api.github.com/repos/qlan2/pygradle/forks","keys_url":"https://api.github.com/repos/qlan2/pygradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qlan2/pygradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qlan2/pygradle/teams","hooks_url":"https://api.github.com/repos/qlan2/pygradle/hooks","issue_events_url":"https://api.github.com/repos/qlan2/pygradle/issues/events{/number}","events_url":"https://api.github.com/repos/qlan2/pygradle/events","assignees_url":"https://api.github.com/repos/qlan2/pygradle/assignees{/user}","branches_url":"https://api.github.com/repos/qlan2/pygradle/branches{/branch}","tags_url":"https://api.github.com/repos/qlan2/pygradle/tags","blobs_url":"https://api.github.com/repos/qlan2/pygradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qlan2/pygradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qlan2/pygradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/qlan2/pygradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qlan2/pygradle/statuses/{sha}","languages_url":"https://api.github.com/repos/qlan2/pygradle/languages","stargazers_url":"https://api.github.com/repos/qlan2/pygradle/stargazers","contributors_url":"https://api.github.com/repos/qlan2/pygradle/contributors","subscribers_url":"https://api.github.com/repos/qlan2/pygradle/subscribers","subscription_url":"https://api.github.com/repos/qlan2/pygradle/subscription","commits_url":"https://api.github.com/repos/qlan2/pygradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/qlan2/pygradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/qlan2/pygradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/qlan2/pygradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/qlan2/pygradle/contents/{+path}","compare_url":"https://api.github.com/repos/qlan2/pygradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qlan2/pygradle/merges","archive_url":"https://api.github.com/repos/qlan2/pygradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qlan2/pygradle/downloads","issues_url":"https://api.github.com/repos/qlan2/pygradle/issues{/number}","pulls_url":"https://api.github.com/repos/qlan2/pygradle/pulls{/number}","milestones_url":"https://api.github.com/repos/qlan2/pygradle/milestones{/number}","notifications_url":"https://api.github.com/repos/qlan2/pygradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qlan2/pygradle/labels{/name}","releases_url":"https://api.github.com/repos/qlan2/pygradle/releases{/id}","deployments_url":"https://api.github.com/repos/qlan2/pygradle/deployments","created_at":"2018-05-23T20:06:09Z","updated_at":"2018-06-08T21:43:47Z","pushed_at":"2018-06-11T15:56:20Z","git_url":"git://github.com/qlan2/pygradle.git","ssh_url":"git@github.com:qlan2/pygradle.git","clone_url":"https://github.com/qlan2/pygradle.git","svn_url":"https://github.com/qlan2/pygradle","homepage":"https://github.com/linkedin/pygradle","size":1670,"stargazers_count":0,"watchers_count":0,"language":"Groovy","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":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"qlan2:master","ref":"master","sha":"dfb28e25e914336a9999e02e0f585ccc03548c61","user":{"login":"qlan2","id":8847355,"node_id":"MDQ6VXNlcjg4NDczNTU=","avatar_url":"https://avatars1.githubusercontent.com/u/8847355?v=4","gravatar_id":"","url":"https://api.github.com/users/qlan2","html_url":"https://github.com/qlan2","followers_url":"https://api.github.com/users/qlan2/followers","following_url":"https://api.github.com/users/qlan2/following{/other_user}","gists_url":"https://api.github.com/users/qlan2/gists{/gist_id}","starred_url":"https://api.github.com/users/qlan2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlan2/subscriptions","organizations_url":"https://api.github.com/users/qlan2/orgs","repos_url":"https://api.github.com/users/qlan2/repos","events_url":"https://api.github.com/users/qlan2/events{/privacy}","received_events_url":"https://api.github.com/users/qlan2/received_events","type":"User","site_admin":false},"repo":{"id":134620004,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ2MjAwMDQ=","name":"pygradle","full_name":"qlan2/pygradle","owner":{"login":"qlan2","id":8847355,"node_id":"MDQ6VXNlcjg4NDczNTU=","avatar_url":"https://avatars1.githubusercontent.com/u/8847355?v=4","gravatar_id":"","url":"https://api.github.com/users/qlan2","html_url":"https://github.com/qlan2","followers_url":"https://api.github.com/users/qlan2/followers","following_url":"https://api.github.com/users/qlan2/following{/other_user}","gists_url":"https://api.github.com/users/qlan2/gists{/gist_id}","starred_url":"https://api.github.com/users/qlan2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlan2/subscriptions","organizations_url":"https://api.github.com/users/qlan2/orgs","repos_url":"https://api.github.com/users/qlan2/repos","events_url":"https://api.github.com/users/qlan2/events{/privacy}","received_events_url":"https://api.github.com/users/qlan2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qlan2/pygradle","description":"Using Gradle to build Python projects","fork":true,"url":"https://api.github.com/repos/qlan2/pygradle","forks_url":"https://api.github.com/repos/qlan2/pygradle/forks","keys_url":"https://api.github.com/repos/qlan2/pygradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qlan2/pygradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qlan2/pygradle/teams","hooks_url":"https://api.github.com/repos/qlan2/pygradle/hooks","issue_events_url":"https://api.github.com/repos/qlan2/pygradle/issues/events{/number}","events_url":"https://api.github.com/repos/qlan2/pygradle/events","assignees_url":"https://api.github.com/repos/qlan2/pygradle/assignees{/user}","branches_url":"https://api.github.com/repos/qlan2/pygradle/branches{/branch}","tags_url":"https://api.github.com/repos/qlan2/pygradle/tags","blobs_url":"https://api.github.com/repos/qlan2/pygradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qlan2/pygradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qlan2/pygradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/qlan2/pygradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qlan2/pygradle/statuses/{sha}","languages_url":"https://api.github.com/repos/qlan2/pygradle/languages","stargazers_url":"https://api.github.com/repos/qlan2/pygradle/stargazers","contributors_url":"https://api.github.com/repos/qlan2/pygradle/contributors","subscribers_url":"https://api.github.com/repos/qlan2/pygradle/subscribers","subscription_url":"https://api.github.com/repos/qlan2/pygradle/subscription","commits_url":"https://api.github.com/repos/qlan2/pygradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/qlan2/pygradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/qlan2/pygradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/qlan2/pygradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/qlan2/pygradle/contents/{+path}","compare_url":"https://api.github.com/repos/qlan2/pygradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qlan2/pygradle/merges","archive_url":"https://api.github.com/repos/qlan2/pygradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qlan2/pygradle/downloads","issues_url":"https://api.github.com/repos/qlan2/pygradle/issues{/number}","pulls_url":"https://api.github.com/repos/qlan2/pygradle/pulls{/number}","milestones_url":"https://api.github.com/repos/qlan2/pygradle/milestones{/number}","notifications_url":"https://api.github.com/repos/qlan2/pygradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qlan2/pygradle/labels{/name}","releases_url":"https://api.github.com/repos/qlan2/pygradle/releases{/id}","deployments_url":"https://api.github.com/repos/qlan2/pygradle/deployments","created_at":"2018-05-23T20:06:09Z","updated_at":"2018-06-08T21:43:47Z","pushed_at":"2018-06-11T15:56:20Z","git_url":"git://github.com/qlan2/pygradle.git","ssh_url":"git@github.com:qlan2/pygradle.git","clone_url":"https://github.com/qlan2/pygradle.git","svn_url":"https://github.com/qlan2/pygradle","homepage":"https://github.com/linkedin/pygradle","size":1670,"stargazers_count":0,"watchers_count":0,"language":"Groovy","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":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qlan2/pygradle/pulls/2"},"html":{"href":"https://github.com/qlan2/pygradle/pull/2"},"issue":{"href":"https://api.github.com/repos/qlan2/pygradle/issues/2"},"comments":{"href":"https://api.github.com/repos/qlan2/pygradle/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/qlan2/pygradle/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/qlan2/pygradle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qlan2/pygradle/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/qlan2/pygradle/statuses/09a0f28edeb824cc78fb3b1f33d3ee59d944c926"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":15,"additions":220,"deletions":82,"changed_files":6}}
{"actor":{"display_login":"qlan2"}}