Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

Merge NuGet.Services.Metadata into NuGet.Jobs #908

Merged
merged 1,695 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1695 commits
Select commit Hold shift + click to select a range
82e8834
Parallelize the catalog leaf download differently than batches (#562)
joelverhagen Jun 15, 2019
fc2714b
Run validations anyway with null catalog entries (#560)
Jun 17, 2019
d721a25
Add ETag support to MonitoringProcessor (#549)
Jun 17, 2019
614d3b8
Support flat container icon URL in Azure Search (#561)
joelverhagen Jun 15, 2019
fa14e02
Fix PackageRegistrationDeprecationMetadata's PackageDeprecationItem c…
Jun 18, 2019
3279d1c
Add Db2Monitoring to verify that all packages in the database have be…
Jun 18, 2019
b1e3a17
Use the global JSON serializer settings in Azure Search Service (#564)
joelverhagen Jun 18, 2019
9ea68b5
Work around Azure Search SDK bug and return 503 (#565)
joelverhagen Jun 18, 2019
60b19a9
Catalog2Lucene updates for embedded icon support (#556)
agr Jun 19, 2019
83eb7c9
RegistrationDeprecationValidator should not fail when reasons are out…
Jun 19, 2019
a844a98
Add missing DI wire-up for BaseDocumentBuilder (#568)
joelverhagen Jun 20, 2019
d7b598d
MonitoringProcessorJob should only compare catalog entries if both no…
Jun 21, 2019
ca23519
MonitoringProcessor should keep processing queue messages until cance…
Jun 21, 2019
140c7cb
Azure search functional test configuration support (#558)
shishirx34 Jun 24, 2019
890d4b8
Merge pull request #570 from NuGet/dev
joelverhagen Jun 24, 2019
5245d24
#2532 Db2Catalog - alternate package version hotfix (#572)
xavierdecoster Jun 26, 2019
7957b91
Merge branch 'master' into 'dev' (#573)
xavierdecoster Jun 26, 2019
4a0cbd1
[Azure Search] Update download boost algorithm (#571)
loic-sharma Jun 26, 2019
7a5882c
Merge pull request #575 from NuGet/master
loic-sharma Jun 26, 2019
769c3e4
Remove unused file (#576)
loic-sharma Jun 26, 2019
4aca04e
Merge pull request #574 from NuGet/dev
loic-sharma Jun 27, 2019
77d12bb
Make LastCommitTimestamp sortable (#577)
joelverhagen Jul 1, 2019
59ec164
Update search/diag to return latest commit timestamp (#578)
joelverhagen Jul 2, 2019
1df236a
Merge pull request #579 from NuGet/dev
joelverhagen Jul 3, 2019
8910efe
Add the initial Auxiliary2AzureSearch job (#580)
joelverhagen Jul 8, 2019
16460b9
[Azure Search] Make App Insights "role name" same across deployment s…
loic-sharma Jul 8, 2019
1820cab
Add V2 functional tests for azure search (#582)
shishirx34 Jul 9, 2019
be85b48
Move auxiliary file client to a shared location (#583)
joelverhagen Jul 8, 2019
2071a67
Add UpdateDownloadCount search document (#584)
joelverhagen Jul 8, 2019
1b78ef9
Change OwnerIndexActionBuilder into a more generic SearchIndexActionB…
joelverhagen Jul 8, 2019
04979d1
Don't clear catalog commit information in search documents (#586)
joelverhagen Jul 10, 2019
c85ec29
Add better logging for package specific document actions (#587)
joelverhagen Jul 10, 2019
bdfd477
Measure the durations for /search/diag queries (#589)
joelverhagen Jul 11, 2019
6f75f3c
Add DownloadDataClient to read and write downloads.v2.json (#591)
joelverhagen Jul 12, 2019
2b286e2
Add DownloadSetComparer to detect download count changes (#592)
joelverhagen Jul 12, 2019
cff38e8
Read DowloadData from downloads.v1.json (#593)
joelverhagen Jul 8, 2019
aee3f12
Initialize downloads.v2.json in Db2AzureSearch (#594)
joelverhagen Jul 15, 2019
97e0437
Implement Auxiliary2AzureSearchCommand (#595)
joelverhagen Jul 14, 2019
7cd9719
Add JobOutcome to be more specific in telemetry (#596)
joelverhagen Jul 15, 2019
56663d3
Take a backup of downloads.v2.json when it changes (#597)
joelverhagen Jul 16, 2019
dcb4d39
Don't update download counts if there are too many decreases (#599)
joelverhagen Jul 17, 2019
4d440c9
Handle empty quoted terms in Azure Search query (#598)
joelverhagen Jul 17, 2019
4305cad
Merge pull request #601 from NuGet/master
shishirx34 Jul 18, 2019
8e81815
Optimize packageid:{ID} case in V3 search since we get a lot of those…
joelverhagen Jul 19, 2019
628848b
Default luceneQuery to true in Azure Search Service (#603)
joelverhagen Jul 19, 2019
733b34e
Introduce IndexOperationBuilder to encapsulate query optimizations (#…
joelverhagen Jul 21, 2019
8d769b7
[Azure Search] Update relevancy tests (#588)
loic-sharma Jul 22, 2019
1f80a74
Remove the freshness boost (#590)
loic-sharma Jul 22, 2019
de52983
Optimize packageid:{id} version:{version} ignoreFilter=true case (#605)
joelverhagen Jul 21, 2019
f447698
Add more V2 search functional tests (#607)
joelverhagen Jul 22, 2019
d4ce4ef
[Azure Search] Boost results that match all queried terms (#608)
loic-sharma Jul 24, 2019
b9d2e01
Add additional cache clear for it actually to work... (#611)
skofman1 Jul 25, 2019
df97400
[Azure search] Add filter for excluding certain packages from default…
shishirx34 Jul 25, 2019
8346b26
Merge pull request #600 from NuGet/dev
Jul 25, 2019
722c765
[Azure Search] Support queries with long terms (#613)
loic-sharma Jul 29, 2019
5b94b98
Use ID for title when title is missing (#614)
joelverhagen Jul 29, 2019
556bd10
Use downloads.v1.json in Db2AzureSearch (#615)
joelverhagen Jul 29, 2019
6fddd05
[Azure Search] Nerf exact matches on package id (#612)
loic-sharma Jul 29, 2019
b2bb593
Move to latest build tools (#619)
joelverhagen Aug 2, 2019
eff7f7a
Merge pull request #617 from NuGet/dev
joelverhagen Aug 5, 2019
376873a
[Azure Search]Add V3 Search Functional tests (#618)
shishirx34 Aug 5, 2019
842be37
[Azure] Boost results that match all tokens in single term queries (#…
loic-sharma Aug 5, 2019
f819e22
Refresh secrets in a background thread in Azure Search Service (#610)
joelverhagen Jul 25, 2019
6e62f20
Remove downloads.v2.json snapshots (#621)
joelverhagen Aug 7, 2019
c30609e
Add a server and maximum execution timeout for blob storage calls (#622)
joelverhagen Aug 8, 2019
ef1f89a
Remove invalid package IDs and versions from old data (#623)
joelverhagen Aug 9, 2019
56dccd0
Do not depend on AzureStorage for timeouts (#625)
joelverhagen Aug 10, 2019
5a18ada
Add X-Content-Type-Options response header (#626)
joelverhagen Aug 13, 2019
4f635c7
Add VerifiedPackagesDataClient and move storage config down (#629)
joelverhagen Aug 14, 2019
0b57488
Copy verified package data file to Azure Search storage account (#630)
joelverhagen Aug 14, 2019
4276fa7
Merge branch 'master' into dev (#631)
joelverhagen Aug 15, 2019
2ecc719
Add embedded icon URLs to Azure Search from DB (package entity) (#627)
Aug 20, 2019
f6fe601
[Hotfix] Don't allow skip value over 100k (#636)
joelverhagen Aug 20, 2019
c872990
Revert "[Azure] Boost results that match all tokens in single term qu…
joelverhagen Aug 21, 2019
6713e91
Merge pull request #637 from NuGet/master
joelverhagen Aug 21, 2019
c6e3f85
Merge pull request #639 from NuGet/dev
joelverhagen Aug 21, 2019
f224f5f
Don't allow retries or wrap exceptions when pushing to Azure Search (…
joelverhagen Aug 22, 2019
bdb25b1
Merge pull request #641 from NuGet/dev
joelverhagen Aug 23, 2019
8cc7667
Improve resiliency against malformed search URLs (#642)
loic-sharma Aug 27, 2019
258d80d
Read auxiliary data from local storage in Azure Search Service (#632)
joelverhagen Aug 15, 2019
5a1e024
Use Dictionary instead of SortedDictionary in DownloadData (#633)
joelverhagen Aug 14, 2019
54637d4
Dedupe auxiliary data strings in Azure Search Service (#634)
joelverhagen Aug 15, 2019
64af0b5
Merge pull request #644 from NuGet/dev
loic-sharma Aug 28, 2019
ce4c680
Change commit SHA to point to updated ServerCommon build scripts (#643)
xavierdecoster Aug 29, 2019
ab0d0af
Add support for sorting by "created" (for hijack) and use it for tie-…
joelverhagen Aug 29, 2019
7fae0cc
Merge pull request #646 from NuGet/dev
joelverhagen Sep 3, 2019
67a687e
Default search should include cases when isExcludedByDefault is null …
joelverhagen Sep 5, 2019
3a468fe
Merge pull request #649 from NuGet/dev
joelverhagen Sep 5, 2019
46b3f32
[SDL] Use HttpClient instead of HttpWebRequest (#647)
loic-sharma Sep 6, 2019
e043538
Mega-boost the package with ID matching the query containing symbols …
joelverhagen Sep 9, 2019
0c69b9d
Merge pull request #653 from NuGet/dev
joelverhagen Sep 12, 2019
c2d62e4
Add ServiceClientTracingLogger to log Azure Search requests and respo…
joelverhagen Sep 13, 2019
65a0fd2
[SDL] Catalog2Dnx uses SHA512 rather than MD5 (#651)
zhhyu Sep 21, 2019
2939e2a
Plumb endpoint into the validator for V3 monitoring job (#657)
joelverhagen Sep 18, 2019
ce20e58
Add search endpoint monitoring to ensure that a package version is in…
joelverhagen Sep 18, 2019
ca2c9f5
Options for catalog2registration and lightning to force flat contain…
agr Sep 24, 2019
601cbd0
Add AllIconsInFlatContainer to Azure Search Service (#661)
joelverhagen Sep 24, 2019
4d53d0f
Merge pull request #660 from NuGet/dev
agr Sep 26, 2019
ee2f9e5
Write embedded icon to Azure Search index if configured (#664)
joelverhagen Sep 26, 2019
4ea632c
Merge pull request #665 from NuGet/dev
joelverhagen Sep 26, 2019
35985df
[SDL] Always use provided URL for legacy search functional tests (#663)
loic-sharma Sep 26, 2019
ca9bf2e
Icon ingestion job (#656)
agr Sep 26, 2019
60c1368
Merge pull request #666 from NuGet/dev
agr Sep 27, 2019
f433e25
Batch sign the binaries (#662)
joelverhagen Sep 20, 2019
ecd03f3
Separate storage for cached icons.
agr Oct 1, 2019
81291db
Using destination storage to initiate the icon copy.
agr Oct 1, 2019
78cafd0
More logging, ignoring certain exceptions.
agr Oct 1, 2019
3186353
Semaphore to prevent exceptions instead of catching exceptions.
agr Oct 2, 2019
0a7aa28
GetOrAdd and Logging
agr Oct 2, 2019
4903f6f
Merge pull request #669 from NuGet/agr/icon-ing-hotfix
agr Oct 2, 2019
ee6f8f2
Support autocomplete on tokenized package ID (#668)
joelverhagen Oct 1, 2019
46ae037
Merge pull request #670 from NuGet/master
joelverhagen Oct 4, 2019
f9c094c
Increase Auxiliary2AzureSearch max download count decrease safety val…
joelverhagen Oct 8, 2019
ffdf097
Cleaning up icon on ingestion failure (#674)
agr Oct 8, 2019
4c6e66b
[Catalog SDK] Fix serialization issue (#671)
loic-sharma Oct 8, 2019
91f97be
Merge pull request #673 from NuGet/dev
joelverhagen Oct 8, 2019
5dc70b5
Add heartbeat support to ng.exe and other jobs in this repository (#667)
xavierdecoster Oct 8, 2019
01857b9
[Azure Search] Support manually boosted search results (#676)
loic-sharma Oct 17, 2019
fb6bed2
Merge pull request #679 from NuGet/dev
loic-sharma Oct 18, 2019
400ccfa
Update Microsoft.Extensions packages (#678)
ryuyu Oct 21, 2019
f34cdc5
Extract collector DI and registration client to generic V3 project (#…
joelverhagen Oct 6, 2019
3dee672
Exclude "NOT" like we do AND and OR in search (#680)
joelverhagen Oct 22, 2019
99c40be
Bubble Azure Search 400 out as 400s to the user (#682)
joelverhagen Oct 22, 2019
21d5bb3
Fix name of "requireLicenseAcceptance" property in catalog (#683)
joelverhagen Oct 23, 2019
e921a7e
Merge pull request #684 from NuGet/dev
joelverhagen Oct 28, 2019
8412714
[Azure Search] Boost results that match all tokenized unscoped terms …
loic-sharma Nov 6, 2019
39f9d76
Update NuGet.Jobs dependency to latest and align NuGetGallery version…
joelverhagen Oct 15, 2019
bbf75aa
Stop collector from fetching all pages when back cursor is before the…
joelverhagen Nov 5, 2019
3680082
Make Lightning case insensitive for package ID (#690)
joelverhagen Nov 6, 2019
f3784b5
Merge pull request #689 from NuGet/dev
loic-sharma Nov 6, 2019
b82bd3f
Bring Registration and Catalog models up to match nuget.org (#691)
joelverhagen Nov 5, 2019
2e8ee36
Test runner crash "fix". (#692)
agr Nov 13, 2019
13f06db
Checking if the result file was produced during the test run (#693)
agr Nov 13, 2019
b061be9
Align NuGet client packages to 5.0.0-preview1.5707 (#695)
joelverhagen Nov 6, 2019
7e79f1f
Improve error message when an argument is not provided (#696)
joelverhagen Nov 21, 2019
b43e280
Move common V3 test data to V3.Tests (#697)
joelverhagen Nov 21, 2019
cf1914f
Cache expiration for icon copy failures (#694)
agr Dec 2, 2019
678830a
Move in-memory cloud storage to V3 tests
joelverhagen Nov 21, 2019
ab34c77
Merge pull request #698 from NuGet/dev
joelverhagen Dec 3, 2019
bc7b6b5
[Hotfix] Add missing reference in functional test solution (#700)
joelverhagen Dec 4, 2019
5264e4a
Merge pull request #701 from NuGet/master
joelverhagen Dec 4, 2019
70275a0
Enable CORS on all origins for Azure Search (#703)
joelverhagen Dec 5, 2019
ac7c8f7
Fix relevancy functional tests based on field weights change
joelverhagen Dec 5, 2019
fb5d0f0
Add the initial Catalog2Registration projects (#705)
joelverhagen Nov 29, 2019
f95be99
Add configuration model for new Catalog2Registration (#706)
joelverhagen Dec 5, 2019
ebb6253
Add HiveMerger and supporting bookkeeping models (#707)
joelverhagen Dec 5, 2019
80031fd
Merge branch 'dev' into master (#710)
joelverhagen Dec 10, 2019
578e33f
[PackageType] Add PackageType to catalog (#702)
ryuyu Dec 11, 2019
7378476
Merge pull request #712 from NuGet/dev
ryuyu Dec 13, 2019
5eb2c68
[PackageType]Add fields for PackageType to document (#711)
ryuyu Dec 13, 2019
d766087
Remove Analyzer for filterable. (#714)
ryuyu Dec 14, 2019
3902f6b
[PackageType]Support PackageType in db2azuresearch (#715)
ryuyu Dec 17, 2019
7d9c316
Support PackageType in Catalog2AzureSearch (#716)
ryuyu Dec 17, 2019
fa3cc4f
Add support for querying by package type in Azure Search Service (#713)
joelverhagen Dec 10, 2019
a96b33f
Add package type filtering to the autocomplete endpoint (#717)
joelverhagen Dec 17, 2019
c92b2e9
Add package type filtering functional tests (#718)
joelverhagen Dec 11, 2019
1a9a770
Merge pull request #719 from NuGet/dev
joelverhagen Dec 19, 2019
51bf7f0
Add unit tests for HiveMerger (#708)
joelverhagen Dec 6, 2019
b6f6a0b
Add RegistrationUrlBuilder (#709)
joelverhagen Dec 10, 2019
3817ba4
Add entity builder to populate registration entities from catalog (#720)
joelverhagen Dec 10, 2019
30c819d
Add hive storage to handle blob storage and replica hive logic (#721)
joelverhagen Dec 20, 2019
ec58635
Add hive updater to orchestrate the writes and deletes for a single h…
joelverhagen Dec 20, 2019
1543db0
Add registration updater to update all of the hives for a single pack…
joelverhagen Dec 20, 2019
e6cef5c
Add registration collector logic to handle an entire batch of catalog…
joelverhagen Dec 20, 2019
afd6b10
Add in-memory integration tests for registration updater down to stor…
joelverhagen Dec 20, 2019
238bd29
Add the Catalog2Registration command which is component activated by …
joelverhagen Dec 20, 2019
b350edf
Add entry point and DI for Catalog2Registration (#727)
joelverhagen Dec 20, 2019
68f7b9a
Update Lightning to support the new Catalog2Registration with -driver…
joelverhagen Dec 20, 2019
69bdcc7
Add registration comparer to compare two registration hives (#729)
joelverhagen Dec 20, 2019
59fd6f2
Add unit tests for RegistrationComparer core logic (#730)
joelverhagen Jan 4, 2020
18ca51b
[Search] Add ID prefix matching (#731)
loic-sharma Jan 14, 2020
1485290
Merge pull request #734 from NuGet/ab-prefix
loic-sharma Jan 24, 2020
d81908c
Remove file logging from RegistrationComparer now that AI logging is …
joelverhagen Jan 23, 2020
5aad4d0
Upgrade telemetry and add heartbeats support (#732)
xavierdecoster Jan 24, 2020
f285020
Add configurable parallelism for RegistrationComparer (#736)
joelverhagen Jan 24, 2020
42fbd1c
Delete legacy search service and associated tests (#737)
joelverhagen Jan 27, 2020
13c1492
Merge pull request #735 from NuGet/dev
loic-sharma Jan 28, 2020
f8a359e
Delete Db2Lucene, Catalog2Lucene, and associated tests (#738)
joelverhagen Jan 28, 2020
89d022f
Merge NuGet.Indexing into NuGet.Services.AzureSearch (#739)
joelverhagen Jan 29, 2020
ad869ee
Update servercommon to 2.68.0 and Jobs.Common dependencies with updat…
shishirx34 Feb 10, 2020
9ed8023
[ReleasePrep][2020.02.10]RI dev into master (#741)
shishirx34 Feb 10, 2020
da5ed43
Normalize cases where the decimal seconds are 0 and therefore exclude…
joelverhagen Feb 12, 2020
3fa646e
Fix Azure Search functional test that broke from "json" results chang…
joelverhagen Feb 13, 2020
407ad11
Merge branch 'master' into dev
joelverhagen Feb 13, 2020
f7c0e33
Merge pull request #744 from NuGet/jver-merge
joelverhagen Feb 13, 2020
0f46780
Merge pull request #745 from NuGet/dev
joelverhagen Feb 13, 2020
8499c55
Query for verified packages directly in Auxiliary2AzureSearch (#746)
joelverhagen Feb 14, 2020
4b78882
Refactor Auxiliary2AzureSearch to split steps into classes (#747)
joelverhagen Feb 20, 2020
b39a78c
Allow storage different from CDN to be tested by RegistrationComparer…
joelverhagen Feb 24, 2020
0adb401
Make ng.exe jobs insensitive towards command-line argument casing (#750)
xavierdecoster Feb 26, 2020
ed2f28f
[Db2AzureSearch] Support skipping packages by prefix (#751)
loic-sharma Mar 2, 2020
b6c0a49
[Azure Search] Add option to skip version list initialization (#753)
loic-sharma Mar 6, 2020
4d7d8b3
Don't allow a single blocked worker task to make the process hang (#752)
joelverhagen Mar 4, 2020
971d47b
Move Owners2AzureSearch logic to Auxiliary2AzureSearch (#748)
joelverhagen Feb 21, 2020
05373bf
Merge pull request #754 from NuGet/dev
joelverhagen Mar 10, 2020
58c44d1
[ECR-SQL] Pass the secret injector to SQL connection factory for NgJo…
zhhyu Mar 17, 2020
093da30
Add fix up code when Azure Search documents go missing (#757)
joelverhagen Mar 17, 2020
f70fed6
Remove transitive dependency on Microsoft.Data.OData 5.8.2 (#759)
joelverhagen Mar 19, 2020
c70909d
Merge pull request #758 from NuGet/dev
joelverhagen Mar 19, 2020
cadc42b
Update dependencies to resolve Component Governance issue (#760)
joelverhagen Mar 19, 2020
91b715a
Merge pull request #761 from NuGet/dev
joelverhagen Mar 23, 2020
4ce169a
Move to latest ServerCommon, NuGet.Jobs, and NuGetGallery dependencie…
joelverhagen Apr 6, 2020
fa05c3f
Add build hook for closed-source assemblies (#763)
joelverhagen Apr 8, 2020
6da1018
JSON-LD can write the @type array in a random order (#764)
joelverhagen Apr 13, 2020
11e04f1
[Package Renames 1] Add popularity transfers data client (#765)
loic-sharma Apr 14, 2020
981ec3c
Add popularity transfers comparer (#766)
loic-sharma Apr 14, 2020
8dc263e
Fetch popularity transfers from database (#767)
loic-sharma Apr 14, 2020
918430b
[Hotfix] Allow the MonitoringProcessor worker count to be configured …
joelverhagen Apr 16, 2020
06a7c88
Merge pull request #772 from NuGet/master
loic-sharma Apr 17, 2020
5fe1ba7
Refactor download overrides (#768)
loic-sharma Apr 20, 2020
42d2c4f
[Package Renames 5] Transfer package popularity (#769)
loic-sharma Apr 23, 2020
136e8b1
[Package Renames] Add feature flag to disable popularity transfers (#…
loic-sharma May 1, 2020
91f1ac9
[Package Renames] Expose popularity transfers in search (#774)
loic-sharma May 5, 2020
84b0d21
Delete unused code from old Catalog2Registration (#776)
joelverhagen May 5, 2020
1f589f2
[Package Renames] Add config to disable popularity transfers (#775)
loic-sharma May 5, 2020
0bdb070
V3 package source for tests (#777)
agr May 5, 2020
f253504
Merge pull request #778 from NuGet/dev
loic-sharma May 5, 2020
831a7c1
Delete RegistrationComparer since the old Catalog2Registration is gon…
joelverhagen May 6, 2020
8920b75
Add build hook to all deployed jobs (#780)
joelverhagen May 8, 2020
65bf5fc
Remove unnecessary binding redirect (#781)
joelverhagen May 11, 2020
b9f34ca
[Popularity transfers] Disable download overrides if popularity trans…
loic-sharma May 20, 2020
590468b
Merge pull request #782 from NuGet/dev
joelverhagen May 20, 2020
725e891
Add README for the search service (#784)
joelverhagen Jun 13, 2020
4ee90dc
Retry once on certain WebException codes (#785)
joelverhagen Jun 17, 2020
027335d
Add sortable attribute to TotalDownloadCount field (#787)
t-mog-msft Jun 18, 2020
af67203
Add retry to HttpReadCursor (#789)
joelverhagen Jun 19, 2020
50a2d17
Add BatchPusherResult to surface package IDs that failed (#788)
joelverhagen Jun 18, 2020
e2feb21
Catalog2icon to ignore missing packages (#786)
agr Jun 19, 2020
c0fad6b
Add retries to jobs that use BatchPusher (#791)
joelverhagen Jun 19, 2020
c1614e0
Add retry, increase timeout in big SQL queries in Auxiliary2AzureSear…
joelverhagen Jun 23, 2020
700389c
[Search] Make tags match exactly (#771)
khalidabuhakmeh Jun 26, 2020
f2f7e9c
[Search] Add functional tests for the tags custom analyzer (#793)
loic-sharma Jun 26, 2020
0c41dd4
Retry HTTP 412 when reading blobs in AuxiliaryFileClient (#795)
joelverhagen Jun 29, 2020
3c00a07
[Advanced Search] Add sorting & filtering to the search service (#794)
t-mog-msft Jun 30, 2020
b7dfc50
Merge pull request #796 from NuGet/dev
zhhyu Jun 30, 2020
f7d4205
Add READMEs for search jobs (#797)
loic-sharma Jul 2, 2020
246d845
Log cursor URI with value (#799)
loic-sharma Jul 6, 2020
7a76f4b
Add vulnerability details to catalog (#790)
drewgillies Jul 6, 2020
d8ffabb
Remove download overrides (#800)
loic-sharma Jul 7, 2020
4467c83
Merge pull request #801 from NuGet/ab-exact-tags
loic-sharma Jul 8, 2020
d297410
Merge pull request #802 from NuGet/mog-advanced-search
loic-sharma Jul 8, 2020
6238455
Merge pull request #803 from NuGet/dev
loic-sharma Jul 13, 2020
6f93d9c
Propagate vulnerability info to registration blobs (#798)
drewgillies Jul 14, 2020
8424190
Fix functional tests (#804)
t-mog-msft Jul 14, 2020
1b9a8b2
Merge pull request #805 from NuGet/master
ryuyu Jul 15, 2020
f8d4430
Remove gitHubDatabaseKey property from Catalog leaves (#809)
drewgillies Jul 23, 2020
2c2c753
Update SearchService README (#808)
t-mog-msft Jul 27, 2020
2fe83de
Merge remote-tracking branch 'metadata/dev' into jver-merge
joelverhagen Jul 31, 2020
dd505eb
Fix merge issues
joelverhagen Jul 31, 2020
fb2bbbc
Change package references into project references
joelverhagen Jul 31, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ tools/
.nuget/credprovider
.nuget/.marker.v*
nuget.exe
functionaltests.*.xml
AssemblyInfo.g.cs

# Roslyn cache directories
*.ide/
Expand Down Expand Up @@ -206,3 +208,8 @@ AssemblyInfo.*.cs
/tests/Validation.Common.Tests/Validation.Common.Tests.nuget.props
/tests/Validation.Common.Tests/Validation.Common.Tests.nuget.targets
/tests/Validation.Helper.Tests/Validation.Helper.Tests.nuget.targets
/tests/packages
/tests/CatalogMetadataTests/CatalogMetadataTests.nuget.props
*.lock.json
/src/V3PerPackage/Settings.json
artifacts/*
2 changes: 2 additions & 0 deletions .nuget/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MicroBuild.Core" version="0.3.0" />
<package id="Microsoft.ApplicationInsights.JavaScript" version="1.0.17-build01715" />
<package id="Microsoft.CodeAnalysis.BinSkim" version="1.3.6" />
<package id="xunit.runner.console" version="2.1.0" />
<package id="xunit.runner.visualstudio" version="2.1.0" />
</packages>
157 changes: 153 additions & 4 deletions NuGet.Jobs.sln

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
NuGet.Jobs
==============
==========

This repo contains nuget.org's implementation of the [NuGet V3 API](https://docs.microsoft.com/en-us/nuget/api/overview)
as well as many other back-end jobs for the operation of nuget.org.

1. Each job would be an exe with 2 main classes Program and Job
2. Program.Main should simply do the following and nothing more
Expand All @@ -20,6 +23,14 @@ NuGet.Jobs

7. Also, add settings.job file to mark the job as singleton, if the job will be run as a webjob, and it be a continuously running singleton

## Feedback

If you're having trouble with the NuGet.org Website, file a bug on the [NuGet Gallery Issue Tracker](https://github.com/nuget/NuGetGallery/issues).

If you're having trouble with the NuGet client tools (the Visual Studio extension, NuGet.exe command line tool, etc.), file a bug on [NuGet Home](https://github.com/nuget/home/issues).

Check out the [contributing](http://docs.nuget.org/contribute) page to see the best places to log issues and start discussions. The [NuGet Home](https://github.com/NuGet/Home) repo provides an overview of the different NuGet projects available.

Open Source Code of Conduct
===================
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
124 changes: 79 additions & 45 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,25 +87,36 @@ Invoke-BuildStep 'Clearing artifacts' { Clear-Artifacts } `

Invoke-BuildStep 'Set version metadata in AssemblyInfo.cs' { `
$versionMetadata =
"$PSScriptRoot\src\CopyAzureContainer\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\NuGetCDNRedirect\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\NuGet.Services.Validation.Orchestrator\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\NuGet.Services.Revalidate\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\Stats.CollectAzureChinaCDNLogs\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\Validation.PackageSigning.ProcessSignature\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\Validation.PackageSigning.ValidateCertificate\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\Validation.PackageSigning.RevalidateCertificate\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\Validation.Common.Job\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\Validation.ScanAndSign.Core\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\PackageLagMonitor\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\StatusAggregator\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\Validation.Symbols.Core\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\Stats.CDNLogsSanitizer\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\NuGet.Jobs.GitHubIndexer\Properties\AssemblyInfo.g.cs",
"$PSScriptRoot\src\SplitLargeFiles\Properties\AssemblyInfo.g.cs"
"src\CopyAzureContainer\Properties\AssemblyInfo.g.cs",
"src\NuGetCDNRedirect\Properties\AssemblyInfo.g.cs",
"src\NuGet.Services.Validation.Orchestrator\Properties\AssemblyInfo.g.cs",
"src\NuGet.Services.Revalidate\Properties\AssemblyInfo.g.cs",
"src\Stats.CollectAzureChinaCDNLogs\Properties\AssemblyInfo.g.cs",
"src\Validation.PackageSigning.ProcessSignature\Properties\AssemblyInfo.g.cs",
"src\Validation.PackageSigning.ValidateCertificate\Properties\AssemblyInfo.g.cs",
"src\Validation.PackageSigning.RevalidateCertificate\Properties\AssemblyInfo.g.cs",
"src\Validation.Common.Job\Properties\AssemblyInfo.g.cs",
"src\Validation.ScanAndSign.Core\Properties\AssemblyInfo.g.cs",
"src\PackageLagMonitor\Properties\AssemblyInfo.g.cs",
"src\StatusAggregator\Properties\AssemblyInfo.g.cs",
"src\Validation.Symbols.Core\Properties\AssemblyInfo.g.cs",
"src\Stats.CDNLogsSanitizer\Properties\AssemblyInfo.g.cs",
"src\NuGet.Jobs.GitHubIndexer\Properties\AssemblyInfo.g.cs",
"src\SplitLargeFiles\Properties\AssemblyInfo.g.cs",
"src\Catalog\Properties\AssemblyInfo.g.cs",
"src\NuGet.ApplicationInsights.Owin\Properties\AssemblyInfo.g.cs",
"src\Ng\Properties\AssemblyInfo.g.cs",
"src\NuGet.Services.Metadata.Catalog.Monitoring\Properties\AssemblyInfo.g.cs",
"src\NuGet.Protocol.Catalog\Properties\AssemblyInfo.g.cs",
"src\NuGet.Services.AzureSearch\Properties\AssemblyInfo.g.cs",
"src\NuGet.Jobs.Db2AzureSearch\Properties\AssemblyInfo.g.cs",
"src\NuGet.Jobs.Catalog2AzureSearch\Properties\AssemblyInfo.g.cs",
"src\NuGet.Services.SearchService\Properties\AssemblyInfo.g.cs",
"src\NuGet.Jobs.Auxiliary2AzureSearch\Properties\AssemblyInfo.g.cs",
"src\NuGet.Jobs.Catalog2Registration\Properties\AssemblyInfo.g.cs"

$versionMetadata | ForEach-Object {
Set-VersionInfo -Path $_ -Version $SimpleVersion -Branch $Branch -Commit $CommitSHA
Set-VersionInfo -Path (Join-Path $PSScriptRoot $_) -Version $SimpleVersion -Branch $Branch -Commit $CommitSHA
}
} `
-ev +BuildErrors
Expand All @@ -122,6 +133,12 @@ Invoke-BuildStep 'Building solution' {
-args $Configuration, $BuildNumber, (Join-Path $PSScriptRoot "NuGet.Jobs.sln"), $SkipRestore `
-ev +BuildErrors

Invoke-BuildStep 'Building functional test solution' {
$SolutionPath = Join-Path $PSScriptRoot "tests\NuGetServicesMetadata.FunctionalTests.sln"
Build-Solution $Configuration $BuildNumber -MSBuildVersion "$msBuildVersion" $SolutionPath -SkipRestore:$SkipRestore `
} `
-ev +BuildErrors

Invoke-BuildStep 'Signing the binaries' {
Sign-Binaries -Configuration $Configuration -BuildNumber $BuildNumber -MSBuildVersion "15" `
} `
Expand All @@ -135,40 +152,57 @@ Invoke-BuildStep 'Creating artifacts' {
# We need symbols published for those, too. All other packages are deployment ones and
# don't need to be shared, hence no need for symbols for them
$CsprojProjects =
"src/NuGet.Jobs.Common/NuGet.Jobs.Common.csproj",
"src/Validation.Common.Job/Validation.Common.Job.csproj",
"src/Validation.ScanAndSign.Core/Validation.ScanAndSign.Core.csproj",
"src/Validation.Symbols.Core/Validation.Symbols.Core.csproj"
"src\NuGet.Jobs.Common\NuGet.Jobs.Common.csproj",
"src\Validation.Common.Job\Validation.Common.Job.csproj",
"src\Validation.ScanAndSign.Core\Validation.ScanAndSign.Core.csproj",
"src\Validation.Symbols.Core\Validation.Symbols.Core.csproj",
"src\Catalog\NuGet.Services.Metadata.Catalog.csproj",
"src\NuGet.ApplicationInsights.Owin\NuGet.ApplicationInsights.Owin.csproj",
"src\NuGet.Services.Metadata.Catalog.Monitoring\NuGet.Services.Metadata.Catalog.Monitoring.csproj",
"src\NuGet.Protocol.Catalog\NuGet.Protocol.Catalog.csproj",
"src\NuGet.Services.AzureSearch\NuGet.Services.AzureSearch.csproj"

$CsprojProjects | ForEach-Object {
New-ProjectPackage (Join-Path $PSScriptRoot $_) -Configuration $Configuration -BuildNumber $BuildNumber -Version $SemanticVersion -Branch $Branch -Symbols
}

$NuspecProjects = `
"src/Stats.CollectAzureCdnLogs/Stats.CollectAzureCdnLogs.csproj", `
"src/Stats.AggregateCdnDownloadsInGallery/Stats.AggregateCdnDownloadsInGallery.csproj", `
"src/Stats.ImportAzureCdnStatistics/Stats.ImportAzureCdnStatistics.csproj", `
"src/Stats.CreateAzureCdnWarehouseReports/Stats.CreateAzureCdnWarehouseReports.csproj", `
"src/Gallery.CredentialExpiration/Gallery.CredentialExpiration.csproj", `
"src/Gallery.Maintenance/Gallery.Maintenance.nuspec", `
"src/ArchivePackages/ArchivePackages.csproj", `
"src/Stats.RollUpDownloadFacts/Stats.RollUpDownloadFacts.csproj", `
"src/NuGet.SupportRequests.Notifications/NuGet.SupportRequests.Notifications.csproj", `
"src/CopyAzureContainer/CopyAzureContainer.csproj", `
"src/NuGet.Services.Validation.Orchestrator/Validation.Orchestrator.nuspec", `
"src/NuGet.Services.Validation.Orchestrator/Validation.SymbolsOrchestrator.nuspec", `
"src/NuGet.Services.Revalidate/NuGet.Services.Revalidate.csproj", `
"src/Stats.CollectAzureChinaCDNLogs/Stats.CollectAzureChinaCDNLogs.csproj", `
"src/Validation.PackageSigning.ProcessSignature/Validation.PackageSigning.ProcessSignature.csproj", `
"src/Validation.PackageSigning.ValidateCertificate/Validation.PackageSigning.ValidateCertificate.csproj", `
"src/Validation.PackageSigning.RevalidateCertificate/Validation.PackageSigning.RevalidateCertificate.csproj", `
"src/PackageLagMonitor/Monitoring.PackageLag.csproj", `
"src/StatusAggregator/StatusAggregator.csproj", `
"src/Validation.Symbols.Core/Validation.Symbols.Core.csproj", `
"src/Validation.Symbols/Validation.Symbols.Job.csproj", `
"src/Stats.CDNLogsSanitizer/Stats.CDNLogsSanitizer.csproj", `
"src/NuGet.Jobs.GitHubIndexer/NuGet.Jobs.GitHubIndexer.nuspec", `
"src/SplitLargeFiles/SplitLargeFiles.nuspec"
"src\Stats.CollectAzureCdnLogs\Stats.CollectAzureCdnLogs.csproj", `
"src\Stats.AggregateCdnDownloadsInGallery\Stats.AggregateCdnDownloadsInGallery.csproj", `
"src\Stats.ImportAzureCdnStatistics\Stats.ImportAzureCdnStatistics.csproj", `
"src\Stats.CreateAzureCdnWarehouseReports\Stats.CreateAzureCdnWarehouseReports.csproj", `
"src\Gallery.CredentialExpiration\Gallery.CredentialExpiration.csproj", `
"src\Gallery.Maintenance\Gallery.Maintenance.nuspec", `
"src\ArchivePackages\ArchivePackages.csproj", `
"src\Stats.RollUpDownloadFacts\Stats.RollUpDownloadFacts.csproj", `
"src\NuGet.SupportRequests.Notifications\NuGet.SupportRequests.Notifications.csproj", `
"src\CopyAzureContainer\CopyAzureContainer.csproj", `
"src\NuGet.Services.Validation.Orchestrator\Validation.Orchestrator.nuspec", `
"src\NuGet.Services.Validation.Orchestrator\Validation.SymbolsOrchestrator.nuspec", `
"src\NuGet.Services.Revalidate\NuGet.Services.Revalidate.csproj", `
"src\Stats.CollectAzureChinaCDNLogs\Stats.CollectAzureChinaCDNLogs.csproj", `
"src\Validation.PackageSigning.ProcessSignature\Validation.PackageSigning.ProcessSignature.csproj", `
"src\Validation.PackageSigning.ValidateCertificate\Validation.PackageSigning.ValidateCertificate.csproj", `
"src\Validation.PackageSigning.RevalidateCertificate\Validation.PackageSigning.RevalidateCertificate.csproj", `
"src\PackageLagMonitor\Monitoring.PackageLag.csproj", `
"src\StatusAggregator\StatusAggregator.csproj", `
"src\Validation.Symbols.Core\Validation.Symbols.Core.csproj", `
"src\Validation.Symbols\Validation.Symbols.Job.csproj", `
"src\Stats.CDNLogsSanitizer\Stats.CDNLogsSanitizer.csproj", `
"src\NuGet.Jobs.GitHubIndexer\NuGet.Jobs.GitHubIndexer.nuspec", `
"src\SplitLargeFiles\SplitLargeFiles.nuspec", `
"src\Ng\Catalog2Dnx.nuspec", `
"src\Ng\Catalog2icon.nuspec", `
"src\Ng\Catalog2Monitoring.nuspec", `
"src\Ng\Db2Catalog.nuspec", `
"src\Ng\Db2Monitoring.nuspec", `
"src\Ng\Monitoring2Monitoring.nuspec", `
"src\Ng\MonitoringProcessor.nuspec", `
"src\Ng\Ng.Operations.nuspec", `
"src\NuGet.Jobs.Db2AzureSearch\NuGet.Jobs.Db2AzureSearch.nuspec", `
"src\NuGet.Jobs.Catalog2AzureSearch\NuGet.Jobs.Catalog2AzureSearch.nuspec", `
"src\NuGet.Jobs.Auxiliary2AzureSearch\NuGet.Jobs.Auxiliary2AzureSearch.nuspec", `
"src\NuGet.Jobs.Catalog2Registration\NuGet.Jobs.Catalog2Registration.nuspec"

Foreach ($Project in $NuspecProjects) {
New-Package (Join-Path $PSScriptRoot "$Project") -Configuration $Configuration -BuildNumber $BuildNumber -Version $SemanticVersion -Branch $Branch -MSBuildVersion "$msBuildVersion"
Expand Down
Loading