{"action":"opened","number":516,"pull_request":{"url":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls/516","id":51593327,"html_url":"https://github.com/OmniSharp/generator-aspnet/pull/516","diff_url":"https://github.com/OmniSharp/generator-aspnet/pull/516.diff","patch_url":"https://github.com/OmniSharp/generator-aspnet/pull/516.patch","issue_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/issues/516","number":516,"state":"open","locked":false,"title":":art: Add unstable NuGet config option. Closes #183","user":{"login":"peterblazejewicz","id":14539,"avatar_url":"https://avatars.githubusercontent.com/u/14539?v=3","gravatar_id":"","url":"https://api.github.com/users/peterblazejewicz","html_url":"https://github.com/peterblazejewicz","followers_url":"https://api.github.com/users/peterblazejewicz/followers","following_url":"https://api.github.com/users/peterblazejewicz/following{/other_user}","gists_url":"https://api.github.com/users/peterblazejewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterblazejewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterblazejewicz/subscriptions","organizations_url":"https://api.github.com/users/peterblazejewicz/orgs","repos_url":"https://api.github.com/users/peterblazejewicz/repos","events_url":"https://api.github.com/users/peterblazejewicz/events{/privacy}","received_events_url":"https://api.github.com/users/peterblazejewicz/received_events","type":"User","site_admin":false},"body":"- add conditional option to NuGet subgenerator\r\n- update tests to cover unstable feed generation\r\n- update tests helper to support no-content assertion\r\n- update documention and usage files\r\n\r\nWith this commit the users will be able to generate NuGet config file\r\nwith unstable feed to support pre-release development - e.g. when updating\r\nthis generator\r\n\r\nThe content generated with default option:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<configuration>\r\n  <packageSources>\r\n    <!--To inherit the global NuGet package sources remove the <clear /> line below -->\r\n    <clear />\r\n    <add key=\"api.nuget.org\" value=\"https://api.nuget.org/v3/index.json\" />\r\n  </packageSources>\r\n</configuration>\r\n```\r\nThe content generated with `--unstable` option:\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<configuration>\r\n  <packageSources>\r\n    <!--To inherit the global NuGet package sources remove the <clear /> line below -->\r\n    <clear />\r\n    <add key=\"api.nuget.org\" value=\"https://api.nuget.org/v3/index.json\" />\r\n    <add key=\"aspnetrelease\" value=\"https://myget.org/f/aspnetrc1/api/v2\" />\r\n  </packageSources>\r\n</configuration>\r\n```\r\n\r\nI need someone to review this PR:\r\n- is that everything we should add to support pre-release, e.g. 1.0.0-rc2 development?\r\n- is the feed name/path correct?\r\n- is the NuGet file structure OK?\r\n\r\nThanks!\r\n","created_at":"2015-11-23T22:58:53Z","updated_at":"2015-11-23T22:58:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"500e30438a7f00079306b18c33aa089ac334fd87","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls/516/commits","review_comments_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls/516/comments","review_comment_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/issues/516/comments","statuses_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/statuses/72ecad55c7ba782c414f0c07d8fb1b2e09151f10","head":{"label":"peterblazejewicz:feature/unstable-nuget-feed","ref":"feature/unstable-nuget-feed","sha":"72ecad55c7ba782c414f0c07d8fb1b2e09151f10","user":{"login":"peterblazejewicz","id":14539,"avatar_url":"https://avatars.githubusercontent.com/u/14539?v=3","gravatar_id":"","url":"https://api.github.com/users/peterblazejewicz","html_url":"https://github.com/peterblazejewicz","followers_url":"https://api.github.com/users/peterblazejewicz/followers","following_url":"https://api.github.com/users/peterblazejewicz/following{/other_user}","gists_url":"https://api.github.com/users/peterblazejewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterblazejewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterblazejewicz/subscriptions","organizations_url":"https://api.github.com/users/peterblazejewicz/orgs","repos_url":"https://api.github.com/users/peterblazejewicz/repos","events_url":"https://api.github.com/users/peterblazejewicz/events{/privacy}","received_events_url":"https://api.github.com/users/peterblazejewicz/received_events","type":"User","site_admin":false},"repo":{"id":28199889,"name":"generator-aspnet","full_name":"peterblazejewicz/generator-aspnet","owner":{"login":"peterblazejewicz","id":14539,"avatar_url":"https://avatars.githubusercontent.com/u/14539?v=3","gravatar_id":"","url":"https://api.github.com/users/peterblazejewicz","html_url":"https://github.com/peterblazejewicz","followers_url":"https://api.github.com/users/peterblazejewicz/followers","following_url":"https://api.github.com/users/peterblazejewicz/following{/other_user}","gists_url":"https://api.github.com/users/peterblazejewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterblazejewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterblazejewicz/subscriptions","organizations_url":"https://api.github.com/users/peterblazejewicz/orgs","repos_url":"https://api.github.com/users/peterblazejewicz/repos","events_url":"https://api.github.com/users/peterblazejewicz/events{/privacy}","received_events_url":"https://api.github.com/users/peterblazejewicz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterblazejewicz/generator-aspnet","description":"yo generator for ASP.NET 5","fork":true,"url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet","forks_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/forks","keys_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/teams","hooks_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/hooks","issue_events_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/issues/events{/number}","events_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/events","assignees_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/assignees{/user}","branches_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/branches{/branch}","tags_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/tags","blobs_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/statuses/{sha}","languages_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/languages","stargazers_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/stargazers","contributors_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/contributors","subscribers_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/subscribers","subscription_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/subscription","commits_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/contents/{+path}","compare_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/merges","archive_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/downloads","issues_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/issues{/number}","pulls_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/pulls{/number}","milestones_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/milestones{/number}","notifications_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/labels{/name}","releases_url":"https://api.github.com/repos/peterblazejewicz/generator-aspnet/releases{/id}","created_at":"2014-12-18T20:16:47Z","updated_at":"2015-05-08T20:12:42Z","pushed_at":"2015-11-23T22:56:16Z","git_url":"git://github.com/peterblazejewicz/generator-aspnet.git","ssh_url":"git@github.com:peterblazejewicz/generator-aspnet.git","clone_url":"https://github.com/peterblazejewicz/generator-aspnet.git","svn_url":"https://github.com/peterblazejewicz/generator-aspnet","homepage":null,"size":1082,"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":"OmniSharp:master","ref":"master","sha":"b2d30c7b15eddf94e071e4f912f8b41a04a6a68f","user":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"repo":{"id":27441508,"name":"generator-aspnet","full_name":"OmniSharp/generator-aspnet","owner":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OmniSharp/generator-aspnet","description":"yo generator for ASP.NET 5","fork":false,"url":"https://api.github.com/repos/OmniSharp/generator-aspnet","forks_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/forks","keys_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/teams","hooks_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/hooks","issue_events_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/issues/events{/number}","events_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/events","assignees_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/assignees{/user}","branches_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/branches{/branch}","tags_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/tags","blobs_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/statuses/{sha}","languages_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/languages","stargazers_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/stargazers","contributors_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/contributors","subscribers_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/subscribers","subscription_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/subscription","commits_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/contents/{+path}","compare_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/merges","archive_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/downloads","issues_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/issues{/number}","pulls_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls{/number}","milestones_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/milestones{/number}","notifications_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/labels{/name}","releases_url":"https://api.github.com/repos/OmniSharp/generator-aspnet/releases{/id}","created_at":"2014-12-02T16:28:39Z","updated_at":"2015-11-23T15:41:49Z","pushed_at":"2015-11-23T22:58:53Z","git_url":"git://github.com/OmniSharp/generator-aspnet.git","ssh_url":"git@github.com:OmniSharp/generator-aspnet.git","clone_url":"https://github.com/OmniSharp/generator-aspnet.git","svn_url":"https://github.com/OmniSharp/generator-aspnet","homepage":null,"size":1309,"stargazers_count":355,"watchers_count":355,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":42,"forks":87,"open_issues":42,"watchers":355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls/516"},"html":{"href":"https://github.com/OmniSharp/generator-aspnet/pull/516"},"issue":{"href":"https://api.github.com/repos/OmniSharp/generator-aspnet/issues/516"},"comments":{"href":"https://api.github.com/repos/OmniSharp/generator-aspnet/issues/516/comments"},"review_comments":{"href":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls/516/comments"},"review_comment":{"href":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OmniSharp/generator-aspnet/pulls/516/commits"},"statuses":{"href":"https://api.github.com/repos/OmniSharp/generator-aspnet/statuses/72ecad55c7ba782c414f0c07d8fb1b2e09151f10"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":34,"deletions":6,"changed_files":4}}