# KTestRobot **Repository Path**: hust-open-atom-club/KTestRobot ## Basic Information - **Project Name**: KTestRobot - **Description**: Kernel Testing Robot - **Primary Language**: Go - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-06-29 - **Last Updated**: 2024-01-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # KTestRobot ## Installation ### Install Go Download the golang package (`go1.20.5.linux-amd64.tar.gz`) and execute the following command: ``` # rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz ``` ## Complete config.json Fill in the config.json file with sensitive information such as SMTP and IMAP server details, username, password, and a list of email addresses whitelist for filtering. ## Building ``` git clone https://gitee.com/dzm91_hust/KTestRobot cd KTBot make ./KTestRobot -config config.json ``` ## Configuration Explanation The `config.json` file contains the following fields: - `username`: The email account used to receive kernel patches. This field should be set to a email address, e.g., "ktestrobot@126.com" - `password`: The password used to log in the mail server. This field should be set to the email password - `procs`: The number of processes used for kernel compilation. This field should be set to a number. The default value is 20. - `interval`: The number of minites between two checks of the mail. This field should be set to a number. The default value is 20. - `whiteLists`: A list of email addresses that are considered as white-listed recipients. This field should be set to an array of email addresses - `mailinglist`: The mail list used to test the patch. This field should be set to a email address. The default value is "kernel_testing_robot@googlegroups.com"