Merge remote-tracking branch 'upstream/v1.0.x' into node_dependency_update

pull/7577/head
murgatroid99 9 years ago
commit a1c442a203
  1. 2
      CMakeLists.txt
  2. 2
      Makefile
  3. 2
      build.yaml
  4. 2
      package.json
  5. 2
      src/core/lib/surface/version.c
  6. 6
      src/csharp/.nuget/packages.config
  7. 10
      src/csharp/Grpc.Auth/project.json
  8. 2
      src/csharp/Grpc.Core.Tests/AppDomainUnloadTest.cs
  9. 2
      src/csharp/Grpc.Core.Tests/NUnitMain.cs
  10. 2
      src/csharp/Grpc.Core.Tests/SanityTest.cs
  11. 3
      src/csharp/Grpc.Core.Tests/packages.config
  12. 10
      src/csharp/Grpc.Core.Tests/project.json
  13. 2
      src/csharp/Grpc.Core/VersionInfo.cs
  14. 6
      src/csharp/Grpc.Core/project.json
  15. 3
      src/csharp/Grpc.Examples.MathClient/packages.config
  16. 5
      src/csharp/Grpc.Examples.MathClient/project.json
  17. 3
      src/csharp/Grpc.Examples.MathServer/packages.config
  18. 5
      src/csharp/Grpc.Examples.MathServer/project.json
  19. 2
      src/csharp/Grpc.Examples.Tests/NUnitMain.cs
  20. 5
      src/csharp/Grpc.Examples.Tests/project.json
  21. 2
      src/csharp/Grpc.Examples/project.json
  22. 2
      src/csharp/Grpc.HealthCheck.Tests/NUnitMain.cs
  23. 5
      src/csharp/Grpc.HealthCheck.Tests/project.json
  24. 6
      src/csharp/Grpc.HealthCheck/project.json
  25. 5
      src/csharp/Grpc.IntegrationTesting.Client/project.json
  26. 3
      src/csharp/Grpc.IntegrationTesting.QpsWorker/packages.config
  27. 5
      src/csharp/Grpc.IntegrationTesting.QpsWorker/project.json
  28. 5
      src/csharp/Grpc.IntegrationTesting.Server/project.json
  29. 3
      src/csharp/Grpc.IntegrationTesting.StressClient/packages.config
  30. 5
      src/csharp/Grpc.IntegrationTesting.StressClient/project.json
  31. 2
      src/csharp/Grpc.IntegrationTesting/GeneratedClientTest.cs
  32. 10
      src/csharp/Grpc.IntegrationTesting/InteropClient.cs
  33. 2
      src/csharp/Grpc.IntegrationTesting/NUnitMain.cs
  34. 7
      src/csharp/Grpc.IntegrationTesting/project.json
  35. 2
      src/csharp/build_packages.bat
  36. 2
      src/node/health_check/package.json
  37. 2
      src/node/tools/package.json
  38. 2
      src/php/ext/grpc/channel.c
  39. 2
      src/python/grpcio/grpc_version.py
  40. 2
      src/python/grpcio_health_checking/grpc_version.py
  41. 2
      src/python/grpcio_tests/grpc_version.py
  42. 2
      src/ruby/lib/grpc/version.rb
  43. 2
      src/ruby/tools/version.rb
  44. 6
      templates/src/csharp/Grpc.Auth/project.json.template
  45. 10
      templates/src/csharp/Grpc.Core.Tests/project.json.template
  46. 4
      templates/src/csharp/Grpc.Core/project.json.template
  47. 5
      templates/src/csharp/Grpc.Examples.MathClient/project.json.template
  48. 5
      templates/src/csharp/Grpc.Examples.MathServer/project.json.template
  49. 5
      templates/src/csharp/Grpc.Examples.Tests/project.json.template
  50. 2
      templates/src/csharp/Grpc.Examples/project.json.template
  51. 5
      templates/src/csharp/Grpc.HealthCheck.Tests/project.json.template
  52. 2
      templates/src/csharp/Grpc.HealthCheck/project.json.template
  53. 5
      templates/src/csharp/Grpc.IntegrationTesting.Client/project.json.template
  54. 5
      templates/src/csharp/Grpc.IntegrationTesting.QpsWorker/project.json.template
  55. 5
      templates/src/csharp/Grpc.IntegrationTesting.Server/project.json.template
  56. 5
      templates/src/csharp/Grpc.IntegrationTesting.StressClient/project.json.template
  57. 7
      templates/src/csharp/Grpc.IntegrationTesting/project.json.template
  58. 2
      tools/distrib/python/grpcio_tools/grpc_version.py
  59. 2
      tools/doxygen/Doxyfile.c++
  60. 2
      tools/doxygen/Doxyfile.c++.internal
  61. 2
      tools/doxygen/Doxyfile.core
  62. 2
      tools/doxygen/Doxyfile.core.internal
  63. 2
      tools/run_tests/build_csharp_coreclr.sh
  64. 7
      tools/run_tests/build_package_node.sh
  65. 4
      tools/run_tests/build_python.sh
  66. 55
      tools/run_tests/pre_build_csharp.bat
  67. 51
      tools/run_tests/pre_build_csharp.sh

