提取repo的仓库和工作树

问题

从供应商处获取的.repo的git仓库裸(project-object)仓库和工作树(projects)是分开的。

解决方案

根据工作树的软链接路劲,将工作树合并到project-object下。

import os
import shutil
import argparse
import logging# 设置日志配置
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')def get_target_dir_from_symlink(symlink_path, base_dir):"""根据软链接获取目标目录"""if os.path.islink(symlink_path):target_relative_path = os.readlink(symlink_path)target_absolute_path = os.path.abspath(os.path.join(os.path.dirname(symlink_path), target_relative_path))# 去掉多余的 'objects' 目录部分target_dir = os.path.dirname(target_absolute_path)return os.path.relpath(target_dir, base_dir)logging.warning(f"No valid symlink found at {symlink_path}")return Nonedef copy_dirs_to_project_objects(base_dir, dirs_to_copy):projects_dir = os.path.join(base_dir, 'projects')project_objects_dir = os.path.join(base_dir, 'project-objects')# 遍历 projects 目录for root, dirs, files in os.walk(projects_dir):for dir_name in dirs:if dir_name.endswith('.git'):# 构建源路径source_git_dir = os.path.join(root, dir_name)objects_symlink = os.path.join(source_git_dir, 'objects')# 获取目标目录target_relative_path = get_target_dir_from_symlink(objects_symlink, base_dir)if target_relative_path:target_git_dir = os.path.join(base_dir, target_relative_path)for dir_to_copy in dirs_to_copy:source_dir = os.path.join(source_git_dir, dir_to_copy)target_dir = os.path.join(target_git_dir, dir_to_copy)# 确保目标目录存在os.makedirs(os.path.dirname(target_dir), exist_ok=True)# 复制目录if os.path.exists(source_dir):shutil.rmtree(target_dir, ignore_errors=True)shutil.copytree(source_dir, target_dir)logging.info(f"Copied {source_dir} to {target_dir}")else:logging.warning(f"Source directory {source_dir} does not exist")else:logging.warning(f"No valid symlink found for {source_git_dir}")if __name__ == "__main__":parser = argparse.ArgumentParser(description='Copy refs and logs directories to project-objects based on symlinks.')parser.add_argument('repo_dir', type=str, help='The absolute path to the .repo directory')args = parser.parse_args()base_dir = args.repo_dirdirs_to_copy = ['refs', 'logs']copy_dirs_to_project_objects(base_dir, dirs_to_copy)
python3 copy_dirs.py /absolute/path/to/.repo

日志

