CN113486327A - Code warehouse management method and system based on gitlab - Google Patents
Code warehouse management method and system based on gitlab Download PDFInfo
- Publication number
- CN113486327A CN113486327A CN202110841803.XA CN202110841803A CN113486327A CN 113486327 A CN113486327 A CN 113486327A CN 202110841803 A CN202110841803 A CN 202110841803A CN 113486327 A CN113486327 A CN 113486327A
- Authority
- CN
- China
- Prior art keywords
- warehouse
- code
- gitlab
- management
- flows
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 42
- 238000000034 method Methods 0.000 claims abstract description 48
- 230000008569 process Effects 0.000 claims abstract description 33
- 238000012986 modification Methods 0.000 claims abstract description 10
- 230000004048 modification Effects 0.000 claims abstract description 10
- 238000012546 transfer Methods 0.000 claims abstract description 10
- 238000013507 mapping Methods 0.000 claims abstract description 7
- 230000006870 function Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
Abstract
The invention relates to the technical field related to source code management, in particular to a code warehouse management method and system based on gitlab. A code warehouse management method based on gitlab comprises the following steps: establishing a mapping relation between a code warehouse and a manager; managing warehouse groups, warehouses, application flows, transfer flows and modification flows of warehouse authorities through a preset platform; and displaying the related information of the group, the warehouse, the state and the administrator according to the conditions. By adopting the technical scheme, the management system is introduced for carrying out the process platform management, and the creation and the authority of the warehouse are ensured to carry out the process management and control. Clearly showing the existing warehouse and the using state, and leaving marks in the whole process of the responsible person so as to manage the source code in a standardized way.
Description
Technical Field
The invention relates to the technical field related to source code management, in particular to a code warehouse management method and system based on gitlab.
Background
The source code is used as a core knowledge asset of an enterprise, and has strict authority control and clear asset list. Due to the fact that the code warehouses are numerous, even old staff can hardly accurately locate departments, the code base responsible for the old staff, the use state of the current code base and the like. It is more difficult for the new job owner to define the authority of opening the libraries. The change of personnel needs the handover of the authority of the warehouse, and one authority needs time and labor for opening, so that the omission is easy. In addition, quite arbitrary rights opening can bring asset leakage risks, and flow standardization, automatic management and trace retention are needed for auditing.
Disclosure of Invention
In view of the above, a code warehouse management method and system based on gitlab are provided to solve the problems in the related art.
The invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a code warehouse management method based on gitlab, where the method includes:
establishing a mapping relation between a code warehouse and a manager;
applying, transferring and modifying the warehouse group, the warehouse and the warehouse authority through a preset platform;
and displaying the related information of the group, the warehouse, the state and the administrator according to the conditions.
Optionally, the method further includes: when the personnel leave the job, the authority of the corresponding warehouse is handed over or copied to the handover person by one key.
Optionally, the method further includes:
and displaying specific execution details of the application process, the transfer process and the modification process.
Optionally, the method further includes:
displaying the process button through the displayed interface; and executing a corresponding preset process when the process button is clicked.
In a second aspect, an embodiment of the present invention provides a code warehouse management system based on gitlab, including:
the establishing module is used for establishing a mapping relation between the code warehouse and a manager;
the management module is used for managing warehouse groups, warehouses, application flows, transfer flows and modification flows of warehouse authorities through a preset platform;
and the display module is used for displaying or displaying the related information of the group, the warehouse, the state and the administrator according to the conditions.
By adopting the technical scheme, the management system is introduced for carrying out the process platform management, and the creation and the authority of the warehouse are ensured to carry out the process management and control. Clearly showing the existing warehouse and the using state, and leaving marks in the whole process of the responsible person so as to manage the source code in a standardized way.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a code warehouse management method based on gitlab according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a code warehouse management system based on gitlab according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
First, an application scenario of the embodiment of the present invention is explained, and a source code is used as a core knowledge asset of an enterprise, and an asset list which is strict in authority control and clear is required. Due to the fact that the code warehouses are numerous, even old staff can hardly accurately locate departments, the code base responsible for the old staff, the use state of the current code base and the like. It is more difficult for the new job owner to define the authority of opening the libraries. The change of personnel needs the handover of the authority of the warehouse, and one authority needs time and labor for opening, so that the omission is easy. In addition, quite arbitrary rights opening can bring asset leakage risks, and flow standardization, automatic management and trace retention are needed for auditing. The creation of a code warehouse and the management of authority lack effective management and control. The code warehouse is too many to know the existing warehouse, the using state and the responsible person. And the authority management has no trace, so that the safety audit is not convenient. When personnel change, the switching of the authority is time-consuming, labor-consuming and easy to miss.
Examples
Fig. 1 is a flowchart of a code warehouse management method based on gitlab according to an embodiment of the present invention. Referring to fig. 1, the method may specifically include the following steps:
s101, establishing a mapping relation between a code warehouse and a manager;
s102, managing warehouse groups, warehouses, application flows, transfer flows and modification flows of warehouse authorities through a preset platform;
and S103, displaying or displaying the related information of the group, the warehouse, the state and the administrator according to the conditions.
Further, the method also comprises the following steps: when the personnel leave the job, the authority of the corresponding warehouse is handed over or copied to the handover person by one key.
And displaying specific execution details of the application process, the transfer process and the modification process.
Displaying the process button through the displayed interface; and executing a corresponding preset process when the process button is clicked.
In the scheme provided by the application, a management system is introduced to carry out the flow-based platform management, so that the creation and the authority of the warehouse are ensured to carry out the flow-based management and control. Clearly showing the existing warehouse, the using state and the responsible person. Personnel change one-key rights transfers and copies. The whole process is marked.
The system is used for solving the problems of the flow and the automatic management of the application, the approval, the creation, the migration and the like of the gitlab code warehouse and the authority thereof, and leaving traces on the operation for auditing. And the intuitive viewing of functional departments, git groups, git warehouses, corresponding responsible persons and the use states thereof and the quick positioning of the required warehouses are realized. And batch copying and handing over of personnel authorities.
In the scheme provided by the application, the process platform management is introduced, and the application of the warehouse group, the warehouse and the warehouse authority is strictly executed according to the following process. The applicant initiates an application on the management platform, the directly superior judges the application reason on the management platform, and the application reason is confirmed by a specific code warehouse manager after the application reason is approved. And the management platform automatically creates a warehouse group, a warehouse or personnel authority in the gitlab by calling the api interface of the gitlab. According to the scheme, the application and approval conditions can be checked on the management platform. The system platform can display all or the related information of the group, the warehouse, the state and the administrator according to conditions for searching, applies for corresponding operation as required, and carries out approval operation after the corresponding operation. When the personnel leave the job, the authority of the corresponding warehouse can be handed over or copied to the hand-over person by one key.
The key points and points to be protected of the application are as follows: the method comprises the following steps: applying for, approving and automatically creating a platform management process; the method comprises the following steps of integrating and displaying information of a Gitlab warehouse list, and meanwhile, providing a function point which can be conveniently operated; and acquiring all the authority of the gitlab warehouse according to the personnel information, and realizing a function point of one-key handover or copy. This application has following advantage: the safety control is enhanced by formulating application, approval and other flow schemes; the operation of the gitlab is simplified by integrating the gitlab warehouse list, supporting convenient operation, handing over the authority by one key and other functions, so that the operation is simpler and the time cost is saved.
Fig. 2 is a schematic structural diagram of a code warehouse management system based on gitlab according to an embodiment of the present invention. Referring to fig. 2, the present application provides a code repository management system based on gitlab, including:
the establishing module 21 is used for establishing a mapping relation between a code warehouse and a manager;
the management module 22 is used for managing warehouse groups, warehouses, application processes, transfer processes and modification processes of warehouse authorities through a preset platform;
and the display module 23 is used for displaying or displaying the related information of the group, the warehouse, the state and the administrator according to the conditions.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (5)
1. A code warehouse management method based on gitlab is characterized by comprising the following steps:
establishing a mapping relation between a code warehouse and a manager;
managing warehouse groups, warehouses, application flows, transfer flows and modification flows of warehouse authorities through a preset platform;
and displaying the related information of the group, the warehouse, the state and the administrator according to the conditions.
2. The gitlab-based code repository management method of claim 1, further comprising: when the personnel leave the job, the authority of the corresponding warehouse is handed over or copied to the handover person by one key.
3. The method of claim 1, further comprising:
and displaying specific execution details of the application process, the transfer process and the modification process.
4. The method of claim 1, further comprising:
displaying the process button through the displayed interface; and executing a corresponding preset process when the process button is clicked.
5. A gitlab-based code repository management system, comprising:
the establishing module is used for establishing a mapping relation between the code warehouse and a manager;
the management module is used for managing warehouse groups, warehouses, application flows, transfer flows and modification flows of warehouse authorities through a preset platform;
and the display module is used for displaying or displaying the related information of the group, the warehouse, the state and the administrator according to the conditions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110841803.XA CN113486327A (en) | 2021-07-26 | 2021-07-26 | Code warehouse management method and system based on gitlab |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110841803.XA CN113486327A (en) | 2021-07-26 | 2021-07-26 | Code warehouse management method and system based on gitlab |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113486327A true CN113486327A (en) | 2021-10-08 |
Family
ID=77943586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110841803.XA Pending CN113486327A (en) | 2021-07-26 | 2021-07-26 | Code warehouse management method and system based on gitlab |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113486327A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120144334A1 (en) * | 2010-12-02 | 2012-06-07 | John Paul Reichert | Method and system for providing visual instructions to warehouse operators |
CN105072183A (en) * | 2015-08-10 | 2015-11-18 | 浪潮(北京)电子信息产业有限公司 | Management method and management device for cloud operation system (OS) software repository |
CN107968763A (en) * | 2016-10-19 | 2018-04-27 | 巽风数位工程有限公司 | Group's archive management system and method |
CN109388921A (en) * | 2017-08-10 | 2019-02-26 | 顺丰科技有限公司 | A kind of unification user rights management platform and operation method |
CN110321113A (en) * | 2019-07-09 | 2019-10-11 | 苏宁消费金融有限公司 | Using project batch as the integrated pipeline system and its working method of standard |
CN110348236A (en) * | 2018-04-02 | 2019-10-18 | 腾讯科技(深圳)有限公司 | A kind of operating right setting method, device and the storage medium of file |
CN111460500A (en) * | 2020-03-31 | 2020-07-28 | 贵州电网有限责任公司 | Authority management method of network resources |
CN111666539A (en) * | 2020-05-06 | 2020-09-15 | 深圳思为科技有限公司 | Real estate resource management method, device, server and storage medium |
CN112181473A (en) * | 2020-09-27 | 2021-01-05 | 上海万向区块链股份公司 | Mixed cloud based infrastructure code operation and maintenance management system |
CN112947992A (en) * | 2021-03-31 | 2021-06-11 | 建信金融科技有限责任公司 | Method and device for managing code version |
-
2021
- 2021-07-26 CN CN202110841803.XA patent/CN113486327A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120144334A1 (en) * | 2010-12-02 | 2012-06-07 | John Paul Reichert | Method and system for providing visual instructions to warehouse operators |
CN105072183A (en) * | 2015-08-10 | 2015-11-18 | 浪潮(北京)电子信息产业有限公司 | Management method and management device for cloud operation system (OS) software repository |
CN107968763A (en) * | 2016-10-19 | 2018-04-27 | 巽风数位工程有限公司 | Group's archive management system and method |
CN109388921A (en) * | 2017-08-10 | 2019-02-26 | 顺丰科技有限公司 | A kind of unification user rights management platform and operation method |
CN110348236A (en) * | 2018-04-02 | 2019-10-18 | 腾讯科技(深圳)有限公司 | A kind of operating right setting method, device and the storage medium of file |
CN110321113A (en) * | 2019-07-09 | 2019-10-11 | 苏宁消费金融有限公司 | Using project batch as the integrated pipeline system and its working method of standard |
CN111460500A (en) * | 2020-03-31 | 2020-07-28 | 贵州电网有限责任公司 | Authority management method of network resources |
CN111666539A (en) * | 2020-05-06 | 2020-09-15 | 深圳思为科技有限公司 | Real estate resource management method, device, server and storage medium |
CN112181473A (en) * | 2020-09-27 | 2021-01-05 | 上海万向区块链股份公司 | Mixed cloud based infrastructure code operation and maintenance management system |
CN112947992A (en) * | 2021-03-31 | 2021-06-11 | 建信金融科技有限责任公司 | Method and device for managing code version |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8276152B2 (en) | Validation of the change orders to an I T environment | |
US9235402B2 (en) | Dynamic release control of software application version changes | |
US9760589B2 (en) | Mechanism for deprecating object oriented data | |
US20170242779A1 (en) | System and method for server migration synchronization | |
US20080222513A1 (en) | Method and System for Rules-Based Tag Management in a Document Review System | |
US20110161931A1 (en) | Automated stream-based change flows within a software configuration management system | |
US8028271B2 (en) | Patch-aware editor | |
US20030126003A1 (en) | Method for monitoring and controlling workflow of a project, applications program and computer product embodying same and related computer systems | |
US9633069B2 (en) | Data subscription management system | |
US20080027781A1 (en) | Method for monitoring and controlling workflow of a project, applications program and computer product embodying same and related computer systems | |
US20160197959A1 (en) | Assured federated records management | |
JP2010009411A (en) | Virtual environment operation support system and virtual environment operation support program | |
KR101725142B1 (en) | Strategy map management method and device, and storage media storing the same | |
US20150248565A1 (en) | Information system, control program for management server, and control program for mobile device | |
CN113486327A (en) | Code warehouse management method and system based on gitlab | |
US8332438B2 (en) | Methods and systems for monitoring technical objects | |
KR20140007244A (en) | It service management method and system, recording medium therefor | |
US20190065168A1 (en) | Apparatus and method to shorten software installation time based on a history of file installation | |
CN112650532B (en) | Method, system and medium for modifying source code file under multi-person mode | |
US10915312B2 (en) | Lifecycle management of virtual compute templates | |
US9465606B2 (en) | Forecasting of reusable software assets | |
CN111638920A (en) | Computer program synchronous task processing method and device, electronic equipment and medium | |
CN113687859B (en) | Branch management method and device for software development, electronic equipment and medium | |
US20230074366A1 (en) | Information management device, information management system, information management method, and nontransitory computer-readable medium | |
US20230297699A1 (en) | Access right management apparatus and access right management method |
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 |