Add nuget v3 remote type (#141)
.NET builds restore from nuget.org directly because artifactapi has no NuGet remote type. - add `nuget` package type proxying a NuGet v3 feed; `index.json` maps to the upstream service index - add a `ServeRewriter` provider hook so cached JSON has upstream-origin URLs pointed back at the requesting host per request - treat `.nupkg`/`.nuspec` as immutable and service, registration and flat container indexes as mutable - add a `nuget.config` usage snippet to the UI and a nuget e2e caching case Reviewed-on: #141 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
This commit was merged in pull request #141.
This commit is contained in:
@@ -29,6 +29,7 @@ import (
|
||||
_ "git.unkin.net/unkin/artifactapi/internal/provider/goproxy"
|
||||
_ "git.unkin.net/unkin/artifactapi/internal/provider/helm"
|
||||
_ "git.unkin.net/unkin/artifactapi/internal/provider/npm"
|
||||
_ "git.unkin.net/unkin/artifactapi/internal/provider/nuget"
|
||||
_ "git.unkin.net/unkin/artifactapi/internal/provider/puppet"
|
||||
_ "git.unkin.net/unkin/artifactapi/internal/provider/pypi"
|
||||
"git.unkin.net/unkin/artifactapi/internal/provider/rpm"
|
||||
|
||||
Reference in New Issue
Block a user