loic-sharma / BaGet

A lightweight NuGet and symbol server
https://loic-sharma.github.io/BaGet/
MIT License
2.58k stars 644 forks source link

Refactor package upstreaming #699

Closed loic-sharma closed 2 years ago

loic-sharma commented 2 years ago

This change refines BaGet's abstractions around package upstreaming. This will make it easier to support the V2 APIs.

Old name New name Notes
FooPackageService FooPackageDatabase Service for packages' state in databases
MirrorService PackageService Service for packages' overall state, including upstream packages
IMirrorClient IUpstreamClient Service to lookup upstream packages
loic-sharma commented 2 years ago

Replaced by https://github.com/loic-sharma/BaGet/pull/711