The Artifacts module in Artifactory displays the Artifact Repository Browser that provides two ways to browse through repositories:
- Tree Browser: Displays the repository as a tree
- Simple Browser: Focuses on the currently selected item and displays the level below it in the repository hierarchy as a flat list
Both browsers adhere to the security rules defined in the system, and only allow you to perform actions authorized by the system security policies.
To switch between browsing modes, simply select the corresponding link at the top of the Artifact Repository Browser.
Both the Tree Browser and Simple Browser have features to help you navigate them and search for repositories:
- Repository type icon: Each repository is displayed with a distinct icon that represents its type (local, cache, remote and virtual).
- Search in the browser: You can search for a specific repository in both browsers by clicking on the filter icon.
- Keyboard navigation: While in the browser, type the name of the repository you are searching for and Artifactory will navigate you to that repository.
- Filters: Click the filter icon to filter the repositories displayed in the browser to only display the types that interest you. You can also simply type the filter expression while on the browser.
The Tree Browser lets you drill down through the repository hierarchy and displays full information for each level within it. For any repository, folder or artifact selected in the tree, a tabbed panel displays detailed data views and a variety of actions that can be performed on the selected item. The information tabs available are context sensitive and depend on the item selected. For example, if you select an npm package, an Npm Info tab displays information specific to Npm packages. Similarly for NuGet, RubyGems and any other supported package formats.
The simple browser lets you browse repositories using simple path-driven URLs, which are the same URLs used by build tools such as Maven. It provides lightweight, view-only browsing.
A unique feature of this browsing mode is that you can also view remote repositories (when enabled for the repository), and virtual repositories to see the true location of each folder and artifact
You can apply a filter to both the Tree Browser and the Simple Browser, either by clicking the search icon, or just typing out the filter expression while on the browser.
By repository name: To filter by repository name, just type the name you want to filter by
By package type: To only display repositories for a particular package type, type pkg:<package type>. For example, typing
pkg:docker will filter out any repositories that are not Docker repositories
By repository type: To only display particular repository types, type repo:<repository type>. For example, typing
repo:local will filter out any repositories that are not local repositories. The options are local, cached, remote and virtual.
Selecting any item in the Tree or Simple browser displays tabs which provide information regarding the metadata associated with the selected item:
|General information including download statistics such as the total number of downloads, time stamp of last download and the last user who downloaded.|
The permissions (Delete/Overwrite, Deploy/Cache, Annotate, Read) that each user or group regarding the selected item. Permissions for groups are as specifically assigned to them. Permissions for individual users are the union of permissions specifically assigned as well as those inherited by virtue of the user being included in groups.
|The list of properties annotating the selected item.|
|The list of users watching this item.|
|The list of builds that either produce or use the selected item.|
|Information on the selected item retrieved from Black Duck Code Center.|
|XML and POM files also display a tab through which you can view the file contents.|
List Browsing lets you browse the contents of a repository outside of the Artifactory UI. It provides a highly responsive, read-only view and is similar to a directory listing provided by HTTP servers.
To use List Browsing, click the icon to the right of a repository name in the Simple Browser (indicated in red in the screenshot above).
Creating public views with List Browsing
List browsing can be used to provide public views of a repository by mounting it on a well-known path prefix such as
list (see example below).
This allows the system administrator to create a virtual host that only exposes Artifactory's List Browsing feature to public users (while maintaining write and other advanced privileges), but limiting access to the intensive UI and REST API features for internal use only.
Artifactory remote browsing capabilities let you navigate the contents of the remote repository even if the artifacts have not been cached locally.
To enable remote browsing, you need to set the List Remote Folder Items checkbox in the remote repository configuration. Once this is set you can navigate that repository using the Simple or List Browser.
In the Simple Browser, an item that is not cached is indicated by an icon on its right when you hover over the item. In the List Browser, an item that is not cached is indicated by an arrow.
Initial responsiveness of remote repositories
Artifactory fully supports browsing with WebDAV. For full details please refer to Using WebDAV.