-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to 2.0.0-preview2 #306
Conversation
caleblloyd
commented
Jul 3, 2017
- Fixes Upgrade to 2.0.0-preview #282
- Once this is in Master we can get MyGet publishing Pre Releases again
- This should have all of the same features as 1.1.2
- Only functional test still failing is due to Including collection navigation after optional navigation throws NRE with async in 2.0.0 dotnet/efcore#9038 and will fix once resolved upstream
Fixes migration unit tests
Fix value generation
Finish upgrade to EFCore 2.0.0-preview2
.travis.yml
Outdated
@@ -13,15 +13,18 @@ branches: | |||
|
|||
before_install: | |||
- docker run --name mysql -e MYSQL_ROOT_PASSWORD=Password12! -d mysql:5.7 | |||
- docker run -v $(pwd):/dotnet/:rw -e 'CI=True' --name dotnet --link mysql:mysql -d microsoft/dotnet:1.1.1-sdk sh -c 'while true; do sleep 0.1; done' | |||
- docker run -v $(pwd):/dotnet/:rw -e 'CI=True' --name dotnet --link mysql:mysql -d microsoft/dotnet:2.0.0-preview1-sdk sh -c 'while true; do sleep 0.1; done' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preview2 sdk
build-run.ps1
Outdated
$dotnetSharedRuntimeChannel = "rel-1.0.0" | ||
$dotnetArch = 'x64' | ||
$dotnetChannel = "preview" | ||
$dotnetVersion = "2.0.0-preview1-005957" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preview2
& "$buildFolder\dotnet\dotnet-install.ps1" -Channel $dotnetSharedRuntimeChannel -SharedRuntime -Version $dotnetSharedRuntimeVersion -Architecture x64 | ||
} | ||
& "$buildFolder\dotnet\dotnet-install.ps1" -Channel $dotnetChannel -Version $dotnetVersion -Architecture $dotnetArch | ||
InstallSharedRuntime -version "1.1.2" -channel "release/1.1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preview2
@@ -0,0 +1,29 @@ | |||
using JetBrains.Annotations; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing License
@@ -0,0 +1,17 @@ | |||
// Copyright (c) Pomelo Foundation. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the unused class
namespace Microsoft.EntityFrameworkCore.Metadata | ||
{ | ||
public interface IMySqlIndexAnnotations : IRelationalIndexAnnotations | ||
{ | ||
string Method { get; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should support hash and btree instead of these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That could be handled in a separate PR
@@ -0,0 +1,10 @@ | |||
// Copyright (c) Pomelo Foundation. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unsupported feature
/// This API supports the Entity Framework Core infrastructure and is not intended to be used | ||
/// directly from your code. This API may change or be removed in future releases. | ||
/// </summary> | ||
public const string Clustered = Prefix + "Clustered"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unsupported feature
/// This API supports the Entity Framework Core infrastructure and is not intended to be used | ||
/// directly from your code. This API may change or be removed in future releases. | ||
/// </summary> | ||
public new virtual bool IsClustered(bool? value) => SetIsClustered(value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove cluster
{ | ||
} | ||
|
||
public virtual bool? IsClustered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
Thanks I'll fix these and get MyGet running tomorrow! |