CN116302169A - Open source hosting software configuration method, electronic equipment and medium - Google Patents

Open source hosting software configuration method, electronic equipment and medium Download PDF

Info

Publication number
CN116302169A
CN116302169A CN202310099583.7A CN202310099583A CN116302169A CN 116302169 A CN116302169 A CN 116302169A CN 202310099583 A CN202310099583 A CN 202310099583A CN 116302169 A CN116302169 A CN 116302169A
Authority
CN
China
Prior art keywords
open source
configuration
event
software
configuration method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310099583.7A
Other languages
Chinese (zh)
Inventor
李珍翔
涂中英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai AI Innovation Center
Original Assignee
Shanghai AI Innovation Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai AI Innovation Center filed Critical Shanghai AI Innovation Center
Priority to CN202310099583.7A priority Critical patent/CN116302169A/en
Publication of CN116302169A publication Critical patent/CN116302169A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an open source managed software configuration method, which comprises the steps of firstly providing an application robot created based on an open source managed software page, receiving an event from the open source managed software by the application robot, determining a configuration event from the event, and finally automatically executing configuration of the configuration event according to configuration information provided by a user. The application robot is provided to realize the access of the open source project and the automatic event processing, so that the open source project management can be realized in an online configuration mode without codes, the collaboration efficiency between the open source project development and the developers is improved, and the code quantity is saved.

Description

