{"action":"created","comment":{"url":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/comments/44406344","id":44406344,"diff_hunk":"@@ -0,0 +1,43 @@\n+/*! ******************************************************************************\n+ *\n+ * Pentaho Data Integration\n+ *\n+ * Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com\n+ *\n+ *******************************************************************************\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with\n+ * the License. You may obtain a copy of the License at\n+ *\n+ *    http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ *\n+ ******************************************************************************/\n+\n+package org.pentaho.di.core.util;\n+\n+import org.junit.Test;\n+import org.pentaho.di.core.Const;\n+\n+import static org.junit.Assert.*;\n+\n+/**\n+ * Created by Yury_Bakhmutski on 11/4/2015.\n+ */\n+public class EnvUtilTest {\n+\n+  @Test","path":"core/test-src/org/pentaho/di/core/util/EnvUtilTest.java","position":35,"original_position":35,"commit_id":"16968e9cb82b36c25fb314c7f33ce727a71d6319","original_commit_id":"16968e9cb82b36c25fb314c7f33ce727a71d6319","user":{"login":"YuryBY","id":6613861,"avatar_url":"https://avatars.githubusercontent.com/u/6613861?v=3","gravatar_id":"","url":"https://api.github.com/users/YuryBY","html_url":"https://github.com/YuryBY","followers_url":"https://api.github.com/users/YuryBY/followers","following_url":"https://api.github.com/users/YuryBY/following{/other_user}","gists_url":"https://api.github.com/users/YuryBY/gists{/gist_id}","starred_url":"https://api.github.com/users/YuryBY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuryBY/subscriptions","organizations_url":"https://api.github.com/users/YuryBY/orgs","repos_url":"https://api.github.com/users/YuryBY/repos","events_url":"https://api.github.com/users/YuryBY/events{/privacy}","received_events_url":"https://api.github.com/users/YuryBY/received_events","type":"User","site_admin":false},"body":"@mattyb149, annotation is added","created_at":"2015-11-10T13:38:35Z","updated_at":"2015-11-10T13:38:35Z","html_url":"https://github.com/pentaho/pentaho-kettle/pull/1905#discussion_r44406344","pull_request_url":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/1905","_links":{"self":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/comments/44406344"},"html":{"href":"https://github.com/pentaho/pentaho-kettle/pull/1905#discussion_r44406344"},"pull_request":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/1905"}}},"pull_request":{"url":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/1905","id":49700002,"html_url":"https://github.com/pentaho/pentaho-kettle/pull/1905","diff_url":"https://github.com/pentaho/pentaho-kettle/pull/1905.diff","patch_url":"https://github.com/pentaho/pentaho-kettle/pull/1905.patch","issue_url":"https://api.github.com/repos/pentaho/pentaho-kettle/issues/1905","number":1905,"state":"open","locked":false,"title":"[PDI-14522] - When sftp server has default user folder, absolute urls don't work","user":{"login":"YuryBY","id":6613861,"avatar_url":"https://avatars.githubusercontent.com/u/6613861?v=3","gravatar_id":"","url":"https://api.github.com/users/YuryBY","html_url":"https://github.com/YuryBY","followers_url":"https://api.github.com/users/YuryBY/followers","following_url":"https://api.github.com/users/YuryBY/following{/other_user}","gists_url":"https://api.github.com/users/YuryBY/gists{/gist_id}","starred_url":"https://api.github.com/users/YuryBY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuryBY/subscriptions","organizations_url":"https://api.github.com/users/YuryBY/orgs","repos_url":"https://api.github.com/users/YuryBY/repos","events_url":"https://api.github.com/users/YuryBY/events{/privacy}","received_events_url":"https://api.github.com/users/YuryBY/received_events","type":"User","site_admin":false},"body":"@mattcasters, @brosander, @mattyb149 take a look, please.\r\nWhat was done: \r\n1) USER_DIR_IS_ROOT is set to false by default. \r\n2) Is added corresponding flag to pentaho-variables.xml in order to user has possibility to change USER_DIR_IS_ROOT apache.vfs property\r\nJUnit tests are also provided.\r\n\r\n","created_at":"2015-11-04T15:10:09Z","updated_at":"2015-11-10T13:38:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95ea1f180ad1d0c6834b01b0a92a00e248487d75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/1905/commits","review_comments_url":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/1905/comments","review_comment_url":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pentaho/pentaho-kettle/issues/1905/comments","statuses_url":"https://api.github.com/repos/pentaho/pentaho-kettle/statuses/16968e9cb82b36c25fb314c7f33ce727a71d6319","head":{"label":"YuryBY:PDI-14522","ref":"PDI-14522","sha":"16968e9cb82b36c25fb314c7f33ce727a71d6319","user":{"login":"YuryBY","id":6613861,"avatar_url":"https://avatars.githubusercontent.com/u/6613861?v=3","gravatar_id":"","url":"https://api.github.com/users/YuryBY","html_url":"https://github.com/YuryBY","followers_url":"https://api.github.com/users/YuryBY/followers","following_url":"https://api.github.com/users/YuryBY/following{/other_user}","gists_url":"https://api.github.com/users/YuryBY/gists{/gist_id}","starred_url":"https://api.github.com/users/YuryBY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuryBY/subscriptions","organizations_url":"https://api.github.com/users/YuryBY/orgs","repos_url":"https://api.github.com/users/YuryBY/repos","events_url":"https://api.github.com/users/YuryBY/events{/privacy}","received_events_url":"https://api.github.com/users/YuryBY/received_events","type":"User","site_admin":false},"repo":{"id":16981966,"name":"pentaho-kettle","full_name":"YuryBY/pentaho-kettle","owner":{"login":"YuryBY","id":6613861,"avatar_url":"https://avatars.githubusercontent.com/u/6613861?v=3","gravatar_id":"","url":"https://api.github.com/users/YuryBY","html_url":"https://github.com/YuryBY","followers_url":"https://api.github.com/users/YuryBY/followers","following_url":"https://api.github.com/users/YuryBY/following{/other_user}","gists_url":"https://api.github.com/users/YuryBY/gists{/gist_id}","starred_url":"https://api.github.com/users/YuryBY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuryBY/subscriptions","organizations_url":"https://api.github.com/users/YuryBY/orgs","repos_url":"https://api.github.com/users/YuryBY/repos","events_url":"https://api.github.com/users/YuryBY/events{/privacy}","received_events_url":"https://api.github.com/users/YuryBY/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YuryBY/pentaho-kettle","description":"Pentaho Data Integration ( ETL ) a.k.a Kettle","fork":true,"url":"https://api.github.com/repos/YuryBY/pentaho-kettle","forks_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/forks","keys_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/teams","hooks_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/hooks","issue_events_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/issues/events{/number}","events_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/events","assignees_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/assignees{/user}","branches_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/branches{/branch}","tags_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/tags","blobs_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/git/refs{/sha}","trees_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/statuses/{sha}","languages_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/languages","stargazers_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/stargazers","contributors_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/contributors","subscribers_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/subscribers","subscription_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/subscription","commits_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/commits{/sha}","git_commits_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/git/commits{/sha}","comments_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/comments{/number}","issue_comment_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/issues/comments{/number}","contents_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/contents/{+path}","compare_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/merges","archive_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/downloads","issues_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/issues{/number}","pulls_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/pulls{/number}","milestones_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/milestones{/number}","notifications_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/labels{/name}","releases_url":"https://api.github.com/repos/YuryBY/pentaho-kettle/releases{/id}","created_at":"2014-02-19T11:18:26Z","updated_at":"2015-04-06T09:41:47Z","pushed_at":"2015-11-10T13:33:30Z","git_url":"git://github.com/YuryBY/pentaho-kettle.git","ssh_url":"git@github.com:YuryBY/pentaho-kettle.git","clone_url":"https://github.com/YuryBY/pentaho-kettle.git","svn_url":"https://github.com/YuryBY/pentaho-kettle","homepage":null,"size":458865,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"pentaho:master","ref":"master","sha":"782ed35f8b2cbbfdffb68bf66b420331e380891b","user":{"login":"pentaho","id":1022787,"avatar_url":"https://avatars.githubusercontent.com/u/1022787?v=3","gravatar_id":"","url":"https://api.github.com/users/pentaho","html_url":"https://github.com/pentaho","followers_url":"https://api.github.com/users/pentaho/followers","following_url":"https://api.github.com/users/pentaho/following{/other_user}","gists_url":"https://api.github.com/users/pentaho/gists{/gist_id}","starred_url":"https://api.github.com/users/pentaho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentaho/subscriptions","organizations_url":"https://api.github.com/users/pentaho/orgs","repos_url":"https://api.github.com/users/pentaho/repos","events_url":"https://api.github.com/users/pentaho/events{/privacy}","received_events_url":"https://api.github.com/users/pentaho/received_events","type":"Organization","site_admin":false},"repo":{"id":13421878,"name":"pentaho-kettle","full_name":"pentaho/pentaho-kettle","owner":{"login":"pentaho","id":1022787,"avatar_url":"https://avatars.githubusercontent.com/u/1022787?v=3","gravatar_id":"","url":"https://api.github.com/users/pentaho","html_url":"https://github.com/pentaho","followers_url":"https://api.github.com/users/pentaho/followers","following_url":"https://api.github.com/users/pentaho/following{/other_user}","gists_url":"https://api.github.com/users/pentaho/gists{/gist_id}","starred_url":"https://api.github.com/users/pentaho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentaho/subscriptions","organizations_url":"https://api.github.com/users/pentaho/orgs","repos_url":"https://api.github.com/users/pentaho/repos","events_url":"https://api.github.com/users/pentaho/events{/privacy}","received_events_url":"https://api.github.com/users/pentaho/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pentaho/pentaho-kettle","description":"Pentaho Data Integration ( ETL ) a.k.a Kettle","fork":false,"url":"https://api.github.com/repos/pentaho/pentaho-kettle","forks_url":"https://api.github.com/repos/pentaho/pentaho-kettle/forks","keys_url":"https://api.github.com/repos/pentaho/pentaho-kettle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pentaho/pentaho-kettle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pentaho/pentaho-kettle/teams","hooks_url":"https://api.github.com/repos/pentaho/pentaho-kettle/hooks","issue_events_url":"https://api.github.com/repos/pentaho/pentaho-kettle/issues/events{/number}","events_url":"https://api.github.com/repos/pentaho/pentaho-kettle/events","assignees_url":"https://api.github.com/repos/pentaho/pentaho-kettle/assignees{/user}","branches_url":"https://api.github.com/repos/pentaho/pentaho-kettle/branches{/branch}","tags_url":"https://api.github.com/repos/pentaho/pentaho-kettle/tags","blobs_url":"https://api.github.com/repos/pentaho/pentaho-kettle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pentaho/pentaho-kettle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pentaho/pentaho-kettle/git/refs{/sha}","trees_url":"https://api.github.com/repos/pentaho/pentaho-kettle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pentaho/pentaho-kettle/statuses/{sha}","languages_url":"https://api.github.com/repos/pentaho/pentaho-kettle/languages","stargazers_url":"https://api.github.com/repos/pentaho/pentaho-kettle/stargazers","contributors_url":"https://api.github.com/repos/pentaho/pentaho-kettle/contributors","subscribers_url":"https://api.github.com/repos/pentaho/pentaho-kettle/subscribers","subscription_url":"https://api.github.com/repos/pentaho/pentaho-kettle/subscription","commits_url":"https://api.github.com/repos/pentaho/pentaho-kettle/commits{/sha}","git_commits_url":"https://api.github.com/repos/pentaho/pentaho-kettle/git/commits{/sha}","comments_url":"https://api.github.com/repos/pentaho/pentaho-kettle/comments{/number}","issue_comment_url":"https://api.github.com/repos/pentaho/pentaho-kettle/issues/comments{/number}","contents_url":"https://api.github.com/repos/pentaho/pentaho-kettle/contents/{+path}","compare_url":"https://api.github.com/repos/pentaho/pentaho-kettle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pentaho/pentaho-kettle/merges","archive_url":"https://api.github.com/repos/pentaho/pentaho-kettle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pentaho/pentaho-kettle/downloads","issues_url":"https://api.github.com/repos/pentaho/pentaho-kettle/issues{/number}","pulls_url":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls{/number}","milestones_url":"https://api.github.com/repos/pentaho/pentaho-kettle/milestones{/number}","notifications_url":"https://api.github.com/repos/pentaho/pentaho-kettle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pentaho/pentaho-kettle/labels{/name}","releases_url":"https://api.github.com/repos/pentaho/pentaho-kettle/releases{/id}","created_at":"2013-10-08T18:27:11Z","updated_at":"2015-11-10T10:31:23Z","pushed_at":"2015-11-10T13:33:32Z","git_url":"git://github.com/pentaho/pentaho-kettle.git","ssh_url":"git@github.com:pentaho/pentaho-kettle.git","clone_url":"https://github.com/pentaho/pentaho-kettle.git","svn_url":"https://github.com/pentaho/pentaho-kettle","homepage":null,"size":621563,"stargazers_count":349,"watchers_count":349,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":466,"mirror_url":null,"open_issues_count":53,"forks":466,"open_issues":53,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/1905"},"html":{"href":"https://github.com/pentaho/pentaho-kettle/pull/1905"},"issue":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/issues/1905"},"comments":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/issues/1905/comments"},"review_comments":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/1905/comments"},"review_comment":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/pulls/1905/commits"},"statuses":{"href":"https://api.github.com/repos/pentaho/pentaho-kettle/statuses/16968e9cb82b36c25fb314c7f33ce727a71d6319"}}}}