gituser@vmware:~$ python3 copy_dirs.py /home/gituser/repo_path/.repo/
2024-11-17 18:33:14,032 - INFO - Copied /home/gituser/repo_path/.repo/projects/buildroot.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/buildroot.git/refs
2024-11-17 18:33:14,033 - INFO - Copied /home/gituser/repo_path/.repo/projects/buildroot.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/buildroot.git/logs
2024-11-17 18:33:14,033 - INFO - Copied /home/gituser/repo_path/.repo/projects/kernel.git/refs to /home/gituser/repo_path/.repo/project-objects/rk/kernel.git/refs
2024-11-17 18:33:14,034 - INFO - Copied /home/gituser/repo_path/.repo/projects/kernel.git/logs to /home/gituser/repo_path/.repo/project-objects/rk/kernel.git/logs
2024-11-17 18:33:14,034 - INFO - Copied /home/gituser/repo_path/.repo/projects/rkbin.git/refs to /home/gituser/repo_path/.repo/project-objects/rk/rkbin.git/refs
2024-11-17 18:33:14,035 - INFO - Copied /home/gituser/repo_path/.repo/projects/rkbin.git/logs to /home/gituser/repo_path/.repo/project-objects/rk/rkbin.git/logs
2024-11-17 18:33:14,035 - INFO - Copied /home/gituser/repo_path/.repo/projects/docs.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/bsp/docs.git/refs
2024-11-17 18:33:14,036 - INFO - Copied /home/gituser/repo_path/.repo/projects/docs.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/bsp/docs.git/logs
2024-11-17 18:33:14,036 - INFO - Copied /home/gituser/repo_path/.repo/projects/u-boot.git/refs to /home/gituser/repo_path/.repo/project-objects/android/rk/u-boot.git/refs
2024-11-17 18:33:14,037 - INFO - Copied /home/gituser/repo_path/.repo/projects/u-boot.git/logs to /home/gituser/repo_path/.repo/project-objects/android/rk/u-boot.git/logs
2024-11-17 18:33:14,037 - INFO - Copied /home/gituser/repo_path/.repo/projects/debian.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/debian.git/refs
2024-11-17 18:33:14,038 - INFO - Copied /home/gituser/repo_path/.repo/projects/debian.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/debian.git/logs
2024-11-17 18:33:14,038 - INFO - Copied /home/gituser/repo_path/.repo/projects/tools.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/tools.git/refs
2024-11-17 18:33:14,039 - INFO - Copied /home/gituser/repo_path/.repo/projects/tools.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/tools.git/logs
2024-11-17 18:33:14,039 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/libIPCProtocol.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app-new/LibIPCProtocol.git/refs
2024-11-17 18:33:14,040 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/libIPCProtocol.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app-new/LibIPCProtocol.git/logs
2024-11-17 18:33:14,040 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/qsetting.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/settings.git/refs
2024-11-17 18:33:14,041 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/qsetting.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/settings.git/logs
2024-11-17 18:33:14,041 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/libgdbus.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/libgdbus.git/refs
2024-11-17 18:33:14,042 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/libgdbus.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/libgdbus.git/logs
2024-11-17 18:33:14,042 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/qfm.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app-new/qfm.git/refs
2024-11-17 18:33:14,043 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/qfm.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app-new/qfm.git/logs
2024-11-17 18:33:14,043 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/qplayer.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/qplayer.git/refs
2024-11-17 18:33:14,044 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/qplayer.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/qplayer.git/logs
2024-11-17 18:33:14,044 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/QLauncher.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/QLauncher.git/refs
2024-11-17 18:33:14,045 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/QLauncher.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/QLauncher.git/logs
2024-11-17 18:33:14,045 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/multivideoplayer.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/multivideoplayer.git/refs
2024-11-17 18:33:14,046 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/multivideoplayer.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/multivideoplayer.git/logs
2024-11-17 18:33:14,046 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/rkaiq_tool_server.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/rkaiq_tool_server.git/refs
2024-11-17 18:33:14,047 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/rkaiq_tool_server.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/rkaiq_tool_server.git/logs
2024-11-17 18:33:14,047 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/librkdb.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/librkdb.git/refs
2024-11-17 18:33:14,048 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/librkdb.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/librkdb.git/logs
2024-11-17 18:33:14,048 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/dbserver.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/dbserver.git/refs
2024-11-17 18:33:14,048 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/dbserver.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/dbserver.git/logs
2024-11-17 18:33:14,049 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/qcamera.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/qcamera.git/refs
2024-11-17 18:33:14,049 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/qcamera.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/qcamera.git/logs
2024-11-17 18:33:14,050 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/eptz_demo.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/eptz_demo.git/refs
2024-11-17 18:33:14,050 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/eptz_demo.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/eptz_demo.git/logs
2024-11-17 18:33:14,051 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/aiserver.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/app/aiserver.git/refs
2024-11-17 18:33:14,051 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/aiserver.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/app/aiserver.git/logs
2024-11-17 18:33:14,052 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/alientek/qt_demo.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/alientek/qt_demo.git/refs
2024-11-17 18:33:14,052 - INFO - Copied /home/gituser/repo_path/.repo/projects/app/alientek/qt_demo.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/alientek/qt_demo.git/logs
2024-11-17 18:33:14,056 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-openembedded.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-openembedded.git/refs
2024-11-17 18:33:14,056 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-openembedded.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-openembedded.git/logs
2024-11-17 18:33:14,057 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-rockchip.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-rockchip.git/refs
2024-11-17 18:33:14,057 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-rockchip.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-rockchip.git/logs
2024-11-17 18:33:14,058 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-clang.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-clang.git/refs
2024-11-17 18:33:14,058 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-clang.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-clang.git/logs
2024-11-17 18:33:14,059 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/poky.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/poky.git/refs
2024-11-17 18:33:14,060 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/poky.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/poky.git/logs
2024-11-17 18:33:14,060 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-browser.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-browser.git/refs
2024-11-17 18:33:14,061 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-browser.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-browser.git/logs
2024-11-17 18:33:14,061 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-qt5.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-qt5.git/refs
2024-11-17 18:33:14,062 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/meta-qt5.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/yocto/meta-qt5.git/logs
2024-11-17 18:33:14,062 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/build/conf.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/build.git/refs
2024-11-17 18:33:14,063 - INFO - Copied /home/gituser/repo_path/.repo/projects/yocto/build/conf.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/build.git/logs
2024-11-17 18:33:14,065 - INFO - Copied /home/gituser/repo_path/.repo/projects/docs/.Socs.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/bsp/internal_doc.git/refs
2024-11-17 18:33:14,066 - INFO - Copied /home/gituser/repo_path/.repo/projects/docs/.Socs.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/bsp/internal_doc.git/logs
2024-11-17 18:33:14,066 - INFO - Copied /home/gituser/repo_path/.repo/projects/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.git/refs to /home/gituser/repo_path/.repo/project-objects/rk/prebuilts/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.git/refs
2024-11-17 18:33:14,067 - INFO - Copied /home/gituser/repo_path/.repo/projects/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.git/logs to /home/gituser/repo_path/.repo/project-objects/rk/prebuilts/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.git/logs
2024-11-17 18:33:14,067 - INFO - Copied /home/gituser/repo_path/.repo/projects/prebuilts/gcc/linux-x86/aarch64/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu.git/refs to /home/gituser/repo_path/.repo/project-objects/rk/prebuilts/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu.git/refs
2024-11-17 18:33:14,068 - INFO - Copied /home/gituser/repo_path/.repo/projects/prebuilts/gcc/linux-x86/aarch64/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu.git/logs to /home/gituser/repo_path/.repo/project-objects/rk/prebuilts/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu.git/logs
2024-11-17 18:33:14,069 - INFO - Copied /home/gituser/repo_path/.repo/projects/device/rockchip.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/device/rockchip.git/refs
2024-11-17 18:33:14,069 - INFO - Copied /home/gituser/repo_path/.repo/projects/device/rockchip.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/device/rockchip.git/logs
2024-11-17 18:33:14,070 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/alsa-config.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/alsa-config.git/refs
2024-11-17 18:33:14,071 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/alsa-config.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/alsa-config.git/logs
2024-11-17 18:33:14,071 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rkfacial.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/rkfacial.git/refs
2024-11-17 18:33:14,072 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rkfacial.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/rkfacial.git/logs
2024-11-17 18:33:14,073 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rknpu2.git/refs to /home/gituser/repo_path/.repo/project-objects/rk/rknpu2.git/refs
2024-11-17 18:33:14,073 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rknpu2.git/logs to /home/gituser/repo_path/.repo/project-objects/rk/rknpu2.git/logs
2024-11-17 18:33:14,074 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/linux-rga.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/linux-rga.git/refs
2024-11-17 18:33:14,074 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/linux-rga.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/linux-rga.git/logs
2024-11-17 18:33:14,075 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/uac_app.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/uac_app.git/refs
2024-11-17 18:33:14,075 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/uac_app.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/uac_app.git/logs
2024-11-17 18:33:14,075 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rkscript.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/rkscript.git/refs
2024-11-17 18:33:14,076 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rkscript.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/rkscript.git/logs
2024-11-17 18:33:14,076 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/update_engine.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/update_engine.git/refs
2024-11-17 18:33:14,077 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/update_engine.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/update_engine.git/logs
2024-11-17 18:33:14,077 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rkupdate.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/rkupdate.git/refs
2024-11-17 18:33:14,078 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rkupdate.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/rkupdate.git/logs
2024-11-17 18:33:14,078 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/bluetooth_bsa.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/bsp/external/bluetooth_bsa.git/refs
2024-11-17 18:33:14,079 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/bluetooth_bsa.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/bsp/external/bluetooth_bsa.git/logs
2024-11-17 18:33:14,079 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/mpp.git/refs to /home/gituser/repo_path/.repo/project-objects/rk/mpp.git/refs
2024-11-17 18:33:14,080 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/mpp.git/logs to /home/gituser/repo_path/.repo/project-objects/rk/mpp.git/logs
2024-11-17 18:33:14,080 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/libmali.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/libmali.git/refs
2024-11-17 18:33:14,081 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/libmali.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/libmali.git/logs
2024-11-17 18:33:14,081 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/avb.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/avb.git/refs
2024-11-17 18:33:14,081 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/avb.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/avb.git/logs
2024-11-17 18:33:14,082 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/ble_wificonfig.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/ble_wificonfig.git/refs
2024-11-17 18:33:14,082 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/ble_wificonfig.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/ble_wificonfig.git/logs
2024-11-17 18:33:14,083 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/broadcom_bsa.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/bsp/external/broadcom_bsa.git/refs
2024-11-17 18:33:14,083 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/broadcom_bsa.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/bsp/external/broadcom_bsa.git/logs
2024-11-17 18:33:14,084 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/chromium.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/chromium.git/refs
2024-11-17 18:33:14,084 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/chromium.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/chromium.git/logs
2024-11-17 18:33:14,085 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/uvc_app.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/uvc_app.git/refs
2024-11-17 18:33:14,085 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/uvc_app.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/uvc_app.git/logs
2024-11-17 18:33:14,086 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/minilogger.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/minilogger.git/refs
2024-11-17 18:33:14,086 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/minilogger.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/minilogger.git/logs
2024-11-17 18:33:14,087 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rktoolkit.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/rktoolkit.git/refs
2024-11-17 18:33:14,087 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rktoolkit.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/rktoolkit.git/logs
2024-11-17 18:33:14,088 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/bluez-alsa.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/bluez-alsa.git/refs
2024-11-17 18:33:14,088 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/bluez-alsa.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/bluez-alsa.git/logs
2024-11-17 18:33:14,089 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rkwifibt.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/rkwifibt.git/refs
2024-11-17 18:33:14,089 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rkwifibt.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/rkwifibt.git/logs
2024-11-17 18:33:14,090 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/recovery.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/recovery.git/refs
2024-11-17 18:33:14,090 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/recovery.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/recovery.git/logs
2024-11-17 18:33:14,091 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/deviceio_release.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/deviceio_release.git/refs
2024-11-17 18:33:14,091 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/deviceio_release.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/deviceio_release.git/logs
2024-11-17 18:33:14,092 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/eq_drc_process.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/eq_drc_process.git/refs
2024-11-17 18:33:14,092 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/eq_drc_process.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/eq_drc_process.git/logs
2024-11-17 18:33:14,093 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rknn-toolkit2.git/refs to /home/gituser/repo_path/.repo/project-objects/rk/rknn-toolkit2.git/refs
2024-11-17 18:33:14,093 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rknn-toolkit2.git/logs to /home/gituser/repo_path/.repo/project-objects/rk/rknn-toolkit2.git/logs
2024-11-17 18:33:14,094 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rk_pcba_test.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/rk_pcba_test.git/refs
2024-11-17 18:33:14,094 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rk_pcba_test.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/rk_pcba_test.git/logs
2024-11-17 18:33:14,095 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/quectel_QConnectManager.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/quectel_QConnectManager.git/refs
2024-11-17 18:33:14,095 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/quectel_QConnectManager.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/quectel_QConnectManager.git/logs
2024-11-17 18:33:14,096 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/common_algorithm.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/common_algorithm.git/refs
2024-11-17 18:33:14,096 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/common_algorithm.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/common_algorithm.git/logs
2024-11-17 18:33:14,096 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/libglCompositor.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/libglCompositor.git/refs
2024-11-17 18:33:14,097 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/libglCompositor.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/libglCompositor.git/logs
2024-11-17 18:33:14,097 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/camera_engine_rkaiq.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/camera_engine_rkaiq.git/refs
2024-11-17 18:33:14,098 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/camera_engine_rkaiq.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/camera_engine_rkaiq.git/logs
2024-11-17 18:33:14,098 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rockit.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/rockit.git/refs
2024-11-17 18:33:14,099 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/rockit.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/rockit.git/logs
2024-11-17 18:33:14,099 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/gstreamer-rockchip.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/gstreamer-rockchip.git/refs
2024-11-17 18:33:14,100 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/gstreamer-rockchip.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/gstreamer-rockchip.git/logs
2024-11-17 18:33:14,100 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/isp2-ipc.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/isp2-ipc.git/refs
2024-11-17 18:33:14,101 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/isp2-ipc.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/isp2-ipc.git/logs
2024-11-17 18:33:14,101 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/CallFunIpc.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/external/CallFunIpc.git/refs
2024-11-17 18:33:14,102 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/CallFunIpc.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/external/CallFunIpc.git/logs
2024-11-17 18:33:14,106 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/security/bin.git/refs to /home/gituser/repo_path/.repo/project-objects/linux/security/bin.git/refs
2024-11-17 18:33:14,107 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/security/bin.git/logs to /home/gituser/repo_path/.repo/project-objects/linux/security/bin.git/logs
2024-11-17 18:33:14,107 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/security/rk_tee_user.git/refs to /home/gituser/repo_path/.repo/project-objects/android/rk/platform/system/rk_tee_user.git/refs
2024-11-17 18:33:14,108 - INFO - Copied /home/gituser/repo_path/.repo/projects/external/security/rk_tee_user.git/logs to /home/gituser/repo_path/.repo/project-objects/android/rk/platform/system/rk_tee_user.git/logs
gituser@vmware:~$

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.xdnf.cn/news/18160.html

