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

Consume NuGet.Services.Entities and NuGet.Services.Messaging.Email #6588

Merged
merged 5 commits into from
Oct 24, 2018

Conversation

xavierdecoster
Copy link
Member

This PR:

  • Moves out the NuGetGallery entities and consumes NuGet.Services.Entities instead
  • Moves out any tests that have been moved to ServerCommon.sln
  • Moves out any email messaging logic from NuGetGallery.Core and consumes NuGet.Services.Messaging.Email instead

Hopefully, this will also help us limit the dependency on NuGetGallery.Core elsewhere :)

Copy link
Member Author

@xavierdecoster xavierdecoster left a comment

Choose a reason for hiding this comment

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

Tip: hide whitespace changes in diff settings :)

@@ -7,8 +7,6 @@ public static class CoreConstants
{
public const string AdminRoleName = "Admins";

public const int MaxPackageIdLength = 128;
Copy link
Member Author

Choose a reason for hiding this comment

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

This is now a constant in NuGet.Services.Entities.

@@ -1442,7 +1444,6 @@
<Compile Include="Services\IPackageService.cs" />
<Compile Include="Services\PackageService.cs" />
<Compile Include="Configuration\AppConfiguration.cs" />
<Compile Include="Constants.cs" />
Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed NuGetGallery.Constants to GalleryConstants to reduce/avoid type collisions in views, as both NuGetGalllery and NuGet.Services.Entities are known namespaces in each razor view.

Copy link
Contributor

@agr agr left a comment

Choose a reason for hiding this comment

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

:shipit:

@xavierdecoster xavierdecoster merged commit 8cf7c8d into dev Oct 24, 2018
@xavierdecoster xavierdecoster deleted the dev-issue1711 branch October 24, 2018 07:06
@xavierdecoster xavierdecoster removed this from the S143 - 2018.10.15 milestone Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants