Updated on 2025-08-12 GMT+08:00

Managing Software Packages

To upload a software package to a new SWR software repository, you can create an SWR software repository after selecting an organization during software package creation.

  • The SWR software repository does not scan or verify the security of the uploaded software packages. To avoid privacy leakage, do not include privacy information such as unencrypted passwords in uploaded software packages. When downloading public software packages, ensure that they are from trusted repositories and prevent malicious software from being downloaded.
  • If a disk is full, software packages cannot be uploaded to the repository and error information is displayed, but services are not affected. To prevent services such as logs from occupying the entire disk, you are advised to attach an independent disk to the repository.

Prerequisites

An organization has been created. For details, see Creating an Organization.

Creating a Software Package

  1. Log in to ServiceStage. Choose Deployment Source Management > Software Center, and click Create Package.
  2. Configure the software package by referring to the following table. Parameters marked with an asterisk (*) are mandatory.

    Table 1 Software package parameters

    Parameter

    Description

    *Software Repository

    Select an organization and a software repository.

    To create a software repository:

    1. Click Create Repository and enter a new software repository name.
    2. Click .

    *Sharing Type

    Type of the software repository. The default value is Private.

    • Private: only for the current tenant and users under the current tenant.
    • Public: for all tenants and users.

    *Package Name

    The name must be unique in the repository organization.

    Enter 1 to 255 characters. Use letters, digits, underscores (_), or hyphens (-). Start with a letter, digit, or underscore (_).

    *Version Number

    Version number of the software package.

    Enter 1 to 128 characters. Use letters, digits, underscores (_), or hyphens (-). Start with a letter, digit, or underscore (_).

    Package Description

    Description of the software package. Enter 0 to 200 characters.

    Version Description

    Description of the software package version. Enter 0 to 200 characters.

    Upload Software

  3. Click OK.

Uploading a Software Package

A maximum of 10 files can be uploaded at a time. The size of a single file (including the decompressed files) cannot exceed 2 GB.

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Organization Management.
  3. Use either of the following methods to upload the software package:

    • Directly upload
      1. Click Upload next to the target software package.
      2. Select a Package Version.
      3. Click Select File, select the target software package, and click Open.

        You can also drag the software package to the page.

      4. Set the parameters in the following table. All the parameters are optional.
        Table 2 Parameter description

        Parameter

        Description

        Overwrite

        If you select this option, the software package with the same name in the same path will be overwritten.

        File Path

        Enter a path to store the software package. The path is the virtual path of the software repository. By default, the root directory is used.

        By setting the path, you can easily view and manage the software package.

        Repeat the preceding steps to upload other software packages.

      5. After the software package is selected:
        • Select a software file from the list of software files to be uploaded and click Upload in the Operation column to upload the specified software file.
        • In the upper part of the list of software to be uploaded, click Upload to upload software files in batches.
    • View the software package details and then upload it
      1. Click the target software package to enter the details page.
      2. In the Version List area, click Upload in the Operation column of the target software package version.
      3. Click Select File, select the target software package, and click Open.

        You can also drag the software package to the page.

      4. Set the parameters in the following table. All the parameters are optional.
        Table 3 Parameter description

        Parameter

        Description

        Overwrite

        If you select this option, the software package with the same name in the same path will be overwritten.

        File Path

        Enter a path to store the software package. The path is the virtual path of the software repository. By default, the root directory is used.

        By setting the path, you can easily view and manage the software package.

        Repeat the preceding steps to upload other software packages.

      5. After the software package is selected:
        • Select a software file from the list of software files to be uploaded and click Upload in the Operation column to upload the specified software file.
        • In the upper part of the list of software to be uploaded, click Upload to upload software files in batches.

Editing a Software Package

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click the target software package to enter the details page.
  4. Click Edit in the upper-right corner and set the following parameters:

    Parameter

    Description

    Sharing Type

    Set the type of the software repository.

    • Private: only for the current tenant and users under the current tenant.
    • Public: for all tenants and users.

    Package Description

    Edit the description of the software package. Enter 0 to 200 characters.

  5. Click OK.

Adding a Software Package Version

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click the target software package to enter the details page.
  4. Click Add Version in the upper-right corner and set the following parameters:

    Parameter

    Description

    *Version Number

    Version number of the software package.

    Enter 1 to 128 characters. Use letters, digits, underscores (_), or hyphens (-). Start with a letter, digit, or underscore (_).

    Version Description

    Edit the description of the software package version. Enter 0 to 200 characters.

    Upload Software

  5. Click OK.

Editing a Software Package Version

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click the target software package to enter the details page.
  4. In the Version List area, click Edit in the Operation column of the target software package version.
  5. Enter up to 200 characters as the description.
  6. Click OK.

Querying the Address of a Software Package

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click the target software package to enter the details page.
  4. In the version list, click before the target version to view the software package address.

    • Move the cursor to the software package address and click to copy the Intranet address or External address.
    • In the row where the version file is located, click Download to download the version file.
    • In the row where the version file is located, click Delete to delete the version file.

Deleting a Software Package

Before deleting a software package, ensure that all versions in the software package are deleted. For details, see Deleting a Software Package Version.

After a software package is deleted, the software repository and its software package versions cannot be selected when Creating and Deploying a Component, Upgrading a Single Component, Upgrading Components in Batches, Cloning Components in Batches, or Creating a Package Job.

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Organization Management.
  3. Use either of the following methods to delete the software package:

    • Delete directly: Click Delete on the right of the target software package.
    • Delete after viewing software package details: Click the software package to go to the details page and click Delete in the upper right corner of the page.

  4. Click OK.

Deleting a Software Package Version

After a software package version is deleted, it cannot be selected when Creating and Deploying a Component, Upgrading a Single Component, Upgrading Components in Batches, Cloning Components in Batches, or Creating a Package Job.

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click the target software package to enter the details page.
  4. In the Version List area, click More > Delete in the Operation column of the target software package version.
  5. Click OK.