{"action":"created","comment":{"url":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/comments/35492416","id":35492416,"diff_hunk":"@@ -1508,6 +1519,113 @@ private void infoButton_Click(object sender, EventArgs e)\n             updatingInfoDialog.ShowDialog();\n         }\n \n+        private void requirementsTypeComboBox_SelectedIndexChanged(object sender, EventArgs e)\n+        {\n+            requirementsTypeTabControl.SelectedIndex = requirementsTypeComboBox.SelectedIndex;\n+        }\n+\n+        private void addRequirementButton_Click(object sender, EventArgs e)\n+        {\n+            UpdateRequirement _updateRequirement = null;\n+            switch (requirementsTypeComboBox.SelectedIndex)\n+            {\n+                case 0:\n+                    _updateRequirement = new UpdateRequirement(\n+                        UpdateRequirement.RequirementType.osVersion,\n+                        null, \n+                        osVersion(requiredOSComboBox.Text),","path":"nUpdate.Administration/UI/Dialogs/PackageAddDialog.cs","position":216,"original_position":216,"commit_id":"f4ef05d43ab800506546458c0bcf56cd7ef791a0","original_commit_id":"f4ef05d43ab800506546458c0bcf56cd7ef791a0","user":{"login":"ProgTrade","id":6246521,"avatar_url":"https://avatars.githubusercontent.com/u/6246521?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgTrade","html_url":"https://github.com/ProgTrade","followers_url":"https://api.github.com/users/ProgTrade/followers","following_url":"https://api.github.com/users/ProgTrade/following{/other_user}","gists_url":"https://api.github.com/users/ProgTrade/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgTrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgTrade/subscriptions","organizations_url":"https://api.github.com/users/ProgTrade/orgs","repos_url":"https://api.github.com/users/ProgTrade/repos","events_url":"https://api.github.com/users/ProgTrade/events{/privacy}","received_events_url":"https://api.github.com/users/ProgTrade/received_events","type":"User","site_admin":false},"body":"Make that a ComboBox and use a dictionary containing the OS name and relating version.","created_at":"2015-07-26T12:34:00Z","updated_at":"2015-07-26T12:34:00Z","html_url":"https://github.com/ProgTrade/nUpdate/pull/19#discussion_r35492416","pull_request_url":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/comments/35492416"},"html":{"href":"https://github.com/ProgTrade/nUpdate/pull/19#discussion_r35492416"},"pull_request":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/19","id":40851775,"html_url":"https://github.com/ProgTrade/nUpdate/pull/19","diff_url":"https://github.com/ProgTrade/nUpdate/pull/19.diff","patch_url":"https://github.com/ProgTrade/nUpdate/pull/19.patch","issue_url":"https://api.github.com/repos/ProgTrade/nUpdate/issues/19","number":19,"state":"open","locked":false,"title":"Added Update requirements without edit dialoge","user":{"login":"Max-str","id":12010001,"avatar_url":"https://avatars.githubusercontent.com/u/12010001?v=3","gravatar_id":"","url":"https://api.github.com/users/Max-str","html_url":"https://github.com/Max-str","followers_url":"https://api.github.com/users/Max-str/followers","following_url":"https://api.github.com/users/Max-str/following{/other_user}","gists_url":"https://api.github.com/users/Max-str/gists{/gist_id}","starred_url":"https://api.github.com/users/Max-str/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Max-str/subscriptions","organizations_url":"https://api.github.com/users/Max-str/orgs","repos_url":"https://api.github.com/users/Max-str/repos","events_url":"https://api.github.com/users/Max-str/events{/privacy}","received_events_url":"https://api.github.com/users/Max-str/received_events","type":"User","site_admin":false},"body":"Update packages may have the following requirements:\r\n-OS version\r\n-.NET Framework version\r\nAssembly version (file version, not product version)\r\n-registry key","created_at":"2015-07-26T11:22:08Z","updated_at":"2015-07-26T12:34:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9629575d281335866c7c2811cd45f7f61352151","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/19/commits","review_comments_url":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/19/comments","review_comment_url":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ProgTrade/nUpdate/issues/19/comments","statuses_url":"https://api.github.com/repos/ProgTrade/nUpdate/statuses/f4ef05d43ab800506546458c0bcf56cd7ef791a0","head":{"label":"Max-str:master","ref":"master","sha":"f4ef05d43ab800506546458c0bcf56cd7ef791a0","user":{"login":"Max-str","id":12010001,"avatar_url":"https://avatars.githubusercontent.com/u/12010001?v=3","gravatar_id":"","url":"https://api.github.com/users/Max-str","html_url":"https://github.com/Max-str","followers_url":"https://api.github.com/users/Max-str/followers","following_url":"https://api.github.com/users/Max-str/following{/other_user}","gists_url":"https://api.github.com/users/Max-str/gists{/gist_id}","starred_url":"https://api.github.com/users/Max-str/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Max-str/subscriptions","organizations_url":"https://api.github.com/users/Max-str/orgs","repos_url":"https://api.github.com/users/Max-str/repos","events_url":"https://api.github.com/users/Max-str/events{/privacy}","received_events_url":"https://api.github.com/users/Max-str/received_events","type":"User","site_admin":false},"repo":{"id":38708356,"name":"nUpdate","full_name":"Max-str/nUpdate","owner":{"login":"Max-str","id":12010001,"avatar_url":"https://avatars.githubusercontent.com/u/12010001?v=3","gravatar_id":"","url":"https://api.github.com/users/Max-str","html_url":"https://github.com/Max-str","followers_url":"https://api.github.com/users/Max-str/followers","following_url":"https://api.github.com/users/Max-str/following{/other_user}","gists_url":"https://api.github.com/users/Max-str/gists{/gist_id}","starred_url":"https://api.github.com/users/Max-str/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Max-str/subscriptions","organizations_url":"https://api.github.com/users/Max-str/orgs","repos_url":"https://api.github.com/users/Max-str/repos","events_url":"https://api.github.com/users/Max-str/events{/privacy}","received_events_url":"https://api.github.com/users/Max-str/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Max-str/nUpdate","description":"An easy update solution for .NET-applications.","fork":true,"url":"https://api.github.com/repos/Max-str/nUpdate","forks_url":"https://api.github.com/repos/Max-str/nUpdate/forks","keys_url":"https://api.github.com/repos/Max-str/nUpdate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Max-str/nUpdate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Max-str/nUpdate/teams","hooks_url":"https://api.github.com/repos/Max-str/nUpdate/hooks","issue_events_url":"https://api.github.com/repos/Max-str/nUpdate/issues/events{/number}","events_url":"https://api.github.com/repos/Max-str/nUpdate/events","assignees_url":"https://api.github.com/repos/Max-str/nUpdate/assignees{/user}","branches_url":"https://api.github.com/repos/Max-str/nUpdate/branches{/branch}","tags_url":"https://api.github.com/repos/Max-str/nUpdate/tags","blobs_url":"https://api.github.com/repos/Max-str/nUpdate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Max-str/nUpdate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Max-str/nUpdate/git/refs{/sha}","trees_url":"https://api.github.com/repos/Max-str/nUpdate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Max-str/nUpdate/statuses/{sha}","languages_url":"https://api.github.com/repos/Max-str/nUpdate/languages","stargazers_url":"https://api.github.com/repos/Max-str/nUpdate/stargazers","contributors_url":"https://api.github.com/repos/Max-str/nUpdate/contributors","subscribers_url":"https://api.github.com/repos/Max-str/nUpdate/subscribers","subscription_url":"https://api.github.com/repos/Max-str/nUpdate/subscription","commits_url":"https://api.github.com/repos/Max-str/nUpdate/commits{/sha}","git_commits_url":"https://api.github.com/repos/Max-str/nUpdate/git/commits{/sha}","comments_url":"https://api.github.com/repos/Max-str/nUpdate/comments{/number}","issue_comment_url":"https://api.github.com/repos/Max-str/nUpdate/issues/comments{/number}","contents_url":"https://api.github.com/repos/Max-str/nUpdate/contents/{+path}","compare_url":"https://api.github.com/repos/Max-str/nUpdate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Max-str/nUpdate/merges","archive_url":"https://api.github.com/repos/Max-str/nUpdate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Max-str/nUpdate/downloads","issues_url":"https://api.github.com/repos/Max-str/nUpdate/issues{/number}","pulls_url":"https://api.github.com/repos/Max-str/nUpdate/pulls{/number}","milestones_url":"https://api.github.com/repos/Max-str/nUpdate/milestones{/number}","notifications_url":"https://api.github.com/repos/Max-str/nUpdate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Max-str/nUpdate/labels{/name}","releases_url":"https://api.github.com/repos/Max-str/nUpdate/releases{/id}","created_at":"2015-07-07T18:56:08Z","updated_at":"2015-07-07T18:56:10Z","pushed_at":"2015-07-26T11:23:46Z","git_url":"git://github.com/Max-str/nUpdate.git","ssh_url":"git@github.com:Max-str/nUpdate.git","clone_url":"https://github.com/Max-str/nUpdate.git","svn_url":"https://github.com/Max-str/nUpdate","homepage":"www.nupdate.net","size":6912,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"ProgTrade:master","ref":"master","sha":"37db4fa6665b85eeeeac85799b76fbb1afce0186","user":{"login":"ProgTrade","id":6246521,"avatar_url":"https://avatars.githubusercontent.com/u/6246521?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgTrade","html_url":"https://github.com/ProgTrade","followers_url":"https://api.github.com/users/ProgTrade/followers","following_url":"https://api.github.com/users/ProgTrade/following{/other_user}","gists_url":"https://api.github.com/users/ProgTrade/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgTrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgTrade/subscriptions","organizations_url":"https://api.github.com/users/ProgTrade/orgs","repos_url":"https://api.github.com/users/ProgTrade/repos","events_url":"https://api.github.com/users/ProgTrade/events{/privacy}","received_events_url":"https://api.github.com/users/ProgTrade/received_events","type":"User","site_admin":false},"repo":{"id":15401872,"name":"nUpdate","full_name":"ProgTrade/nUpdate","owner":{"login":"ProgTrade","id":6246521,"avatar_url":"https://avatars.githubusercontent.com/u/6246521?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgTrade","html_url":"https://github.com/ProgTrade","followers_url":"https://api.github.com/users/ProgTrade/followers","following_url":"https://api.github.com/users/ProgTrade/following{/other_user}","gists_url":"https://api.github.com/users/ProgTrade/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgTrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgTrade/subscriptions","organizations_url":"https://api.github.com/users/ProgTrade/orgs","repos_url":"https://api.github.com/users/ProgTrade/repos","events_url":"https://api.github.com/users/ProgTrade/events{/privacy}","received_events_url":"https://api.github.com/users/ProgTrade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ProgTrade/nUpdate","description":"An easy update solution for .NET-applications.","fork":false,"url":"https://api.github.com/repos/ProgTrade/nUpdate","forks_url":"https://api.github.com/repos/ProgTrade/nUpdate/forks","keys_url":"https://api.github.com/repos/ProgTrade/nUpdate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProgTrade/nUpdate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProgTrade/nUpdate/teams","hooks_url":"https://api.github.com/repos/ProgTrade/nUpdate/hooks","issue_events_url":"https://api.github.com/repos/ProgTrade/nUpdate/issues/events{/number}","events_url":"https://api.github.com/repos/ProgTrade/nUpdate/events","assignees_url":"https://api.github.com/repos/ProgTrade/nUpdate/assignees{/user}","branches_url":"https://api.github.com/repos/ProgTrade/nUpdate/branches{/branch}","tags_url":"https://api.github.com/repos/ProgTrade/nUpdate/tags","blobs_url":"https://api.github.com/repos/ProgTrade/nUpdate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProgTrade/nUpdate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProgTrade/nUpdate/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProgTrade/nUpdate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProgTrade/nUpdate/statuses/{sha}","languages_url":"https://api.github.com/repos/ProgTrade/nUpdate/languages","stargazers_url":"https://api.github.com/repos/ProgTrade/nUpdate/stargazers","contributors_url":"https://api.github.com/repos/ProgTrade/nUpdate/contributors","subscribers_url":"https://api.github.com/repos/ProgTrade/nUpdate/subscribers","subscription_url":"https://api.github.com/repos/ProgTrade/nUpdate/subscription","commits_url":"https://api.github.com/repos/ProgTrade/nUpdate/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProgTrade/nUpdate/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProgTrade/nUpdate/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProgTrade/nUpdate/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProgTrade/nUpdate/contents/{+path}","compare_url":"https://api.github.com/repos/ProgTrade/nUpdate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProgTrade/nUpdate/merges","archive_url":"https://api.github.com/repos/ProgTrade/nUpdate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProgTrade/nUpdate/downloads","issues_url":"https://api.github.com/repos/ProgTrade/nUpdate/issues{/number}","pulls_url":"https://api.github.com/repos/ProgTrade/nUpdate/pulls{/number}","milestones_url":"https://api.github.com/repos/ProgTrade/nUpdate/milestones{/number}","notifications_url":"https://api.github.com/repos/ProgTrade/nUpdate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProgTrade/nUpdate/labels{/name}","releases_url":"https://api.github.com/repos/ProgTrade/nUpdate/releases{/id}","created_at":"2013-12-23T18:28:57Z","updated_at":"2015-07-25T20:55:59Z","pushed_at":"2015-07-26T11:22:08Z","git_url":"git://github.com/ProgTrade/nUpdate.git","ssh_url":"git@github.com:ProgTrade/nUpdate.git","clone_url":"https://github.com/ProgTrade/nUpdate.git","svn_url":"https://github.com/ProgTrade/nUpdate","homepage":"www.nupdate.net","size":15122,"stargazers_count":62,"watchers_count":62,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/19"},"html":{"href":"https://github.com/ProgTrade/nUpdate/pull/19"},"issue":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/issues/19"},"comments":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/ProgTrade/nUpdate/statuses/f4ef05d43ab800506546458c0bcf56cd7ef791a0"}}}}