{"action":"closed","number":61,"pull_request":{"url":"https://api.github.com/repos/42ity/fty-core/pulls/61","id":111564557,"html_url":"https://github.com/42ity/fty-core/pull/61","diff_url":"https://github.com/42ity/fty-core/pull/61.diff","patch_url":"https://github.com/42ity/fty-core/pull/61.patch","issue_url":"https://api.github.com/repos/42ity/fty-core/issues/61","number":61,"state":"closed","locked":false,"title":"Problem: symlink for fty-sensor-env data created incorrectly","user":{"login":"jimklimov","id":1636756,"avatar_url":"https://avatars0.githubusercontent.com/u/1636756?v=3","gravatar_id":"","url":"https://api.github.com/users/jimklimov","html_url":"https://github.com/jimklimov","followers_url":"https://api.github.com/users/jimklimov/followers","following_url":"https://api.github.com/users/jimklimov/following{/other_user}","gists_url":"https://api.github.com/users/jimklimov/gists{/gist_id}","starred_url":"https://api.github.com/users/jimklimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimklimov/subscriptions","organizations_url":"https://api.github.com/users/jimklimov/orgs","repos_url":"https://api.github.com/users/jimklimov/repos","events_url":"https://api.github.com/users/jimklimov/events{/privacy}","received_events_url":"https://api.github.com/users/jimklimov/received_events","type":"User","site_admin":false},"body":"Context: Dir `/var/lib/fty/fty-sensor-env/` is pre-created by packaging now, so the symlink made later becomes\r\n`/var/lib/fty/fty-sensor-env/composite-metrics -> ../../bios/composite-metrics` which is not what we need (we need an accessible `/var/lib/fty/fty-sensor-env/agent_th` file in the end).\r\n\r\nSolution: in preinstallimage-bios.sh, create sensor-env symlink just for a legacy file location, new dir is made by packaging","created_at":"2017-03-20T14:28:38Z","updated_at":"2017-03-21T07:39:08Z","closed_at":"2017-03-21T07:39:08Z","merged_at":"2017-03-21T07:39:08Z","merge_commit_sha":"dad465e7586d8c9e65b276a492a09020546dcc56","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/42ity/fty-core/pulls/61/commits","review_comments_url":"https://api.github.com/repos/42ity/fty-core/pulls/61/comments","review_comment_url":"https://api.github.com/repos/42ity/fty-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/42ity/fty-core/issues/61/comments","statuses_url":"https://api.github.com/repos/42ity/fty-core/statuses/319376134cd51c93df4a773862bf70402d709d97","head":{"label":"jimklimov:symlink-agent_th","ref":"symlink-agent_th","sha":"319376134cd51c93df4a773862bf70402d709d97","user":{"login":"jimklimov","id":1636756,"avatar_url":"https://avatars0.githubusercontent.com/u/1636756?v=3","gravatar_id":"","url":"https://api.github.com/users/jimklimov","html_url":"https://github.com/jimklimov","followers_url":"https://api.github.com/users/jimklimov/followers","following_url":"https://api.github.com/users/jimklimov/following{/other_user}","gists_url":"https://api.github.com/users/jimklimov/gists{/gist_id}","starred_url":"https://api.github.com/users/jimklimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimklimov/subscriptions","organizations_url":"https://api.github.com/users/jimklimov/orgs","repos_url":"https://api.github.com/users/jimklimov/repos","events_url":"https://api.github.com/users/jimklimov/events{/privacy}","received_events_url":"https://api.github.com/users/jimklimov/received_events","type":"User","site_admin":false},"repo":{"id":79865628,"name":"fty-core","full_name":"jimklimov/fty-core","owner":{"login":"jimklimov","id":1636756,"avatar_url":"https://avatars0.githubusercontent.com/u/1636756?v=3","gravatar_id":"","url":"https://api.github.com/users/jimklimov","html_url":"https://github.com/jimklimov","followers_url":"https://api.github.com/users/jimklimov/followers","following_url":"https://api.github.com/users/jimklimov/following{/other_user}","gists_url":"https://api.github.com/users/jimklimov/gists{/gist_id}","starred_url":"https://api.github.com/users/jimklimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimklimov/subscriptions","organizations_url":"https://api.github.com/users/jimklimov/orgs","repos_url":"https://api.github.com/users/jimklimov/repos","events_url":"https://api.github.com/users/jimklimov/events{/privacy}","received_events_url":"https://api.github.com/users/jimklimov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimklimov/fty-core","description":"REST API, legacy components, DB access, OS image scripts, ...","fork":true,"url":"https://api.github.com/repos/jimklimov/fty-core","forks_url":"https://api.github.com/repos/jimklimov/fty-core/forks","keys_url":"https://api.github.com/repos/jimklimov/fty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimklimov/fty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimklimov/fty-core/teams","hooks_url":"https://api.github.com/repos/jimklimov/fty-core/hooks","issue_events_url":"https://api.github.com/repos/jimklimov/fty-core/issues/events{/number}","events_url":"https://api.github.com/repos/jimklimov/fty-core/events","assignees_url":"https://api.github.com/repos/jimklimov/fty-core/assignees{/user}","branches_url":"https://api.github.com/repos/jimklimov/fty-core/branches{/branch}","tags_url":"https://api.github.com/repos/jimklimov/fty-core/tags","blobs_url":"https://api.github.com/repos/jimklimov/fty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimklimov/fty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimklimov/fty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimklimov/fty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimklimov/fty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/jimklimov/fty-core/languages","stargazers_url":"https://api.github.com/repos/jimklimov/fty-core/stargazers","contributors_url":"https://api.github.com/repos/jimklimov/fty-core/contributors","subscribers_url":"https://api.github.com/repos/jimklimov/fty-core/subscribers","subscription_url":"https://api.github.com/repos/jimklimov/fty-core/subscription","commits_url":"https://api.github.com/repos/jimklimov/fty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimklimov/fty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimklimov/fty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimklimov/fty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimklimov/fty-core/contents/{+path}","compare_url":"https://api.github.com/repos/jimklimov/fty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimklimov/fty-core/merges","archive_url":"https://api.github.com/repos/jimklimov/fty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimklimov/fty-core/downloads","issues_url":"https://api.github.com/repos/jimklimov/fty-core/issues{/number}","pulls_url":"https://api.github.com/repos/jimklimov/fty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/jimklimov/fty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/jimklimov/fty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimklimov/fty-core/labels{/name}","releases_url":"https://api.github.com/repos/jimklimov/fty-core/releases{/id}","deployments_url":"https://api.github.com/repos/jimklimov/fty-core/deployments","created_at":"2017-01-24T01:06:03Z","updated_at":"2017-01-24T01:06:06Z","pushed_at":"2017-03-20T14:23:02Z","git_url":"git://github.com/jimklimov/fty-core.git","ssh_url":"git@github.com:jimklimov/fty-core.git","clone_url":"https://github.com/jimklimov/fty-core.git","svn_url":"https://github.com/jimklimov/fty-core","homepage":null,"size":4628,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"42ity:master","ref":"master","sha":"5424b572b6476e194a2241e7ac582bcb91d7f422","user":{"login":"42ity","id":17408530,"avatar_url":"https://avatars1.githubusercontent.com/u/17408530?v=3","gravatar_id":"","url":"https://api.github.com/users/42ity","html_url":"https://github.com/42ity","followers_url":"https://api.github.com/users/42ity/followers","following_url":"https://api.github.com/users/42ity/following{/other_user}","gists_url":"https://api.github.com/users/42ity/gists{/gist_id}","starred_url":"https://api.github.com/users/42ity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42ity/subscriptions","organizations_url":"https://api.github.com/users/42ity/orgs","repos_url":"https://api.github.com/users/42ity/repos","events_url":"https://api.github.com/users/42ity/events{/privacy}","received_events_url":"https://api.github.com/users/42ity/received_events","type":"Organization","site_admin":false},"repo":{"id":76498425,"name":"fty-core","full_name":"42ity/fty-core","owner":{"login":"42ity","id":17408530,"avatar_url":"https://avatars1.githubusercontent.com/u/17408530?v=3","gravatar_id":"","url":"https://api.github.com/users/42ity","html_url":"https://github.com/42ity","followers_url":"https://api.github.com/users/42ity/followers","following_url":"https://api.github.com/users/42ity/following{/other_user}","gists_url":"https://api.github.com/users/42ity/gists{/gist_id}","starred_url":"https://api.github.com/users/42ity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42ity/subscriptions","organizations_url":"https://api.github.com/users/42ity/orgs","repos_url":"https://api.github.com/users/42ity/repos","events_url":"https://api.github.com/users/42ity/events{/privacy}","received_events_url":"https://api.github.com/users/42ity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/42ity/fty-core","description":"DB access, OS integration and image scripts, ...","fork":false,"url":"https://api.github.com/repos/42ity/fty-core","forks_url":"https://api.github.com/repos/42ity/fty-core/forks","keys_url":"https://api.github.com/repos/42ity/fty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/42ity/fty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/42ity/fty-core/teams","hooks_url":"https://api.github.com/repos/42ity/fty-core/hooks","issue_events_url":"https://api.github.com/repos/42ity/fty-core/issues/events{/number}","events_url":"https://api.github.com/repos/42ity/fty-core/events","assignees_url":"https://api.github.com/repos/42ity/fty-core/assignees{/user}","branches_url":"https://api.github.com/repos/42ity/fty-core/branches{/branch}","tags_url":"https://api.github.com/repos/42ity/fty-core/tags","blobs_url":"https://api.github.com/repos/42ity/fty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/42ity/fty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/42ity/fty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/42ity/fty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/42ity/fty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/42ity/fty-core/languages","stargazers_url":"https://api.github.com/repos/42ity/fty-core/stargazers","contributors_url":"https://api.github.com/repos/42ity/fty-core/contributors","subscribers_url":"https://api.github.com/repos/42ity/fty-core/subscribers","subscription_url":"https://api.github.com/repos/42ity/fty-core/subscription","commits_url":"https://api.github.com/repos/42ity/fty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/42ity/fty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/42ity/fty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/42ity/fty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/42ity/fty-core/contents/{+path}","compare_url":"https://api.github.com/repos/42ity/fty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/42ity/fty-core/merges","archive_url":"https://api.github.com/repos/42ity/fty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/42ity/fty-core/downloads","issues_url":"https://api.github.com/repos/42ity/fty-core/issues{/number}","pulls_url":"https://api.github.com/repos/42ity/fty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/42ity/fty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/42ity/fty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/42ity/fty-core/labels{/name}","releases_url":"https://api.github.com/repos/42ity/fty-core/releases{/id}","deployments_url":"https://api.github.com/repos/42ity/fty-core/deployments","created_at":"2016-12-14T21:27:33Z","updated_at":"2017-02-20T14:34:27Z","pushed_at":"2017-03-21T07:39:08Z","git_url":"git://github.com/42ity/fty-core.git","ssh_url":"git@github.com:42ity/fty-core.git","clone_url":"https://github.com/42ity/fty-core.git","svn_url":"https://github.com/42ity/fty-core","homepage":"","size":4611,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":0,"forks":8,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/42ity/fty-core/pulls/61"},"html":{"href":"https://github.com/42ity/fty-core/pull/61"},"issue":{"href":"https://api.github.com/repos/42ity/fty-core/issues/61"},"comments":{"href":"https://api.github.com/repos/42ity/fty-core/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/42ity/fty-core/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/42ity/fty-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/42ity/fty-core/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/42ity/fty-core/statuses/319376134cd51c93df4a773862bf70402d709d97"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"karolhrdina","id":8810138,"avatar_url":"https://avatars1.githubusercontent.com/u/8810138?v=3","gravatar_id":"","url":"https://api.github.com/users/karolhrdina","html_url":"https://github.com/karolhrdina","followers_url":"https://api.github.com/users/karolhrdina/followers","following_url":"https://api.github.com/users/karolhrdina/following{/other_user}","gists_url":"https://api.github.com/users/karolhrdina/gists{/gist_id}","starred_url":"https://api.github.com/users/karolhrdina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karolhrdina/subscriptions","organizations_url":"https://api.github.com/users/karolhrdina/orgs","repos_url":"https://api.github.com/users/karolhrdina/repos","events_url":"https://api.github.com/users/karolhrdina/events{/privacy}","received_events_url":"https://api.github.com/users/karolhrdina/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"karolhrdina"}}