Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 5c882bb

Browse files
committed
Remove the curated feed query from Search.GenerateAuxiliaryData (#693)
Progress on NuGet/NuGetGallery#6699
1 parent 3c04c83 commit 5c882bb

3 files changed

Lines changed: 0 additions & 26 deletions

File tree

src/Search.GenerateAuxiliaryData/Job.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ public class Job : JsonConfigurationJob
2121
{
2222
private const string DefaultContainerName = "ng-search-data";
2323

24-
private const string ScriptCuratedFeed = "SqlScripts.CuratedFeed.sql";
25-
private const string OutputNameCuratedFeed = "curatedfeeds.json";
26-
private const string Col0CuratedFeed = "FeedName";
27-
private const string Col1CuratedFeed = "Id";
28-
2924
private const string ScriptOwners = "SqlScripts.Owners.sql";
3025
private const string OutputNameOwners = "owners.json";
3126
private const string Col0Owners = "Id";
@@ -65,15 +60,6 @@ public override void Init(IServiceContainer serviceContainer, IDictionary<string
6560
ScriptVerifiedPackages,
6661
OutputNameVerifiedPackages),
6762

68-
new NestedJArrayExporter(
69-
LoggerFactory.CreateLogger<NestedJArrayExporter>(),
70-
OpenSqlConnectionAsync<GalleryDbConfiguration>,
71-
destinationContainer,
72-
ScriptCuratedFeed,
73-
OutputNameCuratedFeed,
74-
Col0CuratedFeed,
75-
Col1CuratedFeed),
76-
7763
new NestedJArrayExporter(
7864
LoggerFactory.CreateLogger<NestedJArrayExporter>(),
7965
OpenSqlConnectionAsync<GalleryDbConfiguration>,

src/Search.GenerateAuxiliaryData/Search.GenerateAuxiliaryData.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@
6060
<None Include="Search.GenerateAuxiliaryData.nuspec" />
6161
<None Include="Settings\*" />
6262
</ItemGroup>
63-
<ItemGroup>
64-
<EmbeddedResource Include="SqlScripts\CuratedFeed.sql" />
65-
</ItemGroup>
6663
<ItemGroup>
6764
<ProjectReference Include="..\NuGet.Jobs.Common\NuGet.Jobs.Common.csproj">
6865
<Project>{4b4b1efb-8f33-42e6-b79f-54e7f3293d31}</Project>

src/Search.GenerateAuxiliaryData/SqlScripts/CuratedFeed.sql

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)