Koji-based software source compiling and making method, and devices

A software source and software technology, applied in the field of operating system, can solve problems such as inability to recompile, low efficiency, and uncertain compilation time of RPM packages

Active Publication Date: 2021-11-30
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Sometimes because some RPM packages have been successfully compiled on Koji, but because the newly submitted task has not modified the N-V-R (name-version-number of releases) corresponding to the RPM package, they cannot be recompiled on Koji, and need to be deleted from the database and then restarted Compilation; the RPM package compilation time is uncertain, and may fail due to various compilation environment or source code problems, and developers cannot monitor the compilation status in real time; after the compilation is completed, the signature task needs to be executed manually, and the final software source will be generated after the signature task is completed. Time-consuming and inefficient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Koji-based software source compiling and making method, and devices
  • Koji-based software source compiling and making method, and devices
  • Koji-based software source compiling and making method, and devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0024] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0025] According to the first aspect of the embodiment of the present invention, an embodiment of a method for compiling and making software source based on koji is proposed. figure 1 What is shown is a schematic diagram of an embodiment of the meth...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a koji-based software source compiling and making method ans system, equipment, and a storage medium. The method comprises the following steps: submitting an RPM package compiling task, and polling whether the compiling task is in a closed state or a failed state; in response to the fact that the compiling task is in the closed state, executing a koji source making task and polling whether the koji source making task is in a closed state or a failed state; in response to the fact that the making koji source task is in the closed state, executing a making software source task and polling whether the making software source task is in a closed state or a failed state; in response to the fact that the software source making task is in the closed state, determining that the software source is made. According to the method and the system, when RPM package compiling and software source generation are carried out, task states of all stages can be monitored in real time, and task state information is fed back in time; products in a database and a storage library can be automatically deleted when RPM packages are repeatedly compiled, so that the RPM packages can be conveniently recompiled.

Description

technical field [0001] This field relates to the field of operating systems, more specifically, a method, system, device and storage medium for compiling and making software sources based on koji. Background technique [0002] Koji (Fedora's RPM package building system) is mainly used for compiling RPM packages (RPM packages are files packaged from source code), usually submitting compilation tasks from the Koji server through the command line, and displaying them on web pages The status of the compilation task. When the RPM package is successfully compiled, submit the task of generating the koji source on the backend, and then specify the tag of the RPM package on the signature server (a collection of RPM packages in Koji), and the newly compiled RPM package After signing, execute the command to generate the software source on the Koji server, submit it to the koji task, and generate the software source for Linux system installation. The process from source code to softwar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41G06F8/71G06F11/30
CPCG06F8/41G06F8/71G06F11/302G06F11/3051Y02D10/00
Inventor 王楷元王凯强王德明宋凯孙新鹏戴纯兴
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products