如若内容造成侵权/违法违规/事实不符,请联系一条长河网进行投诉反馈,一经查实,立即删除!

相关文章

【蓝牙协议栈】【BLE】【BAS】精讲蓝牙电池服务

1. 蓝牙电池服务(Bluetooth Battery Service)概念 蓝牙电池服务是蓝牙设备与其他设备通信时用于报告其剩余电池电量的标准服务。它让用户能够随时了解蓝牙设备(如无线耳机、智能手表、蓝牙鼠标/键盘等)的电池状态,从而方便地管理这些设备的续航与电源使用。 BAS通常用于在…

dnaMethyAge包学习笔记

1.introduction 许多对甲基化年龄进行计算的文章都是采用网站实现计算的,能够实现对甲基化年龄的计算的R包相对比较少,其中应用最广的是dnaMethyAge包。作者本想寻找能够计算Grimage和Grimage2的R包,奈何没有寻找到,因此只能记录一…

详解八大排序(四)------(归并排序)

文章目录 前言:1 递归版本(MergeSort)1.1 核心思路1.2 实现代码 2 非递归版本(MergeSortNonR)2.1 核心思路2.2 实现代码 3.完整代码 前言: 归并排序的核心思路是把数组里面的数两两分成一组,组内…

商城小程序的流程渠道拓展

传统印象里,小程序的开发制作似乎很难,尤其是商城类型且功能体系完善的,事实也确实如此,没有较高的技术和成本投入或团队各个流程的专业人员合作,很难开发出来成品,或者质量较低。 当然对于大公司来说&…

小程序-基于java+SpringBoot+Vue的超市购物系统设计与实现

项目运行 1.运行环境:最好是java jdk 1.8,我们在这个平台上运行的。其他版本理论上也可以。 2.IDE环境:IDEA,Eclipse,Myeclipse都可以。推荐IDEA; 3.tomcat环境:Tomcat 7.x,8.x,9.x版本均可 4.硬件环境&#xff1a…

Android开发-Pokémon界面设计

实现效果图,还没更新完 二、功能说明: 在上次实验的基础之上把recycleviewb列表完善并且增加点击效果,点击之后可以跳转到另外一个activity上,并且添加返回按钮,可以放回原列表页面,列表中的每一行都对应的…

jenkins的安装(War包安装)

‌Jenkins是一个开源的持续集成工具,基于Java开发,主要用于监控持续的软件版本发布和测试项目。‌ 它提供了一个开放易用的平台,使软件项目能够实现持续集成。Jenkins的功能包括持续的软件版本发布和测试项目,以及监控外部调用执行…

HopToDesk 安全加密、免费开源,远程桌面新选择!