@ -42,7 +42,7 @@
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
set(PACKAGE_NAME "grpc") set(PACKAGE_NAME "grpc")
set(PACKAGE_VERSION "1.0.0-pre1") set(PACKAGE_VERSION "1.0.0-pre2")
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}")
set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/")

@ -415,7 +415,7 @@ E = @echo
Q = @ Q = @
endif endif
VERSION = 1.0.0-pre1 VERSION = 1.0.0-pre2
CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES)) CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS) CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)

@ -7,7 +7,7 @@ settings:
'#3': Use "-preN" suffixes to identify pre-release versions '#3': Use "-preN" suffixes to identify pre-release versions
'#4': Per-language overrides are possible with (eg) ruby_version tag here '#4': Per-language overrides are possible with (eg) ruby_version tag here
'#5': See the expand_version.py for all the quirks here '#5': See the expand_version.py for all the quirks here
version: 1.0.0-pre1 version: 1.0.0-pre2
filegroups: filegroups:
- name: census - name: census
public_headers: public_headers:

@ -1,6 +1,6 @@
{ {
"name": "grpc", "name": "grpc",
"version": "1.0.0-pre1", "version": "1.0.0-pre2",
"author": "Google Inc.", "author": "Google Inc.",
"description": "gRPC Library for Node", "description": "gRPC Library for Node",
"homepage": "http://www.grpc.io/", "homepage": "http://www.grpc.io/",

@ -36,4 +36,4 @@
#include <grpc/grpc.h> #include <grpc/grpc.h>
const char *grpc_version_string(void) { return "1.0.0-pre1"; } const char *grpc_version_string(void) { return "1.0.0-pre2"; }

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit.ConsoleRunner" version="3.2.0" />
<package id="OpenCover" version="4.6.519" />
<package id="ReportGenerator" version="2.4.4.0" />
</packages>

@ -1,5 +1,5 @@
{ {
"version": "1.0.0-pre1", "version": "1.0.0-pre2",
"title": "gRPC C# Auth", "title": "gRPC C# Auth",
"authors": [ "Google Inc." ], "authors": [ "Google Inc." ],
"copyright": "Copyright 2015, Google Inc.", "copyright": "Copyright 2015, Google Inc.",
@ -22,7 +22,7 @@
} }
}, },
"dependencies": { "dependencies": {
"Grpc.Core": "1.0.0-pre1", "Grpc.Core": "1.0.0-pre2",
"Google.Apis.Auth": "1.11.1" "Google.Apis.Auth": "1.11.1"
}, },
"frameworks": { "frameworks": {
@ -32,9 +32,9 @@
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.Portable.Compatibility": "1.0.1-rc2-24027", "Microsoft.NETCore.Portable.Compatibility": "1.0.1",
"NETStandard.Library": "1.5.0-rc2-24027", "NETStandard.Library": "1.6.0",
"System.Threading.Tasks": "4.0.11-rc2-24027" "System.Threading.Tasks": "4.0.11"
} }
} }
} }

