Help Center/ CodeArts Artifact/ User Guide/ Release Repos 2.0/ Managing Software Packages 2.0
Updated on 2024-10-16 GMT+08:00

Managing Software Packages 2.0

Viewing Packages in Repo View

On the Repo View page, you can view or edit software package details, including general information, build metadata, and build packages.

Access Release Repos, select Repo View, and click a software package name to see its details page. The software package details are displayed on three tab pages: General, Build Metadata, , and Build Packages.

  • General: displays the repository name, relative path, repository path, version, creator, creation time, modifier, modified time, size, and checksum.

    Click to change the release version of the software package. (The release version archived by CodeArts Build is the build sequence number by default.)

  • Build Metadata: displays the build task, size, build number, builder, code repository, and code branch of the software package. Click Build Task to link to the task in CodeArts Build.
  • Build Packages: displays records of software packages archived from build tasks. Click to download the package.

Viewing Packages in Version View

CodeArts Artifact displays software packages by version. In Version View tab page, you can filter and display artifact packages by name and version number, and sort files by their update time.

  1. Click a project card to access the project, and choose Artifact > Release Repos from the menu bar.
  2. You need to set the version of the uploaded package. By default, CodeArts Build archives the release version as the version number set during the build task.

  3. Select Version View in the upper left corner of the page. The list of software packages with versions is displayed.
  4. Release Repos stores software packages of different versions with the same name in the same file. Click a file name in the File Name column. The latest version of the software package is displayed.
  5. Click a number in the Versions column. The version list of the software package is displayed.

    Click a number in the Version No. column. The Overview and Files pages of the software package are displayed. In the Files tab, click a name in the File Name column. The path of the software package is displayed.

  6. After you set the version of the software package, the status is Not Released by default. You can change the status if needed.

    • In Files, set the status to Released. This will update the software package to the Released status for the latest version.
    • Click a version in the Versions column to go to the version list. You can set the status of different versions to Released.

      The status changes from Not Released to Released. The status change is irreversible. Exercise caution when performing this operation. Files in Released status cannot be modified or edited (including file names or version numbers), but can only be downloaded or deleted.

Setting Status of a Folder

  1. After entering a level-1 folder, click next to Package Status and select a status from a drop-down list to change the status of a level-2 folder (Testing by default).

    If the folder status is Released, the folder cannot be changed or edited (changing the folder name, changing the file name in the folder, uploading the folder, changing the version number, or creating a subfolder). You can only download or delete it.

    The folder status can be changed from Not Released to Released, but such change is irreversible. Exercise caution when performing this operation.

Downloading Software Packages

  1. Click a project card to access the project, and choose Artifact > Release Repos from the menu bar.
  2. In the Repo View tab, select the software package to be downloaded. You can download it in either of the following ways:

    • Method 1: Click Download on the right of the page and select a download mode from the drop-down list.

      • Local Download: Download the package to your local PC.
      • QR Code Download: Use your mobile phone to scan the QR code to download the package.
    • Method 2: Hover your cursor over the software package to be downloaded and click on the right of the package.

Searching for Software Packages

  1. Click a project card to access the project, and choose Artifact > Release Repos from the menu bar.
  2. Enter a keyword (a folder or file name) in the search box above the list to search for the software package whose name contains the keyword.
  3. Click the file name to go to its details page.