远程桌面工具越来越成为现代工作生活的刚需。你是否还在为寻找一个既安全又免费的工具而苦恼?HopToDesk,一款支持安全加密、免费开源的远程桌面软件,或许正是你的不二之 HopToDesk与传统的远程桌面工具相比有哪些独特优势?它如何…

yum工具的学习

Linux下安装软件的方法 1.源代码安装 2.rmp包安装 3.包管理器进行安装 --- yum/apt Linux下载软件的过程 操作系统的好坏评估 -- 生态问题 yum具体操作 Linux软件安装所有人都能用,是以other的身份去执行可执行程序 文件拷贝(sudo)-- &g…

react 如何修改弹出的modal的标题

原来标题的样子&#xff1a; 修改为&#xff1a; 实现方式&#xff1a; <Modal title<span>股价趋势/{this.state.pccode}</span> visible{this.state.isPriceModalOpen} style{{ top: 20 }} width{1320} height{400} footer{null} onCancel{()>this.hideMo…

计算机网络-理论部分(一):概览

重点 计算机网络的重点是协议&#xff0c;各种协议&#xff0c;每种协议都有自己对应的应用场景以及对应功能&#xff0c;学好协议&#xff0c;就学好了计算机努网络。 协议分层 协议分层围绕数据的传递展开。数据的传递需要包括&#xff1a;打包数据&#xff0c;控制传递&a…