@ -40,7 +40,7 @@ namespace Grpc.Core.Tests
{ {
public class AppDomainUnloadTest public class AppDomainUnloadTest
{ {
#if NETSTANDARD1_5 #if NETCOREAPP1_0
[Test] [Test]
[Ignore("Not supported for CoreCLR")] [Ignore("Not supported for CoreCLR")]
public void AppDomainUnloadHookCanCleanupAbandonedCall() public void AppDomainUnloadHookCanCleanupAbandonedCall()

@ -49,7 +49,7 @@ namespace Grpc.Core.Tests
{ {
// Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406. // Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406.
GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error)); GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error));
#if NETSTANDARD1_5 #if NETCOREAPP1_0
return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In); return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In);
#else #else
return new AutoRun().Execute(args); return new AutoRun().Execute(args);

@ -46,7 +46,7 @@ namespace Grpc.Core.Tests
public class SanityTest public class SanityTest
{ {
// TODO: make sanity test work for CoreCLR as well // TODO: make sanity test work for CoreCLR as well
#if !NETSTANDARD1_5 #if !NETCOREAPP1_0
/// <summary> /// <summary>
/// Because we depend on a native library, sometimes when things go wrong, the /// Because we depend on a native library, sometimes when things go wrong, the
/// entire NUnit test process crashes. To be able to track down problems better, /// entire NUnit test process crashes. To be able to track down problems better,

@ -4,4 +4,7 @@
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" /> <package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
<package id="NUnit" version="3.2.0" targetFramework="net45" /> <package id="NUnit" version="3.2.0" targetFramework="net45" />
<package id="NUnitLite" version="3.2.0" targetFramework="net45" /> <package id="NUnitLite" version="3.2.0" targetFramework="net45" />
<package id="NUnit.ConsoleRunner" version="3.2.0" />
<package id="OpenCover" version="4.6.519" />
<package id="ReportGenerator" version="2.4.4.0" />
</packages> </packages>

@ -54,16 +54,20 @@
}, },
"Newtonsoft.Json": "8.0.3", "Newtonsoft.Json": "8.0.3",
"NUnit": "3.2.0", "NUnit": "3.2.0",
"NUnitLite": "3.2.0-*" "NUnitLite": "3.2.0-*",
"NUnit.ConsoleRunner": "3.2.0",
"OpenCover": "4.6.519",
"ReportGenerator": "2.4.4.0"
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
}, },

@ -53,6 +53,6 @@ namespace Grpc.Core
/// <summary> /// <summary>
/// Current version of gRPC C# /// Current version of gRPC C#
/// </summary> /// </summary>
public const string CurrentVersion = "1.0.0-pre1"; public const string CurrentVersion = "1.0.0-pre2";
} }
} }

@ -1,5 +1,5 @@
{ {
"version": "1.0.0-pre1", "version": "1.0.0-pre2",
"title": "gRPC C# Core", "title": "gRPC C# Core",
"authors": [ "Google Inc." ], "authors": [ "Google Inc." ],
"copyright": "Copyright 2015, Google Inc.", "copyright": "Copyright 2015, Google Inc.",
@ -40,8 +40,8 @@
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027", "NETStandard.Library": "1.6.0",
"System.Threading.Thread": "4.0.0-rc2-24027" "System.Threading.Thread": "4.0.0"
} }
} }
} }

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
</packages>

@ -55,12 +55,13 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
</packages>

@ -55,12 +55,13 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -49,7 +49,7 @@ namespace Grpc.Examples.Tests
{ {
// Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406. // Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406.
GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error)); GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error));
#if NETSTANDARD1_5 #if NETCOREAPP1_0
return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In); return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In);
#else #else
return new AutoRun().Execute(args); return new AutoRun().Execute(args);

@ -57,12 +57,13 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -20,7 +20,7 @@
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "NETStandard.Library": "1.6.0"
} }
} }
} }

@ -49,7 +49,7 @@ namespace Grpc.HealthCheck.Tests
{ {
// Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406. // Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406.
GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error)); GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error));
#if NETSTANDARD1_5 #if NETCOREAPP1_0
return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In); return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In);
#else #else
return new AutoRun().Execute(args); return new AutoRun().Execute(args);

@ -57,12 +57,13 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -1,5 +1,5 @@
{ {
"version": "1.0.0-pre1", "version": "1.0.0-pre2",
"title": "gRPC C# Healthchecking", "title": "gRPC C# Healthchecking",
"authors": [ "Google Inc." ], "authors": [ "Google Inc." ],
"copyright": "Copyright 2015, Google Inc.", "copyright": "Copyright 2015, Google Inc.",
@ -22,7 +22,7 @@
} }
}, },
"dependencies": { "dependencies": {
"Grpc.Core": "1.0.0-pre1", "Grpc.Core": "1.0.0-pre2",
"Google.Protobuf": "3.0.0-beta3" "Google.Protobuf": "3.0.0-beta3"
}, },
"frameworks": { "frameworks": {
@ -37,7 +37,7 @@
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "NETStandard.Library": "1.6.0"
} }
} }
} }

@ -57,13 +57,14 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
</packages>

@ -57,13 +57,14 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -57,13 +57,14 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
</packages>

@ -57,13 +57,14 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -49,7 +49,7 @@ namespace Grpc.IntegrationTesting
TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient(); TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient();
// TODO: replace Moq by some mocking library with CoreCLR support. // TODO: replace Moq by some mocking library with CoreCLR support.
#if !NETSTANDARD1_5 #if !NETCOREAPP1_0
[Test] [Test]
public void ExpandedParamOverloadCanBeMocked() public void ExpandedParamOverloadCanBeMocked()
{ {

@ -145,7 +145,7 @@ namespace Grpc.IntegrationTesting
if (options.TestCase == "jwt_token_creds") if (options.TestCase == "jwt_token_creds")
{ {
#if !NETSTANDARD1_5 #if !NETCOREAPP1_0
var googleCredential = await GoogleCredential.GetApplicationDefaultAsync(); var googleCredential = await GoogleCredential.GetApplicationDefaultAsync();
Assert.IsTrue(googleCredential.IsCreateScopedRequired); Assert.IsTrue(googleCredential.IsCreateScopedRequired);
credentials = ChannelCredentials.Create(credentials, googleCredential.ToCallCredentials()); credentials = ChannelCredentials.Create(credentials, googleCredential.ToCallCredentials());
@ -157,7 +157,7 @@ namespace Grpc.IntegrationTesting
if (options.TestCase == "compute_engine_creds") if (options.TestCase == "compute_engine_creds")
{ {
#if !NETSTANDARD1_5 #if !NETCOREAPP1_0
var googleCredential = await GoogleCredential.GetApplicationDefaultAsync(); var googleCredential = await GoogleCredential.GetApplicationDefaultAsync();
Assert.IsFalse(googleCredential.IsCreateScopedRequired); Assert.IsFalse(googleCredential.IsCreateScopedRequired);
credentials = ChannelCredentials.Create(credentials, googleCredential.ToCallCredentials()); credentials = ChannelCredentials.Create(credentials, googleCredential.ToCallCredentials());
@ -395,7 +395,7 @@ namespace Grpc.IntegrationTesting
public static async Task RunOAuth2AuthTokenAsync(TestService.TestServiceClient client, string oauthScope) public static async Task RunOAuth2AuthTokenAsync(TestService.TestServiceClient client, string oauthScope)
{ {
#if !NETSTANDARD1_5 #if !NETCOREAPP1_0
Console.WriteLine("running oauth2_auth_token"); Console.WriteLine("running oauth2_auth_token");
ITokenAccess credential = (await GoogleCredential.GetApplicationDefaultAsync()).CreateScoped(new[] { oauthScope }); ITokenAccess credential = (await GoogleCredential.GetApplicationDefaultAsync()).CreateScoped(new[] { oauthScope });
string oauth2Token = await credential.GetAccessTokenForRequestAsync(); string oauth2Token = await credential.GetAccessTokenForRequestAsync();
@ -421,7 +421,7 @@ namespace Grpc.IntegrationTesting
public static async Task RunPerRpcCredsAsync(TestService.TestServiceClient client, string oauthScope) public static async Task RunPerRpcCredsAsync(TestService.TestServiceClient client, string oauthScope)
{ {
#if !NETSTANDARD1_5 #if !NETCOREAPP1_0
Console.WriteLine("running per_rpc_creds"); Console.WriteLine("running per_rpc_creds");
ITokenAccess googleCredential = await GoogleCredential.GetApplicationDefaultAsync(); ITokenAccess googleCredential = await GoogleCredential.GetApplicationDefaultAsync();
@ -731,7 +731,7 @@ namespace Grpc.IntegrationTesting
// extracts the client_email field from service account file used for auth test cases // extracts the client_email field from service account file used for auth test cases
private static string GetEmailFromServiceAccountFile() private static string GetEmailFromServiceAccountFile()
{ {
#if !NETSTANDARD1_5 #if !NETCOREAPP1_0
string keyFile = Environment.GetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS"); string keyFile = Environment.GetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS");
Assert.IsNotNull(keyFile); Assert.IsNotNull(keyFile);
var jobject = JObject.Parse(File.ReadAllText(keyFile)); var jobject = JObject.Parse(File.ReadAllText(keyFile));

@ -49,7 +49,7 @@ namespace Grpc.IntegrationTesting
{ {
// Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406. // Make logger immune to NUnit capturing stdout and stderr to workaround https://github.com/nunit/nunit/issues/1406.
GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error)); GrpcEnvironment.SetLogger(new TextWriterLogger(Console.Error));
#if NETSTANDARD1_5 #if NETCOREAPP1_0
return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In); return new AutoRun(typeof(NUnitMain).GetTypeInfo().Assembly).Execute(args, new ExtendedTextWrapper(Console.Out), Console.In);
#else #else
return new AutoRun().Execute(args); return new AutoRun().Execute(args);

@ -72,14 +72,15 @@
"System.IO": "" "System.IO": ""
} }
}, },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027", "Microsoft.NETCore.App": "1.0.0",
"System.Linq.Expressions": "4.0.11-rc2-24027" "NETStandard.Library": "1.6.0",
"System.Linq.Expressions": "4.1.0"
} }
} }
} }

