-
Notifications
You must be signed in to change notification settings - Fork 2
copy artifactory page for nexus #274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| # Nexus Repository | ||
|
|
||
| Nexus Repository can handle both hosted and proxied repositories. Hosted | ||
| repositories can store and serve your internal packages; whereas, proxied | ||
| repositories will pull packages from an external (sometimes third-party) | ||
| source. PyPI in the Python ecosystem would be an example of a proxied | ||
| repository in the context of your Nexus Repository instance. | ||
|
|
||
| Phylum will serve as a remote repository, proxying requests to the actual | ||
| package registry (e.g., PyPI, npm, etc.) while ensuring that packages that | ||
| enter your organization’s Nexus Repository adhere to the [policy you have | ||
| defined](../knowledge_base/policy.md) regarding the acceptable use of open | ||
| source libraries/packages. | ||
|
|
||
| ## Create a New Proxy Repository | ||
|
|
||
| 1. Create a proxy repository for Phylum. Click on the gear icon to go to the | ||
| admin UI, then Repositories, then Create Repository. | ||
|
|
||
|  | ||
|
|
||
| 2. Select the proxy version of the appropriate package repository to which you | ||
| would like to apply the policy. See current [Phylum supported ecosystems | ||
| here](./about.md#supported-ecosystems). | ||
|
|
||
|  | ||
|
|
||
| 3. Provide a name for your proxy repository in the `Name` field. | ||
| 4. In the `Remote storage` field, enter the [Phylum registry | ||
| URL](./about.md#supported-ecosystems) for the ecosystem you are configuring. | ||
| 5. Reduce the values in the `Maximum metadata age` and `Not found cache TTL` | ||
| fields. With the default value of 1440 minutes, changes to whether a package | ||
| is allowed or blocked by policy can take up to an additional day. | ||
| 6. In the HTTP section, enable username authentication. In the `Username` field | ||
| enter the [Phylum organization and group](../knowledge_base/groups.md) where | ||
| you previously [defined your policy](../knowledge_base/policy.md). In the | ||
| `Password` field, enter a [Phylum API key](../knowledge_base/api-keys.md) | ||
| with permission to access this group. | ||
|
|
||
|  | ||
|
|
||
| ## Update Group Repository | ||
|
|
||
| Group repositories in Nexus Repository overlay all your hosted and proxied | ||
| repositories, giving you a single host to use in your configuration. This makes | ||
| the decision-making process for pulling a package from your hosted or proxied | ||
| artifacts opaque to the end user. | ||
|
|
||
| Once you have created a proxy repository for Phylum, you should update your | ||
| group repository to use it. | ||
|
|
||
| 1. Click on the gear icon to go to the admin UI, then Repositories, then the | ||
| repository you want to update. | ||
|
|
||
|  | ||
|
|
||
| 2. In your group repository, scroll down to Member repositories. | ||
|
|
||
|  | ||
|
|
||
| 3. Under the `Members` section, remove the existing proxy by clicking on it to select and then clicking on the arrow pointing to the left. | ||
|
|
||
|  | ||
|
|
||
| --- | ||
|
|
||
|  | ||
|
|
||
| 4. Under the `Available` section, add your Phylum proxy repository by | ||
| clicking on it to select and then clicking on the arrow pointing to the right. | ||
|
|
||
|  | ||
|
|
||
| 5. Save your settings using the blue `Save` button at the bottom of the screen. |
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.