mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
Merge branch 'master' into download-timeout
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
</group>
|
||||
</dependencies>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System" targetFramework="net45" />
|
||||
<frameworkAssembly assemblyName="System.Net.Http" targetFramework="net45, netcore45" />
|
||||
</frameworkAssemblies>
|
||||
</metadata>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// Optional. Gets or sets whether to enable issues for the new repository. The default is true.
|
||||
/// </summary>
|
||||
public bool HasIssues { get; set; }
|
||||
public bool? HasIssues { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional. Gets or sets whether to enable the wiki for the new repository. The default is true.
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# Octokit - GitHub API Client Library for .NET [](https://ci.appveyor.com/project/Haacked15676/octokit-net)
|
||||
|
||||

|
||||
|
||||
|
||||
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/).
|
||||
|
||||
|
||||
@@ -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. " +
|
||||
|
||||
@@ -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
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
Reference in New Issue
Block a user