90 Commits

Author SHA1 Message Date
xuezhixin
c7bb32e381 copy from unzip rpm diractory and system file to compatility diractory 2024-11-07 19:55:20 +08:00
xuezhixin
32aa59bb80 detection storage interface 2024-11-07 18:14:06 +08:00
xuezhixin
a01caa7948 detection basic information and format abi compatibility information to report 2024-11-07 17:58:23 +08:00
xuezhixin
12e275899e detection basic system information 2024-11-07 17:05:00 +08:00
xuezhixin
078b04f4d7 get os version and os id 2024-11-07 16:53:54 +08:00
xuezhixin
b935c7b204 count the total number of abi compatible lists 2024-11-07 15:08:39 +08:00
xuezhixin
926e8dc94c get package list from repository 2024-11-07 14:49:36 +08:00
xuezhixin
9060e7d447 interface for obtaining repo interface 2024-11-07 14:29:02 +08:00
xuezhixin
365b6e7f1c get package list downloaded locally from the software repository 2024-11-07 13:54:35 +08:00
xuezhixin
e1e9543180 get file list and provide file path to compare 2024-11-07 13:23:19 +08:00
xuezhixin
7217ab2eb4 add an abi comparation function 2024-11-07 11:20:33 +08:00
xuezhixin
fbc6c600fe check if file is binary 2024-11-07 10:37:50 +08:00
xuezhixin
9137fe5cf0 get checking envirnment process 2024-11-07 10:13:02 +08:00
xuezhixin
48b55ce530 get system package information in rpm database 2024-11-07 09:36:32 +08:00
xuezhixin
1cccbe8514 add compare with package result in abi report 2024-11-06 20:34:32 +08:00
xuezhixin
8129497998 add detection ELF content in abi file 2024-11-06 20:22:50 +08:00
xuezhixin
bc5cd849cb detection abi log 2024-11-06 20:05:44 +08:00
xuezhixin
9cfc77cfbc add four detection item to abi report 2024-11-06 19:50:00 +08:00
xuezhixin
467573055f add kernel detection result to abi report 2024-11-06 17:41:41 +08:00
xuezhixin
7d9d578d90 get detetion envirnmnet process insterface 2024-11-06 17:19:21 +08:00
xuezhixin
01490e647d abi basic data for reprt 2024-11-06 17:01:53 +08:00
xuezhixin
92a8793c4c modify detectyion envirnmnet interface 2024-11-06 16:15:49 +08:00
xuezhixin
d8386d00ef add envirnment detection interface before migration 2024-11-06 16:10:52 +08:00
xuezhixin
e72fc5cfb5 removed detection abi script 2024-11-06 15:55:43 +08:00
xuezhixin
8a6375a07a get repository detection result 2024-11-06 15:40:24 +08:00
xuezhixin
7542c3ccf4 increase the weight of abi detaction result 2024-11-06 15:24:28 +08:00
xuezhixin
3d56705456 add basic system detection information and updload the database 2024-11-06 15:08:11 +08:00
xuezhixin
e9b148c088 check free space in system disk 2024-11-06 14:48:20 +08:00
xuezhixin
4e9ba11237 add interface to check repository result 2024-11-06 14:26:12 +08:00
xuezhixin
f9e0e6cdd2 server send kernel detection task 2024-11-06 14:01:18 +08:00
xuezhixin
90bef33139 check kernel version in repository 2024-11-06 13:39:40 +08:00
xuezhixin
a8bf58375a agent sends task update request to the server 2024-11-06 13:25:16 +08:00
xuezhixin
be0b0d8ec8 modify repository file 2024-11-06 10:53:42 +08:00
xuezhixin
abe319a4c6 migrate in mutiple steps 2024-11-06 10:34:38 +08:00
xuezhixin
c355e004ec process os version and os name 2024-11-06 10:12:05 +08:00
xuezhixin
16f0a77fda get initial os_verion from agent_info infterface 2024-11-06 10:02:12 +08:00
xuezhixin
1354f67a2e get migration status from database 2024-11-06 09:54:31 +08:00
xuezhixin
244eb3df08 initial logfile and tmpfile 2024-11-06 09:24:17 +08:00
xuezhixin
124d12b9de repository file choose kernel version to migration 2024-11-05 21:59:07 +08:00
xuezhixin
1dfe4b6902 obtain kernel data 2024-11-05 21:44:37 +08:00
xuezhixin
e5cff45c11 add subprocess function and loggin 2024-11-05 21:09:44 +08:00
xuezhixin
0a3d9035fe add an interface to obtain kernrel information 2024-11-05 20:48:21 +08:00
xuezhixin
e5e74e7727 the migration process can choose not to migrate the kernel 2024-11-05 20:31:49 +08:00
xuezhixin
8560a779b9 add centos7 and centos8 migration interface 2024-11-05 20:18:39 +08:00
xuezhixin
e078f5df14 check system kernel 2024-11-05 19:59:43 +08:00
xuezhixin
95201eed94 add migration.py to migration function 2024-11-05 18:05:40 +08:00
xuezhixin
d8c3cb1db3 migration check and extract macros 2024-11-05 17:47:25 +08:00
xuezhixin
bc8496d079 system information import into the database after migration 2024-11-05 17:30:40 +08:00
xuezhixin
1da2dfe89d json and list format interchange 2024-11-05 17:20:05 +08:00
xuezhixin
787ec78f00 send agent task 2024-11-05 17:10:03 +08:00