Software Package Management
Creating a Software Repository
To upload a software package to a new software repository, you can create a software repository after selecting an organization during software package creation.
- The 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.
Creating a Software Package
- Log in to ServiceStage and choose Software Center > Software Repository > Software List.
- Click Create Software Package.
- Configure the software package by referring to the following table. Parameters marked with an asterisk (*) are mandatory.
Table 1 Parameter description Parameter
Description
*Software Repository
Select an organization and a software repository.
To create a software repository, click New warehouse, enter a new repository name, and save the settings.
*Repository Type
Software repository type. By default, a private repository is used.
- Private: only for the current tenant and users under the current tenant.
- Public: for all tenants and users.
*Name
Software package name, which must be unique in an organization.
*Version
Software package version. Multiple software package versions can be uploaded.
Package Description
Description of the software package.
Version Description
Description of the software package version.
Upload Software package
- Upload now
- Upload later
- Upload the software.
- Upload now: Click OK to upload the software. For details, see 2 in Uploading the Software Package.
- Upload later: Click OK.
Uploading the Software Package
Software to be uploaded must meet the following requirements:
- The software name is a string of 1–255 characters starting with a letter or digit. Only letters, digits, underscores (_), hyphens (-), or period (.) are allowed.
- A compressed software package cannot exceed 3 GB. The number of files in the compressed software package is not restricted. After the package is decompressed, a single file cannot exceed 3 GB.
- Log in to ServiceStage and choose Software Center > Software Repository > Software List.
- Click Upload Software package next to the target software package.
- Click Select File, select the target software package, and click Open. Alternatively, drag the target software package to the page.
- Set the parameters in the following table. All the parameters are optional.
Table 2 Parameter description Parameter
Description
Cover
If you select this option, the software package with the same name in the same path will be overwritten.
Package 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.
A maximum of 10 software packages can be uploaded at a time.
- After the software package is selected, click Upload.
Editing a Software Package
- Log in to ServiceStage and choose Software Center > Software Repository > Software List.
- Click the target software package to enter the details page.
- Click Edit in the upper right corner to modify Repository Type and Package description.
Querying the Address of a Software Package
- Log in to ServiceStage and choose Software Center > Software Repository > Software List.
- Click the target software package to enter the details page.
- Click
before the target version and click
to copy Internal address or External address.
You can also download or delete files of the version.
Deleting a Software Package
- Log in to ServiceStage and choose Software Center > Software Repository > Software List.
- Delete the target software package.
- Click Delete on the right side of the target software package, and follow instructions to delete the software package.
- Click the target software package to enter the details page.
Choose More > Delete in the Operations column of the target version, and follow instructions to delete the software package version.
Last Article: Software Repository
Next Article: Packaging Specifications of Software Packages
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.