Skip to content

Commit e704c3e

Browse files
Added package source mappings (#1165)
* Added package source mappings * Create NuGet.Config * Update NuGet.Config * Update NuGet.Config * Override nuget source mappings * Bump some test deps * Get Octopus.Time from feedz * Allow NuGet.Frameworks from both sources * Move NuGet.Frameworks to the root nuget.config * Undo project changes * Discard changes to source/Octopus.Tentacle.Tests/Octopus.Tentacle.Tests.csproj * Discard changes to source/Octopus.Tentacle.Client.Tests/Octopus.Tentacle.Client.Tests.csproj * Update Octopus.Tentacle.Kubernetes.Tests.Integration.csproj * Revert "Update Octopus.Tentacle.Kubernetes.Tests.Integration.csproj" This reverts commit babb8a2. * Revert "Discard changes to source/Octopus.Tentacle.Client.Tests/Octopus.Tentacle.Client.Tests.csproj" This reverts commit 79e48d2. * Revert "Discard changes to source/Octopus.Tentacle.Tests/Octopus.Tentacle.Tests.csproj" This reverts commit 6f7364b. * Revert "Undo project changes" This reverts commit b8ce170. * Revert "Bump some test deps" This reverts commit d8ad5ac.
1 parent 79fa2fd commit e704c3e

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

NuGet.Config

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,22 @@
44
<add key="disableSourceControlIntegration" value="true" />
55
</solution>
66
<packageSources>
7+
<clear />
78
<add key="NuGet.org v3" value="https://api.nuget.org/v3/index.json" />
8-
<add key="NuGet.org" value="https://www.nuget.org/api/v2/" />
99
<add key="feedz.io" value="https://f.feedz.io/octopus-deploy/dependencies/nuget/index.json" />
10-
<add key="nuget.packages.octopushq.com" value="https://nuget.packages.octopushq.com/" />
1110
</packageSources>
11+
<packageSourceMapping>
12+
<clear />
13+
<packageSource key="feedz.io">
14+
<package pattern="Octopus.Time" />
15+
<package pattern="NuGet.Packaging*" />
16+
<package pattern="NuGet.Common" />
17+
<package pattern="NuGet.Frameworks" />
18+
<package pattern="NuGet.Versioning" />
19+
</packageSource>
20+
<packageSource key="NuGet.org v3">
21+
<package pattern="NuGet.Frameworks" />
22+
<package pattern="*" />
23+
</packageSource>
24+
</packageSourceMapping>
1225
</configuration>

build/NuGet.Config

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSourceMapping>
4+
<clear />
5+
<packageSource key="NuGet.org v3">
6+
<package pattern="*" />
7+
</packageSource>
8+
</packageSourceMapping>
9+
</configuration>

0 commit comments

Comments
 (0)