Skip to content

Commit b9daad7

Browse files
committed
remove for servers
1 parent 0f2379b commit b9daad7

File tree

1 file changed

+4
-84
lines changed

1 file changed

+4
-84
lines changed

docs/artifacts/how-to/public-feeds-upstream-sources.md

+4-84
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ description: How to enable and add upstream sources to a public feed in Azure Ar
44
ms.service: azure-devops-artifacts
55
ms.topic: tutorial
66
ms.date: 03/02/2023
7-
monikerRange: '<= azure-devops'
7+
monikerRange: 'azure-devops'
88
---
99

1010
# Use upstream sources in a public feed
1111

12+
[!INCLUDE [version-eq-azure-devops](../../includes/version-eq-azure-devops.md)]
13+
1214
Azure Artifacts enables developers to manage their dependencies from a single feed. Using upstream sources, you can consume packages from feeds and public registries such as NuGet.org, and npmjs.com. In this article, you'll learn how to:
1315

1416
> [!div class="checklist"]
@@ -75,8 +77,6 @@ A public feed is a project-scoped feed in a public project. Public feeds inherit
7577

7678
Run the following command in your project directory to restore your packages:
7779

78-
::: moniker range="azure-devops"
79-
8080
#### [NuGet](#tab/nuget)
8181

8282
```Command
@@ -123,86 +123,6 @@ cargo build
123123

124124
- - -
125125

126-
::: moniker-end
127-
128-
::: moniker range=">= azure-devops-2020 < azure-devops"
129-
130-
#### [NuGet](#tab/nugetserver)
131-
132-
```Command
133-
nuget.exe restore
134-
```
135-
136-
#### [Dotnet](#tab/dotnetserver)
137-
138-
```Command
139-
dotnet restore --interactive
140-
```
141-
142-
#### [Npm](#tab/npmserver)
143-
144-
```Command
145-
npm install
146-
```
147-
148-
#### [Maven](#tab/mavenserver)
149-
150-
```Command
151-
mvn install
152-
```
153-
154-
#### [Gradle](#tab/gradleserver)
155-
156-
```Command
157-
gradle build
158-
```
159-
160-
#### [Python](#tab/pythonserver)
161-
162-
```Command
163-
pip install
164-
```
165-
166-
- - -
167-
168-
::: moniker-end
169-
170-
::: moniker range="azure-devops-2019"
171-
172-
#### [NuGet](#tab/nugetserver19)
173-
174-
```Command
175-
nuget.exe restore
176-
```
177-
178-
#### [Npm](#tab/npmserver19)
179-
180-
```Command
181-
npm install
182-
```
183-
184-
#### [Maven](#tab/mavenserver19)
185-
186-
```Command
187-
mvn install
188-
```
189-
190-
#### [Gradle](#tab/gradleserver19)
191-
192-
```Command
193-
gradle build
194-
```
195-
196-
#### [Python](#tab/pythonserver19)
197-
198-
```Command
199-
pip install
200-
```
201-
202-
- - -
203-
204-
::: moniker-end
205-
206126
> [!NOTE]
207127
> You must be a **Feed and Upstream Reader (Collaborator)** or higher to install new package versions from upstream. Anonymous users can only install packages that exist in their feed.
208128
@@ -230,7 +150,7 @@ You can also use the NuGet CLI to force NuGet to use the source in your config f
230150
nuget restore -config <PATH_TO_NUGET_CONFIG_FILE>
231151
```
232152

233-
## Related articles
153+
## Related content
234154

235155
- [Search for packages in upstream sources](search-upstream.md)
236156
- [Set up upstream sources](set-up-upstream-sources.md)

0 commit comments

Comments
 (0)