Skip to content

Commit 88e5d86

Browse files
author
Rami Bououni
committed
update
1 parent 7188d90 commit 88e5d86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/artifacts/how-to/upstream-internal-feed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ Follow these steps to set up an internal feed from the same organization as an u
108108
109109
The following example illustrates a scenario where *Test_Feed* has *CargoDemoFeed* configured as an upstream source. For domonstration purposes *Test_Feed* is empty and contains no packages.
110110
111-
When a collaborator (or higher) installs a package from *CargoDemoFeed*, Azure Artifacts automatically saves a copy of that package to *Test_Feed*. That package can then be consumed by all readers of *Test_Feed*.
111+
When a collaborator (or higher) installs a package from *Test_Feed* that is available in the upstream *CargoDemoFeed*, Azure Artifacts copies that package into the downstream *Test_Feed* and downloads it as part of the normal `cargo install` flow. After this first-time copy, all future downloads of that package from *Test_Feed* require only **Feed Reader** (or higher) permissions, because those later downloads don't modify the downstream feed. Only the first install copies the package from upstream to downstream, so only that initial action requires elevated permissions.
112112
113113
1. Sign in to Azure DevOps, then navigate to the project that hosts the upstream feed (in this example, *CargoDemoFeed*).
114114
115115
1. Select Artifacts, then from the dropdown menu, select the upstream feed (*CargoDemoFeed*).
116116
117-
1. Find the package you want to install and note its name. In this example, *atomic-waker* is the package name.
117+
1. Find the package you want to install and note its name. In this example, *atomic-waker* is the package name. You can also search upstream packages directly from your downstream feed in the Azure Artifacts UI. See [Search packages from upstream sources](search-upstream.md) for more details.
118118
119119
1. Navigate to the root of your project and open your *Cargo.toml*. Add the package under **[dependencies]**. Because this is a private crate dependency, you must specify the registry name in your *Cargo.toml* file. Cargo assumes *crates.io* as the default registry unless otherwise specified. Add the dependency as follows:
120120

0 commit comments

Comments
 (0)