@ -30,7 +30,7 @@
@rem Builds gRPC NuGet packages @rem Builds gRPC NuGet packages
@rem Current package versions @rem Current package versions
set VERSION=1.0.0-pre1 set VERSION=1.0.0-pre2
set PROTOBUF_VERSION=3.0.0-beta3 set PROTOBUF_VERSION=3.0.0-beta3
@rem Packages that depend on prerelease packages (like Google.Protobuf) need to have prerelease suffix as well. @rem Packages that depend on prerelease packages (like Google.Protobuf) need to have prerelease suffix as well.

@ -1,6 +1,6 @@
{ {
"name": "grpc-health-check", "name": "grpc-health-check",
"version": "1.0.0-pre1", "version": "1.0.0-pre2",
"author": "Google Inc.", "author": "Google Inc.",
"description": "Health check service for use with gRPC", "description": "Health check service for use with gRPC",
"repository": { "repository": {

@ -1,6 +1,6 @@
{ {
"name": "grpc-tools", "name": "grpc-tools",
"version": "1.0.0-pre1", "version": "1.0.0-pre2",
"author": "Google Inc.", "author": "Google Inc.",
"description": "Tools for developing with gRPC on Node.js", "description": "Tools for developing with gRPC on Node.js",
"homepage": "http://www.grpc.io/", "homepage": "http://www.grpc.io/",

@ -84,7 +84,7 @@ void php_grpc_read_args_array(zval *args_array,
array_hash = Z_ARRVAL_P(args_array); array_hash = Z_ARRVAL_P(args_array);
if (!array_hash) { if (!array_hash) {
zend_throw_exception(spl_ce_InvalidArgumentException, zend_throw_exception(spl_ce_InvalidArgumentException,
"array_hash is NULL", 1); "array_hash is NULL", 1 TSRMLS_CC);
return; return;
} }
args->num_args = zend_hash_num_elements(array_hash); args->num_args = zend_hash_num_elements(array_hash);

@ -29,4 +29,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_version.py.template`!!!
VERSION='1.0.0rc1' VERSION='1.0.0rc2'

@ -29,4 +29,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_health_checking/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_health_checking/grpc_version.py.template`!!!
VERSION='1.0.0rc1' VERSION='1.0.0rc2'

@ -29,4 +29,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_tests/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_tests/grpc_version.py.template`!!!
VERSION='1.0.0rc1' VERSION='1.0.0rc2'

@ -29,5 +29,5 @@
# GRPC contains the General RPC module. # GRPC contains the General RPC module.
module GRPC module GRPC
VERSION = '1.0.0.pre1' VERSION = '1.0.0.pre2'
end end

@ -29,6 +29,6 @@
module GRPC module GRPC
module Tools module Tools
VERSION = '1.0.0.pre1' VERSION = '1.0.0.pre2'
end end
end end

@ -34,9 +34,9 @@
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.Portable.Compatibility": "1.0.1-rc2-24027", "Microsoft.NETCore.Portable.Compatibility": "1.0.1",
"NETStandard.Library": "1.5.0-rc2-24027", "NETStandard.Library": "1.6.0",
"System.Threading.Tasks": "4.0.11-rc2-24027" "System.Threading.Tasks": "4.0.11"
} }
} }
} }

@ -8,16 +8,20 @@
}, },
"Newtonsoft.Json": "8.0.3", "Newtonsoft.Json": "8.0.3",
"NUnit": "3.2.0", "NUnit": "3.2.0",
"NUnitLite": "3.2.0-*" "NUnitLite": "3.2.0-*",
"NUnit.ConsoleRunner": "3.2.0",
"OpenCover": "4.6.519",
"ReportGenerator": "2.4.4.0"
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
}, },

@ -42,8 +42,8 @@
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027", "NETStandard.Library": "1.6.0",
"System.Threading.Thread": "4.0.0-rc2-24027" "System.Threading.Thread": "4.0.0"
} }
} }
} }

@ -9,12 +9,13 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -9,12 +9,13 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -11,12 +11,13 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -20,7 +20,7 @@
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "NETStandard.Library": "1.6.0"
} }
} }
} }

@ -11,12 +11,13 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -39,7 +39,7 @@
"portable-net45" "portable-net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "NETStandard.Library": "1.6.0"
} }
} }
} }

@ -9,13 +9,14 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -9,13 +9,14 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -9,13 +9,14 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -9,13 +9,14 @@
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027" "Microsoft.NETCore.App": "1.0.0",
"NETStandard.Library": "1.6.0"
} }
} }
} }

@ -24,14 +24,15 @@
"System.IO": "" "System.IO": ""
} }
}, },
"netstandard1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"portable-net45", "portable-net45",
"net45" "net45"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027", "Microsoft.NETCore.App": "1.0.0",
"System.Linq.Expressions": "4.0.11-rc2-24027" "NETStandard.Library": "1.6.0",
"System.Linq.Expressions": "4.1.0"
} }
} }
} }

@ -29,4 +29,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
VERSION='1.0.0rc1' VERSION='1.0.0rc2'

@ -40,7 +40,7 @@ PROJECT_NAME = "GRPC C++"
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # control system is used.
PROJECT_NUMBER = 1.0.0-pre1 PROJECT_NUMBER = 1.0.0-pre2
# Using the PROJECT_BRIEF tag one can provide an optional one line description # Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a # for a project that appears at the top of each page and should give viewer a

@ -40,7 +40,7 @@ PROJECT_NAME = "GRPC C++"
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # control system is used.
PROJECT_NUMBER = 1.0.0-pre1 PROJECT_NUMBER = 1.0.0-pre2
# Using the PROJECT_BRIEF tag one can provide an optional one line description # Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a # for a project that appears at the top of each page and should give viewer a

@ -40,7 +40,7 @@ PROJECT_NAME = "GRPC Core"
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # control system is used.
PROJECT_NUMBER = 1.0.0-pre1 PROJECT_NUMBER = 1.0.0-pre2
# Using the PROJECT_BRIEF tag one can provide an optional one line description # Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a # for a project that appears at the top of each page and should give viewer a

@ -40,7 +40,7 @@ PROJECT_NAME = "GRPC Core"
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # control system is used.
PROJECT_NUMBER = 1.0.0-pre1 PROJECT_NUMBER = 1.0.0-pre2
# Using the PROJECT_BRIEF tag one can provide an optional one line description # Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a # for a project that appears at the top of each page and should give viewer a

@ -35,4 +35,4 @@ cd $(dirname $0)/../../src/csharp
# TODO(jtattermusch): introduce caching # TODO(jtattermusch): introduce caching
dotnet restore . dotnet restore .
dotnet build -f netstandard1.5 --configuration $MSBUILD_CONFIG '**/project.json' dotnet build --configuration $MSBUILD_CONFIG '**/project.json'

@ -49,7 +49,12 @@ cp grpc-*.tgz $artifacts/grpc.tgz
mkdir -p bin mkdir -p bin
cd src/node/tools cd $base/src/node/health_check
npm update
npm pack
cp grpc-health-check-*.tgz $artifacts/
cd $base/src/node/tools
npm update npm update
npm pack npm pack
cp grpc-tools-*.tgz $artifacts/ cp grpc-tools-*.tgz $artifacts/

@ -168,7 +168,9 @@ pip_install_dir() {
cd $PWD cd $PWD
} }
$VENV_PYTHON -m pip install --upgrade pip setuptools $VENV_PYTHON -m pip install --upgrade pip
# TODO(https://github.com/pypa/setuptools/issues/709) get the latest setuptools
$VENV_PYTHON -m pip install setuptools==25.1.1
$VENV_PYTHON -m pip install cython $VENV_PYTHON -m pip install cython
pip_install_dir $ROOT pip_install_dir $ROOT
$VENV_PYTHON $ROOT/tools/distrib/python/make_grpcio_tools.py $VENV_PYTHON $ROOT/tools/distrib/python/make_grpcio_tools.py

@ -38,8 +38,61 @@ cd /d %~dp0\..\..
set NUGET=C:\nuget\nuget.exe set NUGET=C:\nuget\nuget.exe
if exist %NUGET% ( if exist %NUGET% (
@rem Restore Grpc packages by packages since Nuget client 3.4.4 doesnt support restore
@rem by solution
@rem Moving into each directory to let the restores work with both nuget 3.4 and 2.8
%NUGET% restore vsprojects/grpc_csharp_ext.sln || goto :error %NUGET% restore vsprojects/grpc_csharp_ext.sln || goto :error
%NUGET% restore src/csharp/Grpc.sln || goto :error
cd src/csharp
cd Grpc.Auth || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.Core || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.Core.Tests || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.Examples.MathClient || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.Examples.MathServer || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.Examples || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.HealthCheck.Tests || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.HealthCheck || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.IntegrationTesting.Client || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.IntegrationTesting.QpsWorker || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.IntegrationTesting.StressClient || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd ..
cd Grpc.IntegrationTesting || goto :error
%NUGET% restore -PackagesDirectory ../packages || goto :error
cd /d %~dp0\..\.. || goto :error
) )
endlocal endlocal

@ -37,5 +37,54 @@ root=`pwd`
if [ -x "$(command -v nuget)" ] if [ -x "$(command -v nuget)" ]
then then
nuget restore Grpc.sln # Restoring Nuget packages by packages rather than by solution because of
# inability to restore by solution with Nuget client 3.4.4
# Moving into each directory to let the restores work with nuget 3.4 and 2.8
cd Grpc.Auth
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.Core.Tests
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.Core
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.Examples.MathClient
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.Examples.MathServer
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.Examples
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.HealthCheck.Tests
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.HealthCheck
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.IntegrationTesting.Client
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.IntegrationTesting.QpsWorker
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.IntegrationTesting.StressClient
nuget restore -PackagesDirectory ../packages
cd ..
cd Grpc.IntegrationTesting
nuget restore -PackagesDirectory ../packages
cd ..
fi fi

Loading…
Cancel
Save