Open source hosting software configuration method, electronic equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an open source managed software configuration method, an electronic device, and a medium.
Background
An open source project refers to software that can be used by the public and the use, modification and release of this software is not limited by a license, and a personalized product can be customized by modifying the open source code under the condition of adhering to an open source protocol. Development of open source projects is typically achieved through open source project hosting software, which is commonly referred to as G itHub, gittab, G item, and the like. The Github is widely applied to software development management and existing code discovery as an open source code library and a version control system. The method can create and develop an application based on open source project managed software, select an open source project library through a page and install the open source project library, further realize application development, and can also carry out code configuration, submit and incorporate codes in the open source project library according to the configuration specification of the existing application convention by installing the existing Github application.
The G itHub divides project management problems into I-problems, PR (code submission) and the like management, and may automatically solve part of the problems on I-problems and/or PR by applications such as mergi fy/act I ons. However, current G itHub-based robotic applications are more decentralized and use of these applications requires writing of configuration code and completion of configuration code submission through open source project development procedures. The use is complicated because different open source projects need to meet different development flow specifications.
Disclosure of Invention
Aiming at part or all of the problems in the prior art, the invention provides an open source managed software configuration method which can automatically execute configuration and save the need of manually writing configuration codes for users, and the method comprises the following steps:
providing an application robot, wherein the application robot is created based on an open source hosted software page;
receiving, by the application robot, an event from open source hosting software;
determining a configuration event from the events; and
and automatically executing the configuration of the configuration event according to the configuration information provided by the user.
Further, providing the application robot includes:
providing a login function of the open source hosting software;
providing open source project authorization in the open source hosting software; and
an automatic configuration method of the open source project is provided.
Further, the application robot is created based on the SAAS service.
Further, receiving the event from the open source hosting software includes: hosting software web hook events (webhook events) through the application robot subscription and receiving URL information of the web hook events.
Further, the configuration events include a question event (issue), and a code commit event (pr).
Further, determining a configuration event from the events comprises:
judging the event type; and
and processing different types of events according to preset configuration rules.
Further, the configuration information is provided by a user through a graphical interface.
Further, the open source hosting software includes a G itHub, or G ite.
Based on the open source managed software configuration method as described above, a second aspect of the invention provides an electronic device for open source managed software configuration comprising a memory and a processor, wherein the memory is configured to store a computer program which, when executed by the processor, performs the open source managed software configuration method as described above.
The third aspect of the present invention also provides a computer readable storage medium of an open source managed software configuration storing a computer program which when run on a processor performs the open source managed software configuration method as described above.
According to the configuration method of the open source hosting software, which is provided by the invention, the access of the open source project and the event automation processing are realized by providing the application robot, and further, the open source project management can be realized in an online configuration mode without codes, so that the collaboration efficiency between the open source project development and developers is improved, the code quantity is saved, and the repeated configuration action is simultaneously omitted.
Drawings
To further clarify the above and other advantages and features of embodiments of the present invention, a more particular description of embodiments of the invention will be rendered by reference to the appended drawings. It is appreciated that these drawings depict only typical embodiments of the invention and are therefore not to be considered limiting of its scope. In the drawings, for clarity, the same or corresponding parts will be designated by the same or similar reference numerals.
FIG. 1 illustrates a flow diagram of an open source managed software configuration method according to one embodiment of the invention;
FIG. 2 illustrates an open source project access flow diagram of one embodiment of the present invention; and
FIG. 3 illustrates a flow diagram of an open source event automation process in accordance with one embodiment of the present invention.
Detailed Description
In the following description, the present invention is described with reference to various embodiments. One skilled in the relevant art will recognize, however, that the embodiments can be practiced without one or more of the specific details, or with other alternative and/or additional methods. In other instances, well-known operations have not been shown or described in detail to avoid obscuring aspects of the invention. Similarly, for purposes of explanation, specific configurations are set forth in order to provide a thorough understanding of embodiments of the present invention. However, the invention is not limited to these specific details.
Reference throughout this specification to "one embodiment" or "the embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.
It should be noted that the embodiments of the present invention describe the steps of the method in a specific order, however, this is merely for the purpose of illustrating the specific embodiments, and not for limiting the order of the steps. In contrast, in different embodiments of the present invention, the sequence of each step may be adjusted according to the adjustment of the actual requirement.
In the existing open source project management, configuration codes are usually required to be written, the configuration codes are submitted through an open source project development flow, and when a new open source project application is developed, the flow is required to be re-executed, so that development cost exists. Aiming at the problem, in order to enable an open source developer to carry out auxiliary management of items by zero codes and reduce the use cost, the invention provides an open source hosting Software configuration method, which mainly provides a Software-as-a-service (SAAS) online system based on a B/S architecture and an application based on the open source hosting Software, an open source project manager can log in the online system through a third party authentication mode provided by the open source hosting Software, complete installation of the open source hosting Software application, select and create corresponding items on the system, configure the open source items according to the appointed configuration specification after the items are created, and synchronously send the events to the open source hosting Software application when events such as problems (I event), codes (PR, pul l Request) and the like of the open source project are generated on the open source hosting Software system, and the application processes response event requests according to the configured contents so as to meet the requirements of automatic management.
The embodiments of the present invention will be further described with reference to the accompanying drawings.
FIG. 1 shows a flow diagram of an open source managed software configuration method according to one embodiment of the invention. As shown in fig. 1, a method for configuring open source managed software includes:
first, in step 101, an application robot is provided. The application robot is created based on an open source hosted software page. In one embodiment of the invention, the application robot is configured to receive URL information of web hook events (webhook events). In one embodiment of the present invention, the application robot includes a background service system based on HTTP interaction protocol, and the background service system can monitor events of the open source hosting software, and in one embodiment of the present invention, the monitoring of events is implemented by subscribing to the open source hosting software webhook events, for example, after creating the application robot based on G i tuub, the subscribed G itHub webhook events can be obtained. In one embodiment of the present invention, the application robot is further configured to implement event distribution and processing logic for various types of open source managed software events, such that the application robot can perform corresponding processing according to the events. In one embodiment of the invention, the event distribution and processing logic includes:
judging the event type, and processing the event according to a preset configuration rule. The partial codes are as follows:
Figure BDA0004085583080000041
Figure BDA0004085583080000051
in one embodiment of the present invention, the application robot further includes SAAS services, including login design, open source project synchronization design, and usage configuration design. The login design refers to integrating a third party login function provided by the open source hosting software, so that a user can login the application robot based on the third party login function, and in other embodiments of the present invention, the user may integrate own login or integrate other third party login functions in the SAAS system. The open source project synchronous design means that open source project authorization in the open source managed software is provided, namely, the open source project on the open source managed software can be selected on a page of the application robot and authorized to the application robot. The use configuration design refers to an automatic configuration method for providing the open source project, for example, a configuration page is provided for the open source project, or an online configuration scheme can be used;
next, at step 102, an event is received. Receiving, by the application robot, events from open source hosted software, subscribing to and receiving open source hosted software webhook events by the application robot, as previously described;
next, at step 103, a configuration event is determined. Determining a configuration event from the events, the configuration event comprising, in one embodiment of the invention, a question event (issue), and a code commit event (PR); and
finally, in step 104, configuration is performed. The configuration of the configuration event is automatically performed according to configuration information provided by the user, which in one embodiment of the invention is provided by the user via the SAAS service as described above, i.e. is configured via a configuration page according to agreed configuration specifications. The application robot automatically executes configuration of the configuration event according to preset event distribution and processing logic.
In an embodiment of the present invention, the open source hosting software may be, for example, a G itHub, or a G ite. The corresponding application design may be, for example, a G itHub application design, or a create application using OAuth et al scheme.
Based on the aforementioned open source hosting software configuration method, fig. 2 and fig. 3 respectively show open source project access and open source event automation process flow diagrams according to one embodiment of the present invention.
As shown in fig. 2, the open source project access includes:
the open source project manager user accesses a page provided by the application robot, and in one embodiment of the invention, the page is a website page;
logging in the application robot based on a third party logging function provided by integrated open source hosting software;
on the page, selecting an open source item on the hosted software and authorizing to the application robot;
storing the information and providing a configuration page for the open source item; and
the user performs configuration according to the agreed configuration specification and issues.
As shown in fig. 3, the open source event automation process includes:
the open source developer performs operations such as question or code submission;
synchronizing the operation event to the application robot;
the application robot executes corresponding event operation according to the corresponding configuration content; and
if the operation response exists, the synchronization is performed on the open source hosting software.
It can be seen that, the configuration method of the open source hosting software in the embodiment of the present invention supports different open source project management requirements through SAAS, and the configuration of open source project management can be directly performed on a page and immediately takes effect through a centralized SAAS service. The different management requirements of the open source project manager can be met without the processes of code development, submission, integration and the like. The method operates in an open source organization, meets the management requirement, and can be rapidly expanded to other open source projects.
Based on the open source managed software configuration method as described above, a second aspect of the invention provides an electronic device for open source managed software configuration comprising a memory and a processor, wherein the memory is configured to store a computer program which, when executed by the processor, performs the open source managed software configuration method as described above.
The third aspect of the present invention also provides a computer readable storage medium of an open source managed software configuration storing a computer program which when run on a processor performs the open source managed software configuration method as described above.
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be apparent to those skilled in the relevant art that various combinations, modifications, and variations can be made therein without departing from the spirit and scope of the invention. Thus, the breadth and scope of the present invention as disclosed herein should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.

