Rpm software package conversion method and Rpm software package conversion system

A conversion method and software package technology, applied in the direction of program control devices, etc., can solve the problems of increasing development links, increasing development costs, and reducing development efficiency, and achieving the effect of reducing links and improving development efficiency.

Inactive Publication Date: 2014-02-26
CHINA STANDARD SOFTWARE
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since these operating systems cannot directly use these open source achievements on the hosting website, when developing this operating system, there will be problems such a

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
  • Rpm software package conversion method and Rpm software package conversion system
  • Rpm software package conversion method and Rpm software package conversion system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0026] figure 1 It is a schematic flow diagram of a method for converting Ruby source codes into Rpm software packages in batches according to an embodiment of the present invention. Refer to below figure 1 Each step of this embodiment will be described in detail.

[0027] Step S110, obtaining a list of download addresses of source code projects.

[0028] Specifically, for example, through the website development interface provided by Github website development, you can use the third-party application program to use the development interface of this website to directly operate the behavior authorized by Github to users in a way that is separated from the web page, and obtain the source code of the open source project. address list for .

[0029] Step S120, judge whether the download address list is empty, if it is empty, end the operation, otherwise execute step S130.

[0030] Step S130, read a project address from the download address list, and download the project source ...

no. 2 approach

[0046] figure 2 It is a schematic structural diagram of a system that converts Ruby source codes into Rpm software packages in batches according to another embodiment of the present invention. Refer to figure 2 Each constituent structure of this embodiment will be described in detail.

[0047] Such as figure 2 As shown, the system includes an acquisition module 21 , a first generation module 22 and a second generation module 23 .

[0048] Wherein, the acquisition module 21 acquires the Ruby source code project, generates a gem software package from the Ruby source code through the gem command, and backs it up.

[0049] Specifically, the obtaining module 21 further performs the following steps: Step 10, obtain the download address list of the project source code; Step 20, read a project source code address from the download address list, and use the git command "git checkout URL" to check out the URL according to The project source code address downloads the project sourc...

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 discloses an Rpm software package conversion method and an Rpm software package conversion system. The method includes acquiring a gem software package, and backing up the gem software package; enabling the backed-up gem software package to generate an RPM SPEG file through an expansion module command of Ruby language; placing the generated RPM SPEC file and the gem software package into a first catalog and a second catalog which are of set catalog structure, and enabling the set catalog structure to generate an Rpm software package. By the method and the system, software projects programmed by the Ruby language can be automatically converted into software packages with a suffix gem in a batch manner and can be changed into Srpm files finally, so that acquired open-source Ruby source code projects are enabled to be capable of being applied by operating systems using Rpm software package management tools, content of software repositories of the operating systems are enriched and quickly expanded, raw materials are provided for the systems to integrate various application software, links of the development process are reduced, and development efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer software, in particular to an Rpm software package conversion method and conversion system. Background technique [0002] There is a code hosting website on the Internet, which stores a large number of fresh project source codes developed in various programming languages. Currently, the Github website is a mainstream code hosting website, which provides web interface access, similar to services like SourceForge or Google Code, hosting open source project source code and non-open source project source code provided by individuals or organizations from all over the world, open source project source code It is public and can be hosted for free, while the source code of non-open source projects is not public and requires paid hosting. [0003] Because there are many software projects written in the Ruby language, and a large number of them are stored on the Github hosting website, and these projects are all s...

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
IPC IPC(8): G06F9/44
Inventor 胡晓英沈永康
Owner CHINA STANDARD SOFTWARE
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