Skip to content
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

Remove Legacy build flavor from all over the tree #3415

Merged
merged 4 commits into from
Sep 20, 2017

Conversation

attilah
Copy link
Contributor

@attilah attilah commented Sep 18, 2017

Remove OrleansHost project and tests
Cleanup csproj, targets and props files to have only the current information
Fix missing or wrong xml comments
Bump version to 2.0.0 preview 4
Enable warning as error for the solution as default

<PropertyGroup Condition=" '$(BuildFlavor)' == 'Legacy' ">
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">1.6.0</VersionPrefix>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' "></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">preview4</VersionSuffix>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't update this, since we will probably not update the preview number, just the build number (the date), unless we have bigger breaking changes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

sb.Append(" .NET version: ").AppendLine(Environment.Version.ToString());
sb.Append(" OS version: ").AppendLine(Environment.OSVersion.ToString());
sb.Append(" App config file: ").AppendLine(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd leave the conditional compilation (although just around this line) if we didn't solve this yet, as a reminder of stuff we need to do before release (either decide to kill this or have some other way of troubleshooting, since it's not always straightforward to know which config file Orleans chose in some weird deployment cases)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the host runs full .net it has access to this class and property and can be logged when troubleshooting.
Since we're compiling against .Net Standard 2.0 we do not so I don't see the value of keeping the #if here, but of course if you insist I can add that back, please advise.

@@ -60,146 +56,6 @@ public EHPurgeLogicTests()
this.logger = new NoOpTestLogger().GetLogger(this.GetType().Name);
}

//Disable tests if in netstandard, because Eventhub framework doesn't provide proper hooks for tests to generate proper EventData in netstandard
#if BUILD_FLAVOR_LEGACY
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xiazen @jason-bragg can you validate if removing these is the right call now that we are fully migrating to the new package? Maybe they provide the hooks now?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't delete those tests. if they doesn't pass because netstandard, you can disable or comment them for now. I will come back and fix them.

@jdom
Copy link
Member

jdom commented Sep 19, 2017

@dotnet-bot test this please
Reason: after merging the groovy file, build only Current

Attila Hajdrik and others added 4 commits September 19, 2017 21:12
Remove OrleansHost project and tests
Cleanup csproj, targets and props files to have only the current information
Fix missing or wrong xml comments
Bump version to 2.0.0 preview 4
Enable warning as error for the solution as default
@ReubenBond ReubenBond merged commit c6b2f1b into dotnet:master Sep 20, 2017
@attilah attilah deleted the legacy-remove branch September 23, 2017 18:17
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants