Tasks and workflows that run in ENVI may have dependencies to files stored on disk, such as deep learning models, custom tasks with associated code, spectral libraries, and so on. The ENVI Repository is a cross-platform server that automates the management of these file dependencies across multiple machines. When files are uploaded (published) and then downloaded on different machines, ENVI ensures that all dependencies are downloaded as well and they are placed in a location where they can be found and accessed without conflict.

This topic describes the following:

Publish Files to the ENVI Repository


Use Publish to Repository to upload packages to the ENVI Repository. A typical package will be a workflow created with the ENVI Modeler. If the published workflow relies on additional files to run, those files will be published as separate packages.

Note: Dependencies that already exist in the ENVI Repository will not be uploaded to avoid duplication.

You can also write a script to publish files to the ENVI Repository using the PublishToRepository task.

  1. From the ENVI Modeler menu bar, select Share > Publish to Repository. The Publish to Repository dialog appears.
  2. Enter a Name for the package.
  3. Optionally, enter a Description of the package.
  4. Enter a Version number for the package (example: 1.0.0). This number can be incremented if the package already exists and you are publishing a new version of it.
  5. Enter one or more comma-separated Tags that can be used to filter searches in the ENVI Repository Browser.
  6. The Dependencies field automatically lists the files that are required. They will be published as separate packages .
  7. In the Repository drop-down list, select a registered repository to which to publish the package. Or, enter the URL and port number for an ENVI Repository server.
  8. Click OK to upload the package.

Download Files From the ENVI Repository


Use Browse ENVI Repository download packages from the ENVI Repository to a local folder on your machine. The Local Repository Directory setting in Preferences specifies the default folder to download the files to.

You can also write a script to download files from the ENVI Repository using the DownloadFromRepository task.

  1. Select Share > Browse ENVI Repository from the ENVI Modeler menu or the ENVI main menu. The ENVI Repository Browser dialog appears. The ENVI Repository tab lists the packages that are available to download, and the Installed Packages tab shows the packages that have been downloaded to your machine.

    You can filter the packages in the list by selecting an option from the Filter by Type drop-down list, or you can use the Search field to search on a specific term.

  2. To download a package, click the green Install button to the right of the package details.
  3. Additional options available in the Browse ENVI Repository dialog:

    • To refresh the list of available packages, click the Reload button.

    • To register another ENVI Repository, click the Add button. See Add an ENVI Repository below for details.

    • To edit details for the package, click the Edit button. See Manage ENVI Repositories for details.

Add an ENVI Repository


Use Add ENVI Repository to register a connection to an ENVI Repository server that can be used for publishing and/or consuming (downloading) packages.

  1. Select Share > Add ENVI Repository from the ENVI Modeler menu or the ENVI main menu. The Add ENVI Repository dialog appears.
  2. Enter the fully qualified Repository URL of the repository to register, including the port number.
  3. Enter a Name for the ENVI Repository server.
  4. Click OK.

Manage ENVI Repositories


After you register one or more ENVI Repositories, you can manage them as follows:

  1. Select Share > Manage ENVI Repositories from the ENVI Modeler menu or the ENVI main menu. The Manage ENVI Repositories dialog appears. It lists the names of the ENVI Repository servers you have registered.
  2. To manage ENVI Repositories:
    • To register a new repository, click the Add button. The Add ENVI Repository dialog appears. Follow the steps above to add a new ENVI Repository.
    • To edit a registered repository, select the repository name in the list and click the Edit button. In the Edit ENVI Repository dialog, modify the URL and Name fields and click OK.
    • To view details about a repository, click the Info button. The ENVI Repository Information dialog appears, showing information about the repository.
    • To remove a repository from the list of registered repositories, click the Remove button.

See Also


ENVI function (programming), Visual Programming with the ENVI Modeler