{"action":"opened","number":2667,"pull_request":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls/2667","id":181671150,"html_url":"https://github.com/asciidoctor/asciidoctor/pull/2667","diff_url":"https://github.com/asciidoctor/asciidoctor/pull/2667.diff","patch_url":"https://github.com/asciidoctor/asciidoctor/pull/2667.patch","issue_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/2667","number":2667,"state":"open","locked":false,"title":"Allow the DATA_PATH to be picked from an environment variable","user":{"login":"aerostitch","id":4210981,"avatar_url":"https://avatars1.githubusercontent.com/u/4210981?v=4","gravatar_id":"","url":"https://api.github.com/users/aerostitch","html_url":"https://github.com/aerostitch","followers_url":"https://api.github.com/users/aerostitch/followers","following_url":"https://api.github.com/users/aerostitch/following{/other_user}","gists_url":"https://api.github.com/users/aerostitch/gists{/gist_id}","starred_url":"https://api.github.com/users/aerostitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerostitch/subscriptions","organizations_url":"https://api.github.com/users/aerostitch/orgs","repos_url":"https://api.github.com/users/aerostitch/repos","events_url":"https://api.github.com/users/aerostitch/events{/privacy}","received_events_url":"https://api.github.com/users/aerostitch/received_events","type":"User","site_admin":false},"body":"Hi guys,\r\n\r\nIn the Debian packaging process we maintain a patch to allow the DATA_PATH variable to be set from another location as the location we have during the debian package build process (and in the final installation) are different from an usual gem context.\r\n\r\nThe current patch in Debian is: https://salsa.debian.org/ruby-team/asciidoctor/blob/master/debian/patches/data_path.patch\r\n\r\nI'd like to avoid patching from within the package so I thought it could be more flexible to allow a variable (named here `ASCIIDOCTOR_DATA_PATH`) to be set to define the path where the `data` folder is located.\r\n\r\nWould that be an acceptable solution?\r\n\r\nThanks for your help,\r\nJoseph","created_at":"2018-04-14T22:57:16Z","updated_at":"2018-04-14T22:57:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls/2667/commits","review_comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls/2667/comments","review_comment_url":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/2667/comments","statuses_url":"https://api.github.com/repos/asciidoctor/asciidoctor/statuses/1bd073f33ac2d6267b08de3fa9d4aaf6974247e7","head":{"label":"aerostitch:data_path","ref":"data_path","sha":"1bd073f33ac2d6267b08de3fa9d4aaf6974247e7","user":{"login":"aerostitch","id":4210981,"avatar_url":"https://avatars1.githubusercontent.com/u/4210981?v=4","gravatar_id":"","url":"https://api.github.com/users/aerostitch","html_url":"https://github.com/aerostitch","followers_url":"https://api.github.com/users/aerostitch/followers","following_url":"https://api.github.com/users/aerostitch/following{/other_user}","gists_url":"https://api.github.com/users/aerostitch/gists{/gist_id}","starred_url":"https://api.github.com/users/aerostitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerostitch/subscriptions","organizations_url":"https://api.github.com/users/aerostitch/orgs","repos_url":"https://api.github.com/users/aerostitch/repos","events_url":"https://api.github.com/users/aerostitch/events{/privacy}","received_events_url":"https://api.github.com/users/aerostitch/received_events","type":"User","site_admin":false},"repo":{"id":128693924,"name":"asciidoctor","full_name":"aerostitch/asciidoctor","owner":{"login":"aerostitch","id":4210981,"avatar_url":"https://avatars1.githubusercontent.com/u/4210981?v=4","gravatar_id":"","url":"https://api.github.com/users/aerostitch","html_url":"https://github.com/aerostitch","followers_url":"https://api.github.com/users/aerostitch/followers","following_url":"https://api.github.com/users/aerostitch/following{/other_user}","gists_url":"https://api.github.com/users/aerostitch/gists{/gist_id}","starred_url":"https://api.github.com/users/aerostitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerostitch/subscriptions","organizations_url":"https://api.github.com/users/aerostitch/orgs","repos_url":"https://api.github.com/users/aerostitch/repos","events_url":"https://api.github.com/users/aerostitch/events{/privacy}","received_events_url":"https://api.github.com/users/aerostitch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aerostitch/asciidoctor","description":":gem: A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML5, DocBook 5 (or 4.5) and other formats.","fork":true,"url":"https://api.github.com/repos/aerostitch/asciidoctor","forks_url":"https://api.github.com/repos/aerostitch/asciidoctor/forks","keys_url":"https://api.github.com/repos/aerostitch/asciidoctor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aerostitch/asciidoctor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aerostitch/asciidoctor/teams","hooks_url":"https://api.github.com/repos/aerostitch/asciidoctor/hooks","issue_events_url":"https://api.github.com/repos/aerostitch/asciidoctor/issues/events{/number}","events_url":"https://api.github.com/repos/aerostitch/asciidoctor/events","assignees_url":"https://api.github.com/repos/aerostitch/asciidoctor/assignees{/user}","branches_url":"https://api.github.com/repos/aerostitch/asciidoctor/branches{/branch}","tags_url":"https://api.github.com/repos/aerostitch/asciidoctor/tags","blobs_url":"https://api.github.com/repos/aerostitch/asciidoctor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aerostitch/asciidoctor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aerostitch/asciidoctor/git/refs{/sha}","trees_url":"https://api.github.com/repos/aerostitch/asciidoctor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aerostitch/asciidoctor/statuses/{sha}","languages_url":"https://api.github.com/repos/aerostitch/asciidoctor/languages","stargazers_url":"https://api.github.com/repos/aerostitch/asciidoctor/stargazers","contributors_url":"https://api.github.com/repos/aerostitch/asciidoctor/contributors","subscribers_url":"https://api.github.com/repos/aerostitch/asciidoctor/subscribers","subscription_url":"https://api.github.com/repos/aerostitch/asciidoctor/subscription","commits_url":"https://api.github.com/repos/aerostitch/asciidoctor/commits{/sha}","git_commits_url":"https://api.github.com/repos/aerostitch/asciidoctor/git/commits{/sha}","comments_url":"https://api.github.com/repos/aerostitch/asciidoctor/comments{/number}","issue_comment_url":"https://api.github.com/repos/aerostitch/asciidoctor/issues/comments{/number}","contents_url":"https://api.github.com/repos/aerostitch/asciidoctor/contents/{+path}","compare_url":"https://api.github.com/repos/aerostitch/asciidoctor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aerostitch/asciidoctor/merges","archive_url":"https://api.github.com/repos/aerostitch/asciidoctor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aerostitch/asciidoctor/downloads","issues_url":"https://api.github.com/repos/aerostitch/asciidoctor/issues{/number}","pulls_url":"https://api.github.com/repos/aerostitch/asciidoctor/pulls{/number}","milestones_url":"https://api.github.com/repos/aerostitch/asciidoctor/milestones{/number}","notifications_url":"https://api.github.com/repos/aerostitch/asciidoctor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aerostitch/asciidoctor/labels{/name}","releases_url":"https://api.github.com/repos/aerostitch/asciidoctor/releases{/id}","deployments_url":"https://api.github.com/repos/aerostitch/asciidoctor/deployments","created_at":"2018-04-09T00:34:31Z","updated_at":"2018-04-09T00:34:33Z","pushed_at":"2018-04-14T22:53:35Z","git_url":"git://github.com/aerostitch/asciidoctor.git","ssh_url":"git@github.com:aerostitch/asciidoctor.git","clone_url":"https://github.com/aerostitch/asciidoctor.git","svn_url":"https://github.com/aerostitch/asciidoctor","homepage":"https://asciidoctor.org","size":10153,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"asciidoctor:master","ref":"master","sha":"c65d6cf4746f4790d709e8742396231e33d6013c","user":{"login":"asciidoctor","id":3137042,"avatar_url":"https://avatars2.githubusercontent.com/u/3137042?v=4","gravatar_id":"","url":"https://api.github.com/users/asciidoctor","html_url":"https://github.com/asciidoctor","followers_url":"https://api.github.com/users/asciidoctor/followers","following_url":"https://api.github.com/users/asciidoctor/following{/other_user}","gists_url":"https://api.github.com/users/asciidoctor/gists{/gist_id}","starred_url":"https://api.github.com/users/asciidoctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asciidoctor/subscriptions","organizations_url":"https://api.github.com/users/asciidoctor/orgs","repos_url":"https://api.github.com/users/asciidoctor/repos","events_url":"https://api.github.com/users/asciidoctor/events{/privacy}","received_events_url":"https://api.github.com/users/asciidoctor/received_events","type":"Organization","site_admin":false},"repo":{"id":4523235,"name":"asciidoctor","full_name":"asciidoctor/asciidoctor","owner":{"login":"asciidoctor","id":3137042,"avatar_url":"https://avatars2.githubusercontent.com/u/3137042?v=4","gravatar_id":"","url":"https://api.github.com/users/asciidoctor","html_url":"https://github.com/asciidoctor","followers_url":"https://api.github.com/users/asciidoctor/followers","following_url":"https://api.github.com/users/asciidoctor/following{/other_user}","gists_url":"https://api.github.com/users/asciidoctor/gists{/gist_id}","starred_url":"https://api.github.com/users/asciidoctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asciidoctor/subscriptions","organizations_url":"https://api.github.com/users/asciidoctor/orgs","repos_url":"https://api.github.com/users/asciidoctor/repos","events_url":"https://api.github.com/users/asciidoctor/events{/privacy}","received_events_url":"https://api.github.com/users/asciidoctor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/asciidoctor/asciidoctor","description":":gem: A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML5, DocBook 5 (or 4.5) and other formats.","fork":false,"url":"https://api.github.com/repos/asciidoctor/asciidoctor","forks_url":"https://api.github.com/repos/asciidoctor/asciidoctor/forks","keys_url":"https://api.github.com/repos/asciidoctor/asciidoctor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asciidoctor/asciidoctor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asciidoctor/asciidoctor/teams","hooks_url":"https://api.github.com/repos/asciidoctor/asciidoctor/hooks","issue_events_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/events{/number}","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor/events","assignees_url":"https://api.github.com/repos/asciidoctor/asciidoctor/assignees{/user}","branches_url":"https://api.github.com/repos/asciidoctor/asciidoctor/branches{/branch}","tags_url":"https://api.github.com/repos/asciidoctor/asciidoctor/tags","blobs_url":"https://api.github.com/repos/asciidoctor/asciidoctor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asciidoctor/asciidoctor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asciidoctor/asciidoctor/git/refs{/sha}","trees_url":"https://api.github.com/repos/asciidoctor/asciidoctor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asciidoctor/asciidoctor/statuses/{sha}","languages_url":"https://api.github.com/repos/asciidoctor/asciidoctor/languages","stargazers_url":"https://api.github.com/repos/asciidoctor/asciidoctor/stargazers","contributors_url":"https://api.github.com/repos/asciidoctor/asciidoctor/contributors","subscribers_url":"https://api.github.com/repos/asciidoctor/asciidoctor/subscribers","subscription_url":"https://api.github.com/repos/asciidoctor/asciidoctor/subscription","commits_url":"https://api.github.com/repos/asciidoctor/asciidoctor/commits{/sha}","git_commits_url":"https://api.github.com/repos/asciidoctor/asciidoctor/git/commits{/sha}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor/comments{/number}","issue_comment_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/comments{/number}","contents_url":"https://api.github.com/repos/asciidoctor/asciidoctor/contents/{+path}","compare_url":"https://api.github.com/repos/asciidoctor/asciidoctor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asciidoctor/asciidoctor/merges","archive_url":"https://api.github.com/repos/asciidoctor/asciidoctor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asciidoctor/asciidoctor/downloads","issues_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues{/number}","pulls_url":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls{/number}","milestones_url":"https://api.github.com/repos/asciidoctor/asciidoctor/milestones{/number}","notifications_url":"https://api.github.com/repos/asciidoctor/asciidoctor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor/labels{/name}","releases_url":"https://api.github.com/repos/asciidoctor/asciidoctor/releases{/id}","deployments_url":"https://api.github.com/repos/asciidoctor/asciidoctor/deployments","created_at":"2012-06-01T19:09:20Z","updated_at":"2018-04-14T22:32:54Z","pushed_at":"2018-04-14T22:54:20Z","git_url":"git://github.com/asciidoctor/asciidoctor.git","ssh_url":"git@github.com:asciidoctor/asciidoctor.git","clone_url":"https://github.com/asciidoctor/asciidoctor.git","svn_url":"https://github.com/asciidoctor/asciidoctor","homepage":"https://asciidoctor.org","size":10160,"stargazers_count":1861,"watchers_count":1861,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":355,"mirror_url":null,"archived":false,"open_issues_count":659,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":355,"open_issues":659,"watchers":1861,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls/2667"},"html":{"href":"https://github.com/asciidoctor/asciidoctor/pull/2667"},"issue":{"href":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/2667"},"comments":{"href":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/2667/comments"},"review_comments":{"href":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls/2667/comments"},"review_comment":{"href":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asciidoctor/asciidoctor/pulls/2667/commits"},"statuses":{"href":"https://api.github.com/repos/asciidoctor/asciidoctor/statuses/1bd073f33ac2d6267b08de3fa9d4aaf6974247e7"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"aerostitch"}}