Claims (10)

1. A method of configuring open source managed software, comprising the steps of:
providing an application robot, wherein the application robot is created based on an open source hosted software page;
receiving, by the application robot, an event from open source hosting software;
determining a configuration event from the events; and
and automatically executing the configuration of the configuration event according to the configuration information provided by the user.
2. The open source hosted software configuration method of claim 1, wherein providing an application robot comprises:
providing a login function of the open source hosting software;
providing open source project authorization in the open source hosting software; and
an automatic configuration method of the open source project is provided.
3. The open source hosting software configuration method of claim 1, wherein the application robot is created based on a SAAS service.
4. The open source managed software configuration method of claim 1, wherein receiving an event from the open source managed software comprises:
subscribing to a source hosting software network hook event by the application robot; and
and receiving URL information of the network hook event.
5. The open source managed software configuration method of claim 1, wherein the configuration events comprise a problem event, and a code commit event.
6. The open source managed software configuration method of claim 1, wherein determining a configuration event from the events comprises:
judging the event type; and
and processing different types of events according to preset configuration rules.
7. The open source managed software configuration method of claim 1, wherein the configuration information is provided by a user through a graphical interface.
8. The open source managed software configuration method of claim 1, wherein the open source managed software comprises a GitHub, or a Gitee.
9. An electronic device for open source managed software configuration, comprising a memory and a processor, wherein the memory is configured to store a computer program that, when executed by the processor, performs the open source managed software configuration method of any of claims 1 to 8.
10. A computer readable storage medium of an open source managed software configuration, characterized in that a computer program is stored, which computer program, when run on a processor, performs the open source managed software configuration method of any of claims 1 to 8.
CN202310099583.7A 2023-02-08 2023-02-08 Open source hosting software configuration method, electronic equipment and medium Pending CN116302169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310099583.7A CN116302169A (en) 2023-02-08 2023-02-08 Open source hosting software configuration method, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310099583.7A CN116302169A (en) 2023-02-08 2023-02-08 Open source hosting software configuration method, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN116302169A true CN116302169A (en) 2023-06-23

Family

ID=86795174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310099583.7A Pending CN116302169A (en) 2023-02-08 2023-02-08 Open source hosting software configuration method, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN116302169A (en)

Similar Documents

Publication Publication Date Title
JP6935496B2 (en) Management of messaging protocol communication
US11663175B2 (en) Deployment of applications conforming to application data sharing and decision service platform schema
CN109670297B (en) Method and device for opening service permission, storage medium and electronic equipment
US8910138B2 (en) Hot pluggable extensions for access management system
US8495182B1 (en) Scalable systems management abstraction framework
US20070240150A1 (en) Simplifying installation of a suite of software products
CN109716735B (en) System and method for sharing application data between isolated applications executing on one or more application platforms
CN110058894B (en) Method, apparatus and computer program product for executing applications in a hybrid cloud
CN110289965B (en) Application program service management method and device
CN112954040B (en) Method, system, device and storage medium for embedding application release server
US10768974B2 (en) Specifying an order of a plurality of resources in a transaction according to distance
CN110968367A (en) E-commerce commodity field configuration method, device, server and storage medium
CN114006815B (en) Automatic deployment method and device for cloud platform nodes, nodes and storage medium
CN117076096A (en) Task flow execution method and device, computer readable medium and electronic equipment
WO2021093672A1 (en) Method for embedding external system, workflow system, device and computer readable storage medium
CN116627595A (en) Virtual machine creation method and related components
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
CN116302169A (en) Open source hosting software configuration method, electronic equipment and medium
CN114217697A (en) Multi-screen input method and device, electronic equipment and computer readable storage medium
CN114328026A (en) Virtual disk backup method, device, equipment and medium
CN111708568A (en) Component development decoupling method and terminal
CN111522560A (en) Software installation method and device, storage medium and electronic equipment
CN113194070A (en) Kafka cluster multi-type authority management method and device and storage medium
CN110784551A (en) Data processing method, device, equipment and medium based on multiple tenants
CN113312661B (en) User authorization system, method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination