Rate This Document
Findability
Accuracy
Completeness
Readability

Scan and Analysis

Prerequisites

  • The Porting Advisor has been installed.
  • If you have installed the tool using a compressed package, decompress the package and switch to the tool directory. Then run the command in ./ mode, for example, ./devkit porting -h. If you have installed the tool using an RPM package, run devkit porting -h. This section uses RPM packages as an example.
  • An SSH remote login tool has been installed on the local PC.
  • The Netty framework package has been obtained.

Procedure

  1. Upload the software package obtained based on Software Requirements to the user-defined directory (for example, /home/devkit_demo) on the Kunpeng server where the Kunpeng DevKit CLI is deployed.
  2. Use the DevKit CLI to scan the uploaded software package.
    devkit porting pkg-mig -i /home/devkit_demo/netty-all-4.1.34.Final.jar

    The following information is displayed:

  3. View the HTML scan report.
    This report indicates that the JAR package is available in the Kunpeng Maven repository on the Huawei Cloud mirror site. You can download the package directly.
    Figure 1 Software porting assessment report

    If your browser is connected the Internet, click Download to obtain the JAR package. If it is not connected to the Internet, click Copy Link and then obtain the JAR package from the Internet using the link.