{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/repeatedly/denv/pulls/8","id":34193879,"html_url":"https://github.com/repeatedly/denv/pull/8","diff_url":"https://github.com/repeatedly/denv/pull/8.diff","patch_url":"https://github.com/repeatedly/denv/pull/8.patch","issue_url":"https://api.github.com/repos/repeatedly/denv/issues/8","number":8,"state":"closed","locked":false,"title":"Add ldc support","user":{"login":"tom-tan","id":4450141,"avatar_url":"https://avatars.githubusercontent.com/u/4450141?v=3","gravatar_id":"","url":"https://api.github.com/users/tom-tan","html_url":"https://github.com/tom-tan","followers_url":"https://api.github.com/users/tom-tan/followers","following_url":"https://api.github.com/users/tom-tan/following{/other_user}","gists_url":"https://api.github.com/users/tom-tan/gists{/gist_id}","starred_url":"https://api.github.com/users/tom-tan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom-tan/subscriptions","organizations_url":"https://api.github.com/users/tom-tan/orgs","repos_url":"https://api.github.com/users/tom-tan/repos","events_url":"https://api.github.com/users/tom-tan/events{/privacy}","received_events_url":"https://api.github.com/users/tom-tan/received_events","type":"User","site_admin":false},"body":"This request enables denv to support [LDC](https://github.com/ldc-developers/ldc).\r\nHere is the released binary: https://github.com/ldc-developers/ldc/releases\r\nThe latest release is ldc 0.15.1.\r\n\r\n- LDC provides binaries in tar.gz and tar.xz formats.\r\n  This request is to support tar.xz because it is much smaller than tar.gz (see `fetch_tar_xz`).\r\n- I put a file named `ldc-0.15.1` in shared/d-build instead of `0.15.1` to distinguish LDC and DMD.\r\n  But its file name is not consistent with other definition files for DMD releases. I think DMD definition files should have a prefix like `dmd-`.\r\n- DMD provides only one zip file for all platforms but LDC provides different tar.xz files for each OS and archtecture.\r\n  I introduced `$os` and `$arch` variables for LDC definition files to support different OSes and architectures.\r\n\r\nRFC: LDC provides `ldmd2` to support the same API as `dmd`. It will be convenient if we can use DMD and LDC by using the same command name. Can I make a link from `ldmd2` to `dmd` for LDC?\r\n\r\nI only tested it in Linux 64bit machine but I guess it will work for other platforms.","created_at":"2015-04-27T18:02:16Z","updated_at":"2015-09-07T06:24:01Z","closed_at":"2015-09-07T06:24:01Z","merged_at":"2015-09-07T06:24:01Z","merge_commit_sha":"6cc94030125aef157ff9dcd6318f0e14e5ccd948","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/repeatedly/denv/pulls/8/commits","review_comments_url":"https://api.github.com/repos/repeatedly/denv/pulls/8/comments","review_comment_url":"https://api.github.com/repos/repeatedly/denv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/repeatedly/denv/issues/8/comments","statuses_url":"https://api.github.com/repos/repeatedly/denv/statuses/55bc89b8080ba3828bc8d95063444b42ab06a7df","head":{"label":"tom-tan:ldc-support","ref":"ldc-support","sha":"55bc89b8080ba3828bc8d95063444b42ab06a7df","user":{"login":"tom-tan","id":4450141,"avatar_url":"https://avatars.githubusercontent.com/u/4450141?v=3","gravatar_id":"","url":"https://api.github.com/users/tom-tan","html_url":"https://github.com/tom-tan","followers_url":"https://api.github.com/users/tom-tan/followers","following_url":"https://api.github.com/users/tom-tan/following{/other_user}","gists_url":"https://api.github.com/users/tom-tan/gists{/gist_id}","starred_url":"https://api.github.com/users/tom-tan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom-tan/subscriptions","organizations_url":"https://api.github.com/users/tom-tan/orgs","repos_url":"https://api.github.com/users/tom-tan/repos","events_url":"https://api.github.com/users/tom-tan/events{/privacy}","received_events_url":"https://api.github.com/users/tom-tan/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"repeatedly:master","ref":"master","sha":"724ba1dfe8d26d0333783f21f97cf1a270df4606","user":{"login":"repeatedly","id":16928,"avatar_url":"https://avatars.githubusercontent.com/u/16928?v=3","gravatar_id":"","url":"https://api.github.com/users/repeatedly","html_url":"https://github.com/repeatedly","followers_url":"https://api.github.com/users/repeatedly/followers","following_url":"https://api.github.com/users/repeatedly/following{/other_user}","gists_url":"https://api.github.com/users/repeatedly/gists{/gist_id}","starred_url":"https://api.github.com/users/repeatedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repeatedly/subscriptions","organizations_url":"https://api.github.com/users/repeatedly/orgs","repos_url":"https://api.github.com/users/repeatedly/repos","events_url":"https://api.github.com/users/repeatedly/events{/privacy}","received_events_url":"https://api.github.com/users/repeatedly/received_events","type":"User","site_admin":false},"repo":{"id":4225151,"name":"denv","full_name":"repeatedly/denv","owner":{"login":"repeatedly","id":16928,"avatar_url":"https://avatars.githubusercontent.com/u/16928?v=3","gravatar_id":"","url":"https://api.github.com/users/repeatedly","html_url":"https://github.com/repeatedly","followers_url":"https://api.github.com/users/repeatedly/followers","following_url":"https://api.github.com/users/repeatedly/following{/other_user}","gists_url":"https://api.github.com/users/repeatedly/gists{/gist_id}","starred_url":"https://api.github.com/users/repeatedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repeatedly/subscriptions","organizations_url":"https://api.github.com/users/repeatedly/orgs","repos_url":"https://api.github.com/users/repeatedly/repos","events_url":"https://api.github.com/users/repeatedly/events{/privacy}","received_events_url":"https://api.github.com/users/repeatedly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/repeatedly/denv","description":"D version of rbenv","fork":false,"url":"https://api.github.com/repos/repeatedly/denv","forks_url":"https://api.github.com/repos/repeatedly/denv/forks","keys_url":"https://api.github.com/repos/repeatedly/denv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/repeatedly/denv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/repeatedly/denv/teams","hooks_url":"https://api.github.com/repos/repeatedly/denv/hooks","issue_events_url":"https://api.github.com/repos/repeatedly/denv/issues/events{/number}","events_url":"https://api.github.com/repos/repeatedly/denv/events","assignees_url":"https://api.github.com/repos/repeatedly/denv/assignees{/user}","branches_url":"https://api.github.com/repos/repeatedly/denv/branches{/branch}","tags_url":"https://api.github.com/repos/repeatedly/denv/tags","blobs_url":"https://api.github.com/repos/repeatedly/denv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/repeatedly/denv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/repeatedly/denv/git/refs{/sha}","trees_url":"https://api.github.com/repos/repeatedly/denv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/repeatedly/denv/statuses/{sha}","languages_url":"https://api.github.com/repos/repeatedly/denv/languages","stargazers_url":"https://api.github.com/repos/repeatedly/denv/stargazers","contributors_url":"https://api.github.com/repos/repeatedly/denv/contributors","subscribers_url":"https://api.github.com/repos/repeatedly/denv/subscribers","subscription_url":"https://api.github.com/repos/repeatedly/denv/subscription","commits_url":"https://api.github.com/repos/repeatedly/denv/commits{/sha}","git_commits_url":"https://api.github.com/repos/repeatedly/denv/git/commits{/sha}","comments_url":"https://api.github.com/repos/repeatedly/denv/comments{/number}","issue_comment_url":"https://api.github.com/repos/repeatedly/denv/issues/comments{/number}","contents_url":"https://api.github.com/repos/repeatedly/denv/contents/{+path}","compare_url":"https://api.github.com/repos/repeatedly/denv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/repeatedly/denv/merges","archive_url":"https://api.github.com/repos/repeatedly/denv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/repeatedly/denv/downloads","issues_url":"https://api.github.com/repos/repeatedly/denv/issues{/number}","pulls_url":"https://api.github.com/repos/repeatedly/denv/pulls{/number}","milestones_url":"https://api.github.com/repos/repeatedly/denv/milestones{/number}","notifications_url":"https://api.github.com/repos/repeatedly/denv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/repeatedly/denv/labels{/name}","releases_url":"https://api.github.com/repos/repeatedly/denv/releases{/id}","created_at":"2012-05-04T13:39:31Z","updated_at":"2015-08-23T03:58:57Z","pushed_at":"2015-09-07T06:24:01Z","git_url":"git://github.com/repeatedly/denv.git","ssh_url":"git@github.com:repeatedly/denv.git","clone_url":"https://github.com/repeatedly/denv.git","svn_url":"https://github.com/repeatedly/denv","homepage":null,"size":246,"stargazers_count":20,"watchers_count":20,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/repeatedly/denv/pulls/8"},"html":{"href":"https://github.com/repeatedly/denv/pull/8"},"issue":{"href":"https://api.github.com/repos/repeatedly/denv/issues/8"},"comments":{"href":"https://api.github.com/repos/repeatedly/denv/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/repeatedly/denv/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/repeatedly/denv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/repeatedly/denv/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/repeatedly/denv/statuses/55bc89b8080ba3828bc8d95063444b42ab06a7df"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"repeatedly","id":16928,"avatar_url":"https://avatars.githubusercontent.com/u/16928?v=3","gravatar_id":"","url":"https://api.github.com/users/repeatedly","html_url":"https://github.com/repeatedly","followers_url":"https://api.github.com/users/repeatedly/followers","following_url":"https://api.github.com/users/repeatedly/following{/other_user}","gists_url":"https://api.github.com/users/repeatedly/gists{/gist_id}","starred_url":"https://api.github.com/users/repeatedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repeatedly/subscriptions","organizations_url":"https://api.github.com/users/repeatedly/orgs","repos_url":"https://api.github.com/users/repeatedly/repos","events_url":"https://api.github.com/users/repeatedly/events{/privacy}","received_events_url":"https://api.github.com/users/repeatedly/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":61,"deletions":1,"changed_files":2}}