{"action":"closed","number":155,"pull_request":{"url":"https://api.github.com/repos/sw360/sw360portal/pulls/155","id":68335594,"html_url":"https://github.com/sw360/sw360portal/pull/155","diff_url":"https://github.com/sw360/sw360portal/pull/155.diff","patch_url":"https://github.com/sw360/sw360portal/pull/155.patch","issue_url":"https://api.github.com/repos/sw360/sw360portal/issues/155","number":155,"state":"closed","locked":false,"title":"Fixed deletion of attachment content on update","user":{"login":"alex-evo","id":16780167,"avatar_url":"https://avatars.githubusercontent.com/u/16780167?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-evo","html_url":"https://github.com/alex-evo","followers_url":"https://api.github.com/users/alex-evo/followers","following_url":"https://api.github.com/users/alex-evo/following{/other_user}","gists_url":"https://api.github.com/users/alex-evo/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-evo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-evo/subscriptions","organizations_url":"https://api.github.com/users/alex-evo/orgs","repos_url":"https://api.github.com/users/alex-evo/repos","events_url":"https://api.github.com/users/alex-evo/events{/privacy}","received_events_url":"https://api.github.com/users/alex-evo/received_events","type":"User","site_admin":false},"body":"- fixed: attachment content is deleted from sw360attachments db when some attachment property gets updated.\r\n- fixed: sha1 is not computed when a new component, release, or project is created with attachments \r\ncloses #154 ","created_at":"2016-04-29T07:54:15Z","updated_at":"2016-05-02T11:39:50Z","closed_at":"2016-05-02T11:39:50Z","merged_at":"2016-05-02T11:39:49Z","merge_commit_sha":"e7ad188bcfce01d4b7c187ac8c0021b9ca094b35","assignee":{"login":"mcjaeger","id":3418977,"avatar_url":"https://avatars.githubusercontent.com/u/3418977?v=3","gravatar_id":"","url":"https://api.github.com/users/mcjaeger","html_url":"https://github.com/mcjaeger","followers_url":"https://api.github.com/users/mcjaeger/followers","following_url":"https://api.github.com/users/mcjaeger/following{/other_user}","gists_url":"https://api.github.com/users/mcjaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/mcjaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcjaeger/subscriptions","organizations_url":"https://api.github.com/users/mcjaeger/orgs","repos_url":"https://api.github.com/users/mcjaeger/repos","events_url":"https://api.github.com/users/mcjaeger/events{/privacy}","received_events_url":"https://api.github.com/users/mcjaeger/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/sw360/sw360portal/pulls/155/commits","review_comments_url":"https://api.github.com/repos/sw360/sw360portal/pulls/155/comments","review_comment_url":"https://api.github.com/repos/sw360/sw360portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sw360/sw360portal/issues/155/comments","statuses_url":"https://api.github.com/repos/sw360/sw360portal/statuses/81a96351146296b7ec1dd19127945f9f5f4dbb06","head":{"label":"sw360:attachmentDifference#154","ref":"attachmentDifference#154","sha":"81a96351146296b7ec1dd19127945f9f5f4dbb06","user":{"login":"sw360","id":16389175,"avatar_url":"https://avatars.githubusercontent.com/u/16389175?v=3","gravatar_id":"","url":"https://api.github.com/users/sw360","html_url":"https://github.com/sw360","followers_url":"https://api.github.com/users/sw360/followers","following_url":"https://api.github.com/users/sw360/following{/other_user}","gists_url":"https://api.github.com/users/sw360/gists{/gist_id}","starred_url":"https://api.github.com/users/sw360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw360/subscriptions","organizations_url":"https://api.github.com/users/sw360/orgs","repos_url":"https://api.github.com/users/sw360/repos","events_url":"https://api.github.com/users/sw360/events{/privacy}","received_events_url":"https://api.github.com/users/sw360/received_events","type":"Organization","site_admin":false},"repo":{"id":43326581,"name":"sw360portal","full_name":"sw360/sw360portal","owner":{"login":"sw360","id":16389175,"avatar_url":"https://avatars.githubusercontent.com/u/16389175?v=3","gravatar_id":"","url":"https://api.github.com/users/sw360","html_url":"https://github.com/sw360","followers_url":"https://api.github.com/users/sw360/followers","following_url":"https://api.github.com/users/sw360/following{/other_user}","gists_url":"https://api.github.com/users/sw360/gists{/gist_id}","starred_url":"https://api.github.com/users/sw360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw360/subscriptions","organizations_url":"https://api.github.com/users/sw360/orgs","repos_url":"https://api.github.com/users/sw360/repos","events_url":"https://api.github.com/users/sw360/events{/privacy}","received_events_url":"https://api.github.com/users/sw360/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sw360/sw360portal","description":"A software component catalogue application - designed to work with FOSSology.","fork":false,"url":"https://api.github.com/repos/sw360/sw360portal","forks_url":"https://api.github.com/repos/sw360/sw360portal/forks","keys_url":"https://api.github.com/repos/sw360/sw360portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sw360/sw360portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sw360/sw360portal/teams","hooks_url":"https://api.github.com/repos/sw360/sw360portal/hooks","issue_events_url":"https://api.github.com/repos/sw360/sw360portal/issues/events{/number}","events_url":"https://api.github.com/repos/sw360/sw360portal/events","assignees_url":"https://api.github.com/repos/sw360/sw360portal/assignees{/user}","branches_url":"https://api.github.com/repos/sw360/sw360portal/branches{/branch}","tags_url":"https://api.github.com/repos/sw360/sw360portal/tags","blobs_url":"https://api.github.com/repos/sw360/sw360portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sw360/sw360portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sw360/sw360portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sw360/sw360portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sw360/sw360portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sw360/sw360portal/languages","stargazers_url":"https://api.github.com/repos/sw360/sw360portal/stargazers","contributors_url":"https://api.github.com/repos/sw360/sw360portal/contributors","subscribers_url":"https://api.github.com/repos/sw360/sw360portal/subscribers","subscription_url":"https://api.github.com/repos/sw360/sw360portal/subscription","commits_url":"https://api.github.com/repos/sw360/sw360portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sw360/sw360portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sw360/sw360portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sw360/sw360portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sw360/sw360portal/contents/{+path}","compare_url":"https://api.github.com/repos/sw360/sw360portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sw360/sw360portal/merges","archive_url":"https://api.github.com/repos/sw360/sw360portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sw360/sw360portal/downloads","issues_url":"https://api.github.com/repos/sw360/sw360portal/issues{/number}","pulls_url":"https://api.github.com/repos/sw360/sw360portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sw360/sw360portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sw360/sw360portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sw360/sw360portal/labels{/name}","releases_url":"https://api.github.com/repos/sw360/sw360portal/releases{/id}","deployments_url":"https://api.github.com/repos/sw360/sw360portal/deployments","created_at":"2015-09-28T20:56:14Z","updated_at":"2016-03-22T16:12:20Z","pushed_at":"2016-05-02T11:39:49Z","git_url":"git://github.com/sw360/sw360portal.git","ssh_url":"git@github.com:sw360/sw360portal.git","clone_url":"https://github.com/sw360/sw360portal.git","svn_url":"https://github.com/sw360/sw360portal","homepage":null,"size":3995,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":43,"forks":10,"open_issues":43,"watchers":5,"default_branch":"master"}},"base":{"label":"sw360:master","ref":"master","sha":"b62dc99c1e1f54e323382a01fccf326e2029755d","user":{"login":"sw360","id":16389175,"avatar_url":"https://avatars.githubusercontent.com/u/16389175?v=3","gravatar_id":"","url":"https://api.github.com/users/sw360","html_url":"https://github.com/sw360","followers_url":"https://api.github.com/users/sw360/followers","following_url":"https://api.github.com/users/sw360/following{/other_user}","gists_url":"https://api.github.com/users/sw360/gists{/gist_id}","starred_url":"https://api.github.com/users/sw360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw360/subscriptions","organizations_url":"https://api.github.com/users/sw360/orgs","repos_url":"https://api.github.com/users/sw360/repos","events_url":"https://api.github.com/users/sw360/events{/privacy}","received_events_url":"https://api.github.com/users/sw360/received_events","type":"Organization","site_admin":false},"repo":{"id":43326581,"name":"sw360portal","full_name":"sw360/sw360portal","owner":{"login":"sw360","id":16389175,"avatar_url":"https://avatars.githubusercontent.com/u/16389175?v=3","gravatar_id":"","url":"https://api.github.com/users/sw360","html_url":"https://github.com/sw360","followers_url":"https://api.github.com/users/sw360/followers","following_url":"https://api.github.com/users/sw360/following{/other_user}","gists_url":"https://api.github.com/users/sw360/gists{/gist_id}","starred_url":"https://api.github.com/users/sw360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw360/subscriptions","organizations_url":"https://api.github.com/users/sw360/orgs","repos_url":"https://api.github.com/users/sw360/repos","events_url":"https://api.github.com/users/sw360/events{/privacy}","received_events_url":"https://api.github.com/users/sw360/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sw360/sw360portal","description":"A software component catalogue application - designed to work with FOSSology.","fork":false,"url":"https://api.github.com/repos/sw360/sw360portal","forks_url":"https://api.github.com/repos/sw360/sw360portal/forks","keys_url":"https://api.github.com/repos/sw360/sw360portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sw360/sw360portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sw360/sw360portal/teams","hooks_url":"https://api.github.com/repos/sw360/sw360portal/hooks","issue_events_url":"https://api.github.com/repos/sw360/sw360portal/issues/events{/number}","events_url":"https://api.github.com/repos/sw360/sw360portal/events","assignees_url":"https://api.github.com/repos/sw360/sw360portal/assignees{/user}","branches_url":"https://api.github.com/repos/sw360/sw360portal/branches{/branch}","tags_url":"https://api.github.com/repos/sw360/sw360portal/tags","blobs_url":"https://api.github.com/repos/sw360/sw360portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sw360/sw360portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sw360/sw360portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sw360/sw360portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sw360/sw360portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sw360/sw360portal/languages","stargazers_url":"https://api.github.com/repos/sw360/sw360portal/stargazers","contributors_url":"https://api.github.com/repos/sw360/sw360portal/contributors","subscribers_url":"https://api.github.com/repos/sw360/sw360portal/subscribers","subscription_url":"https://api.github.com/repos/sw360/sw360portal/subscription","commits_url":"https://api.github.com/repos/sw360/sw360portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sw360/sw360portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sw360/sw360portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sw360/sw360portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sw360/sw360portal/contents/{+path}","compare_url":"https://api.github.com/repos/sw360/sw360portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sw360/sw360portal/merges","archive_url":"https://api.github.com/repos/sw360/sw360portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sw360/sw360portal/downloads","issues_url":"https://api.github.com/repos/sw360/sw360portal/issues{/number}","pulls_url":"https://api.github.com/repos/sw360/sw360portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sw360/sw360portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sw360/sw360portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sw360/sw360portal/labels{/name}","releases_url":"https://api.github.com/repos/sw360/sw360portal/releases{/id}","deployments_url":"https://api.github.com/repos/sw360/sw360portal/deployments","created_at":"2015-09-28T20:56:14Z","updated_at":"2016-03-22T16:12:20Z","pushed_at":"2016-05-02T11:39:49Z","git_url":"git://github.com/sw360/sw360portal.git","ssh_url":"git@github.com:sw360/sw360portal.git","clone_url":"https://github.com/sw360/sw360portal.git","svn_url":"https://github.com/sw360/sw360portal","homepage":null,"size":3995,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":43,"forks":10,"open_issues":43,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sw360/sw360portal/pulls/155"},"html":{"href":"https://github.com/sw360/sw360portal/pull/155"},"issue":{"href":"https://api.github.com/repos/sw360/sw360portal/issues/155"},"comments":{"href":"https://api.github.com/repos/sw360/sw360portal/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/sw360/sw360portal/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/sw360/sw360portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sw360/sw360portal/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/sw360/sw360portal/statuses/81a96351146296b7ec1dd19127945f9f5f4dbb06"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mcjaeger","id":3418977,"avatar_url":"https://avatars.githubusercontent.com/u/3418977?v=3","gravatar_id":"","url":"https://api.github.com/users/mcjaeger","html_url":"https://github.com/mcjaeger","followers_url":"https://api.github.com/users/mcjaeger/followers","following_url":"https://api.github.com/users/mcjaeger/following{/other_user}","gists_url":"https://api.github.com/users/mcjaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/mcjaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcjaeger/subscriptions","organizations_url":"https://api.github.com/users/mcjaeger/orgs","repos_url":"https://api.github.com/users/mcjaeger/repos","events_url":"https://api.github.com/users/mcjaeger/events{/privacy}","received_events_url":"https://api.github.com/users/mcjaeger/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":130,"deletions":29,"changed_files":4}}