This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
forked from loic-sharma/BaGet
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from loic-sharma:main #60
Open
pull
wants to merge
21
commits into
visualon:main
Choose a base branch
from
loic-sharma:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Improves the mirroring implementation: 1. Push all mirroring logic into the `MirrorService`. This will make it easier to reuse mirroring logic in the upcoming Razor Pages rewrite: #678 2. Add unit and integration tests on the mirroring functionality 3. Fixed bugs caught by tests
Reduces complexity and improves developer productivity. For more information, see: #678
Replace AzDO build with GitHub actions, replace Gitter with Discord
Fix link to mirroring docs page
Kudos to @dncnkrs for the original implementation. This allows BaGet to index packages with large release notes, like https://www.nuget.org/packages/chocolatey/0.10.6.1
Enables basic GitHub Codespace support by adding a dev container image. Known problems: * Broken links - The [Forwarded Headers Middleware](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balancer?view=aspnetcore-5.0#forwarded-headers) does not seem to be working as expected. For example: * Upload failures - Upload fails with `error: Response status code does not indicate success: 413 (Request Entity Too Large).`. I was able to work around this by enabling upstreaming to nuget.org and download artifacts.
The IISServerOptions were populated from appsettings, but were then overridden by the default configuration. This caused the `MaxRequestBodySize` option to _always_ be `262144000`, regardless of what was configured in appsettings. Fixes #653.
Refactors the search implementations to share their response building logic. This reduces the logic in search providers to prepare for supporting the NuGet V2 protocol. Part of #43
This pushes logic from the `MirrorService` down into the `V2UpstreamClient` and `V3UpstreamClient` and adds tests on the `V3UpstreamClient`. This will make it easier to refactor the `MirrorService`, which will make it easier to implement the legacy V2 APIs in BaGet. Split from #699
After this change there's two services to access packages' state: * `IPackageDatabase` - This is a "low level" service for packages' state in BaGet's database * `IPackageService` - This is a "high level" service for packages' state, including both the database and the upstream feed if any This allows us to centralize the mirroring logic into the `IPackageService` (before mirroring logic was sprinkled throughout the codebase). Replaces #699
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )