提取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 None

def 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_dir
    dirs_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:~$

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

C++ Primer习题集----题目+答案版

具体源码请见:Cprimer习题上半部分资源-CSDN文库 目录 第一章 开始 练习1.1 编写程序,在标准输出上打印Hello.world 练习1.2 我们的程序使用加法运算符来将两个数相加。编写程序使用乘法运算符*,来打印两个数的积。 练习1.4 编译一个包…

Zookeeper的简单使用Centos环境下

目录 前言 一、ZOokeeper是什么? 二、安装Zookeeper 1.进入官网下载 2.解压到服务器 3.配置文件 三.使用Zookeeper 3.1启动相关指令 3.2其他指令 3.3ACL权限 总结 前言 记录下安装zookeeper的一次经历 一、ZOokeeper是什么? ZooKeeper是一…

【Linux】————多线程(概念及控制)

作者主页: 作者主页 本篇博客专栏:Linux 创作时间 :2024年11月19日 再谈地址空间: OS对内存进行管理不是根据字节为单位,以字节为单位效率过低,是以内存块为单位的,一个内存块的大小一般为4…

蓝桥杯每日真题 - 第17天

题目:(最大数字) 题目描述(13届 C&C B组D题) 题目分析: 操作规则: 1号操作:将数字加1(如果该数字为9,变为0)。 2号操作:将数字…

视频融合×室内定位×数字孪生

随着物联网技术的迅猛发展,室内定位与视频融合技术在各行各业中得到了广泛应用。不仅能够提供精确的位置信息,还能通过实时视频监控实现全方位数据的可视化。 与此同时,数字孪生等技术的兴起为智慧城市、智慧工厂等应用提供了强大支持&#…

SIMCom芯讯通A7680C在线升级:FTP升级成功;http升级腾讯云对象储存的文件失败;http升级私有服务器的文件成功

从事嵌入式单片机的工作算是符合我个人兴趣爱好的,当面对一个新的芯片我即想把芯片尽快搞懂完成项目赚钱,也想着能够把自己遇到的坑和注意事项记录下来,即方便自己后面查阅也可以分享给大家,这是一种冲动,但是这个或许并不是原厂希望的,尽管这样有可能会牺牲一些时间也有哪天原…

前端访问后端实现跨域

背景&#xff1a;前端在抖音里做了一个插件然后访问我们的后端。显然在抖音访问其他域名肯定会跨域。 解决办法&#xff1a; 1、使用比较简单的jsonp JSONP 优点&#xff1a;JSONP 是通过动态创建 <script> 标签的方式加载外部数据&#xff0c;属于跨域数据请求的一种…

网络安全-web架构-nginx配置

1. nginx访问&#xff1a; 访问的是index.html&#xff0c; 访问ip访问的资源就是在/usr/share/nginx/html中&#xff1b; 当nginx不认识&#xff0c;浏览器认识的话&#xff0c;浏览器会自动渲染。 当nginx认识&#xff0c;浏览器不认识的话&#xff0c;浏览器会把它加载成…

内网穿透(组网)成功率高、部署简单

【背景】 公司有服务器&#xff0c;或者公司的电脑配置比自己家里的笔记本高&#xff0c;如果要配置外网穿透&#xff0c;就太麻烦&#xff0c;而且也不安全&#xff0c;局域网组网就相对来说既简单&#xff0c;又安全好多。 ​【介绍】 节点小宝是拥有一套完整的自主研发 P2…

【设计模式】行为型模式(四):备忘录模式、中介者模式

《设计模式之行为型模式》系列&#xff0c;共包含以下文章&#xff1a; 行为型模式&#xff08;一&#xff09;&#xff1a;模板方法模式、观察者模式行为型模式&#xff08;二&#xff09;&#xff1a;策略模式、命令模式行为型模式&#xff08;三&#xff09;&#xff1a;责…

Java从入门到精通笔记篇(十三)