开源科学工程技术软件介绍 – EDA工具KLayout

link 今天向各位知友介绍的 KLayout是一款由德国团队开发的开源EDA工具。 KLayout是使用C开发的&#xff0c;用户界面基于Qt。它支持Windows、MacOS和Linux操作系统。安装程序可以从下面的网址下载&#xff1a; https://www.klayout.de/build.html KLayout图形用户界面&…

SpringMVC的视图

目录 一.视图分类 &#xff08;1&#xff09;转发视图&#xff08;Forward View&#xff09;&#xff1a; &#xff08;2&#xff09;重定向视图&#xff08;Redirect View&#xff09;&#xff1a; &#xff08;3&#xff09;其他视图技术 二.转发视图 三.重定向视图 四…

Spring IOCDI

1. 什么是Spring 前面介绍了Spring Boot&#xff0c;Spring MVC&#xff0c;那么Spring和他们之间有什么关系呢&#xff1f; Spring简单一句话总结就是&#xff1a;它是一个包含众多工具方法的IOC容器。前面我们也接触过容器&#xff0c;比如List/Map&#xff0c;他俩是数据存…

螺旋矩阵II(leetcode 59)

转圈过程&#xff08;边界处理&#xff09;遵循循环不变量的原则&#xff0c;坚持一个原则处理每一条边&#xff0c;左闭右开处理 class Solution { public:vector<vector<int>> generateMatrix(int n) {vector<vector<int>> num(n, vector<int>…

Vue 中的透传,插槽,依赖注入

1. 透传attributes 在组件上使用透传attribute&#xff1a; 当你在父组件中使用子组件时&#xff0c;你可以添加一些attribute到子组件上&#xff0c;即使这些attribute没有在子组件的props中声明。 父组件&#xff1a; <!-- 父组件&#xff0c;例如 ParentComponent.vue…

基于K8S1.28.2实验rook部署ceph

基于K8S1.28.2实验rook部署ceph 原文链接&#xff1a; 基于K8S1.28.2实验rook部署ceph | 严千屹博客 Rook 支持 Kubernetes v1.22 或更高版本。 rook版本1.12.8 K8S版本1.28.2 部署出来ceph版本是quincy版本 主机名ip1(NAT)系统新硬盘磁盘内存master1192.168.48.101Centos7.910…

node.js中express的基本了解

定义 Express是基于Node.js平台&#xff0c;快速、开放、极简的Web开发框架。 本质 Express是一个npm上的第三方包&#xff0c;提供了快速创建Web服务器的便捷方法。 作用 与Node.js内置的http模块类似&#xff0c;Express也是专门用来创建Web服务器的&#xff0c;但它极大地简…

容器运行时 AND Docker

容器运行时 and Docker 什么是Docker Docker 使用 Google 公司推出的 Go 语言 进行开发实现&#xff0c;基于 Linux 内核的 cgroup&#xff0c;namespace&#xff0c;以及 AUFS 类的 Union FS 等技术&#xff0c;对进程进行封装隔离&#xff0c;属于 操作系统层面的虚拟化技术…

基于Python深度学习的【垃圾识别系统】实现~TensorFlow+人工智能+算法网络

一、介绍 垃圾识别分类系统。本系统采用Python作为主要编程语言&#xff0c;通过收集了5种常见的垃圾数据集&#xff08;‘塑料’, ‘玻璃’, ‘纸张’, ‘纸板’, ‘金属’&#xff09;&#xff0c;然后基于TensorFlow搭建卷积神经网络算法模型&#xff0c;通过对图像数据集进…