diff --git a/Octokit.nuspec b/Octokit.nuspec index cc5a8175..03d9c88b 100644 --- a/Octokit.nuspec +++ b/Octokit.nuspec @@ -26,6 +26,7 @@ + diff --git a/Octokit/Exceptions/PrivateRepositoryQuotaExceededException.cs b/Octokit/Exceptions/PrivateRepositoryQuotaExceededException.cs index 1017b5dc..47aec19a 100644 --- a/Octokit/Exceptions/PrivateRepositoryQuotaExceededException.cs +++ b/Octokit/Exceptions/PrivateRepositoryQuotaExceededException.cs @@ -29,8 +29,9 @@ namespace Octokit get { // TODO: Would be nice to show the actual numbers, but that requires another request. - return "You are currently at your limit of private repositories. Either delete a private repository " - + "you no longer use or upgrade your account to a plan that allows for more private repositories."; + return "You are currently at your limit of private repositories. Either delete a private repository you no " + + "longer use (https://help.github.com/articles/deleting-a-repository/) or upgrade your account to a plan " + + "that allows for more private repositories (https://help.github.com/articles/what-plan-should-i-choose/)."; } } @@ -52,4 +53,4 @@ namespace Octokit } #endif } -} \ No newline at end of file +} diff --git a/Octokit/Models/Request/NewRepository.cs b/Octokit/Models/Request/NewRepository.cs index 7e004679..04184c5d 100644 --- a/Octokit/Models/Request/NewRepository.cs +++ b/Octokit/Models/Request/NewRepository.cs @@ -40,7 +40,7 @@ namespace Octokit /// /// Optional. Gets or sets whether to enable issues for the new repository. The default is true. /// - public bool HasIssues { get; set; } + public bool? HasIssues { get; set; } /// /// Optional. Gets or sets whether to enable the wiki for the new repository. The default is true. diff --git a/README.md b/README.md index bb2bbe4f..0d3daa22 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Octokit - GitHub API Client Library for .NET [![Build Status](https://ci.appveyor.com/api/projects/status/github/octokit/octokit.net?branch=master)](https://ci.appveyor.com/project/Haacked15676/octokit-net) +![logo](octokit-dotnet_2.png) + + Octokit is a client library targeting .NET 4.5 and above that provides an easy way to interact with the [GitHub API](http://developer.github.com/v3/). diff --git a/build.fsx b/build.fsx index 23b7a4f4..ee632a46 100644 --- a/build.fsx +++ b/build.fsx @@ -39,7 +39,7 @@ Target "Clean" (fun _ -> ) open Fake.AssemblyInfoFile -open Fake.XUnit2Helper +open Fake.Testing Target "AssemblyInfo" (fun _ -> CreateCSharpAssemblyInfo "./SolutionInfo.cs" @@ -88,14 +88,14 @@ Target "ConventionTests" (fun _ -> !! (sprintf "./Octokit.Tests.Conventions/bin/%s/**/Octokit.Tests.Conventions.dll" buildMode) |> xUnit2 (fun p -> {p with - OutputDir = testResultsDir }) + HtmlOutputPath = Some (testResultsDir @@ "xunit.html") }) ) Target "UnitTests" (fun _ -> !! (sprintf "./Octokit.Tests/bin/%s/**/Octokit.Tests*.dll" buildMode) |> xUnit2 (fun p -> {p with - OutputDir = testResultsDir }) + HtmlOutputPath = Some (testResultsDir @@ "xunit.html") }) ) Target "IntegrationTests" (fun _ -> @@ -103,7 +103,7 @@ Target "IntegrationTests" (fun _ -> !! (sprintf "./Octokit.Tests.Integration/bin/%s/**/Octokit.Tests.Integration.dll" buildMode) |> xUnit2 (fun p -> {p with - OutputDir = testResultsDir + HtmlOutputPath = Some (testResultsDir @@ "xunit.html") TimeOut = TimeSpan.FromMinutes 10.0 }) else "The integration tests were skipped because the OCTOKIT_GITHUBUSERNAME and OCTOKIT_GITHUBPASSWORD environment variables are not set. " + diff --git a/build.sh b/build.sh new file mode 100755 index 00000000..14ecf10d --- /dev/null +++ b/build.sh @@ -0,0 +1,16 @@ +#!/bin/bash +if test "$OS" = "Windows_NT" +then + # use .Net + +"./tools/nuget/nuget.exe" "install" "xunit.runner.console" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "2.0.0" +"./tools/nuget/nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "4.4.2" +"./tools/nuget/nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "1.1.0" +packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx +else + # use mono +mono "./tools/nuget/nuget.exe" "install" "xunit.runner.console" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "2.0.0" +mono "./tools/nuget/nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "4.4.2" +mono "./tools/nuget/nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "1.1.0" + mono ./tools/FAKE.Core/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx +fi diff --git a/octokit-dotnet_2.png b/octokit-dotnet_2.png new file mode 100644 index 00000000..34843e89 Binary files /dev/null and b/octokit-dotnet_2.png differ