与流处理 ambda表达式 定义 lambda表达式不能被独立执行&#xff0c;因此必须实现函数式接口&#xff0c;并且会返回一个函数式接口的对象。 可将其语法用下列的方式理解 误区警示 “->”符号是由英文状态下的“-”和“>”组成的&#xff0c;符号之间没有空格。 lambd…

阅读2020-2023年《国外军用无人机装备技术发展综述》笔记_技术趋势

目录 文献基本信息 序言 1 发展概况 2 重点技术发展 2.1 人工智能技术 2.1.1 应用深化 2.1.2 作战效能提升 2.2 航空技术 2.2.1螺旋桨设计创新 2.2.2 发射回收技术进步 2.3 其他相关技术 2.3.1 远程控制技术探 2.3.2 云地控制平台应用 3 装备系统进展 3.1 无人作…

VuePress+Github 部署一个零成本静态站点(博客)

VuePress链接:Home | VuePress (vuejs.org)https://vuepress.vuejs.org/ 一.运行环境准备 需要准备安装VSCode(编辑器)和前端运行环境(nvm,node.js和npm) VSCod安装链接:Visual Studio Code - Code Editing. Redefinedhttps://code.visualstudio.com/前端环境:注意需要先安装…

脚手架vue-cli,webpack模板

先安装node.js&#xff0c;它是服务器端&#xff0c;用于给页面提供服务。前端学习不需要会node.js&#xff0c;只需要学会node.js衍生出来的npm命令即可。 npm 是node.js的一个工具&#xff0c;作用是进行包管理&#xff0c;npm是node.js的包管理器。 接着安装脚手架&#xff…

ODOO学习笔记(12):自定义模块开发

一、Odoo模块结构基础 基本目录结构 Odoo自定义模块通常有一个特定的目录结构。一个典型的模块目录包含以下文件和文件夹&#xff1a; __init__.py&#xff1a;这是一个Python模块初始化文件。它使得该目录被视为一个Python模块。在这个文件中&#xff0c;你可以通过from. impo…

在 Sui 区块链上创建、部署与测试自定义 Move 合约的完整教程

系列文章目录&#x1f60a; Task1&#xff1a;hello_move Task2&#xff1a;move_coin 目录 系列文章目录&#x1f60a;引言一、更新本地代码1、查看当前项目的远程仓库信息。2、将远程仓库的最新代码同步到本地的代码分支 二、创建一个新的 Move 项目三、编写合约代码1、编写…

【数据结构】归并排序 —— 递归及非递归解决归并排序

归并排序 一、归并排序1、归并排序的思想2、归并排序代码实现&#xff08;递归&#xff09;<1> 归并排序的递归区间<2> 归并排序的稳定性<3> 拷贝 3、归并排序代码实现&#xff08;非递归&#xff09;<1> 循环区间溢出问题 二、总结 一、归并排序 1、…

单片机学习笔记 6. 数码管动态显示

更多单片机学习笔记&#xff1a;单片机学习笔记 1. 点亮一个LED灯单片机学习笔记 2. LED灯闪烁单片机学习笔记 3. LED灯流水灯单片机学习笔记 4. 蜂鸣器滴~滴~滴~单片机学习笔记 5. 数码管静态显示 目录 0、实现的功能 1、Keil工程 1-1 数码管动态显示 1-2 数组的定义与引用…

go 学习网站,go例子 go demo go学习视频

1. 代码例子&#xff1a; Go by Example 2. b站 视频&#xff1a; 尚硅谷视频&#xff1a; 004_尚硅谷_程序的基本概念_哔哩哔哩_bilibili 3. go技术文档&#xff1a; fmt Go语言中文文档

MySQL(5)【数据类型 —— 字符串类型】

阅读导航 引言一、char&#x1f3af;基本语法&#x1f3af;使用示例 二、varchar&#x1f3af;基本语法&#x1f3af;使用示例 三、char 和 varchar 比较四、日期和时间类型1. 基本概念2. 使用示例 五、enum 和 set&#x1f3af;基本语法 引言 之前我们聊过MySQL中的数值类型&…