-
公开(公告)号:US20240385816A1
公开(公告)日:2024-11-21
申请号:US18665347
申请日:2024-05-15
Applicant: Beijing Zitiao Network Technology Co., Ltd.
Inventor: Junyu Yue
IPC: G06F8/41
Abstract: Embodiments of the present disclosure provide a method, apparatus, device and medium for code review. A specific embodiment of the process comprises: in response to a merge request to target code, determining a call to a target element in the target code; and sending a code review request to a reviewer associated with the target element according to the call to the target element. By this method, a code review request can be sent for a particular code element so that, for example, a development user or a maintenance user of the particular code element can perform a code review on the manner of the call to the particular code element.
-
公开(公告)号:US20240385810A1
公开(公告)日:2024-11-21
申请号:US18665323
申请日:2024-05-15
Applicant: Beijing Zitiao Network Technology Co., Ltd.
Inventor: Junyu Yue
Abstract: Embodiments of the present disclosure provide a code generation method and apparatus, a device and a medium. A specific implementation of the method includes: in response to opening a first file corresponding to a code to be detected, determining a target element corresponding to a target annotation included in the code to be detected; and generating a corresponding target code according to the target annotation and the target element.
-
公开(公告)号:US20240385945A1
公开(公告)日:2024-11-21
申请号:US18665228
申请日:2024-05-15
Applicant: Beijing Zitiao Network Technology Co., Ltd.
Inventor: Junyu Yue
IPC: G06F11/36
Abstract: Embodiments of the present disclosure provide a code fixing method and apparatus, and a device and a medium. A specific implementation of the method includes: acquiring a modified line number corresponding to a modified code line in a first code file submitted; according to an encoding issue existing in the code line corresponding to the modified line number, fix a code in the first code file with the identity of a current submitter of the first code file, and acquiring a fixed line number corresponding to the code fixed; determining whether the fixed line number is included in the modified line number; and in response to determining that the fixed line number is not included in the modified line number, undoing the code fixing for the fixed line number. By using the method, the code in the code lines in the code file can be only fixed, thereby avoiding the problem in which the entire code file is fixed in the existing code fixing solution, resulting in an error in the information of an actual modifier of a part of code lines, thus pointing to an incorrect modifier in subsequent tracking of the part of code lines.
-
-