# tags **Repository Path**: jiyong_sd/tags ## Basic Information - **Project Name**: tags - **Description**: openharmony社区非官方tag记录 - **Primary Language**: XML - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2022-09-28 - **Last Updated**: 2022-09-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tags #### 介绍 OpenHarmony社区代码每日tag点,无任何检查, 仅静态事实记录仓库凌晨状态 #### 请注意,**非官方tag,使用前请慎重** #### Tag日历图, 选择需要的时间点击tag进入 - 新页面使用ssh方式的init下载命令搜索,例如:git@gitee.com:openharmony/manifest - 进入具体月份后如果存在local 与 remote, 两个xml理论上内容无区别, 如果有差异, 以remote为准, xml生成方式区别如下: - local: repo sync代码, 使用repo manifest -ro {tag_name}.xml 生成 - remote: 使用git ls-remote获取的远程commit节点生成 | | 1月 | 2月 | 3月 | 4月 | 5月 | 6月 | 7月 | 8月 | 9月 | 10月 | 11月 | 12月 | | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ------------------------------------- | ---- | ---- | ---- | ---- | | 2021 | / | / | / | / | / | / | / | [tags](README/2021/README_2021-08.md) | [tags](README/2021/README_2021-09.md)| [tags](README/2021/README_2021-10.md) | [tags](README/2021/README_2021-11.md)| [tags](README/2021/README_2021-12.md)| | 2022 | [tags](README/2022/README_2022-01.md)| [tags](README/2022/README_2022-02.md)| [tags](README/2022/README_2022-03.md)| [tags](README/2022/README_2022-04.md)| [tags](README/2022/README_2022-05.md)| [tags](README/2022/README_2022-06.md)| [tags](README/2022/README_2022-07.md)| [tags](README/2022/README_2022-08.md)| [tags](README/2022/README_2022-09.md)| [tags](README/2022/README_2022-10.md)| [tags](README/2022/README_2022-11.md)| [tags](README/2022/README_2022-12.md)| | 2023 | [tags](README/2023/README_2023-01.md)| [tags](README/2023/README_2023-02.md)| [tags](README/2023/README_2023-03.md)| [tags](README/2023/README_2023-04.md)| [tags](README/2023/README_2023-05.md)| [tags](README/2023/README_2023-06.md)| [tags](README/2023/README_2023-07.md)| [tags](README/2023/README_2023-08.md)| [tags](README/2023/README_2023-09.md)| [tags](README/2023/README_2023-10.md)| [tags](README/2023/README_2023-11.md)| [tags](README/2023/README_2023-12.md)| | 2024 | [tags](README/2024/README_2024-01.md)| [tags](README/2024/README_2024-02.md)| [tags](README/2024/README_2024-03.md)| [tags](README/2024/README_2024-04.md)| [tags](README/2024/README_2024-05.md)| [tags](README/2024/README_2024-06.md)| [tags](README/2024/README_2024-07.md)| [tags](README/2024/README_2024-08.md)| [tags](README/2024/README_2024-09.md)| [tags](README/2024/README_2024-10.md)| [tags](README/2024/README_2024-11.md)| [tags](README/2024/README_2024-12.md)| | 2025 | [tags](README/2025/README_2025-01.md)| [tags](README/2025/README_2025-02.md)| [tags](README/2025/README_2025-03.md)| [tags](README/2025/README_2025-04.md)| [tags](README/2025/README_2025-05.md)| [tags](README/2025/README_2025-06.md)| [tags](README/2025/README_2025-07.md)| [tags](README/2025/README_2025-08.md)| [tags](README/2025/README_2025-09.md)| [tags](README/2025/README_2025-10.md)| [tags](README/2025/README_2025-11.md)| [tags](README/2025/README_2025-12.md)| #### 如何使用 - 下载需要的xml文件 - 使用任意repo init命令初始化工作目录 - 删除.repo/manifest.xml软连接 - 将下载的xml移动&重命名为.repo/manifest.xml - 正常`repo sync -c`, `repo forall -c 'git lfs pull'` ##### 懒人"一键使用" 请修改xml_file值为想要使用的tag xml文件路径(直接URL复制),然后将所有的内容粘贴到linux terminal命令行界面 ``` # 要使用那个xml,将xml URL路径填到下面 xml_file= xml_file_raw=${xml_file/\/blob\//\/raw\/}} # 随便用一个init命令初始化 repo init -u https://gitee.com/openharmony/manifest.git -b master --no-repo-verify --no-clone-bundle # 伪造.repo/manifest.xml unix_time=`date '+%s'` if [ -f .repo/manifest.xml ];then mv .repo/manifest.xml .repo/manifest_${unix_time}.xml;fi curl -s -k ${xml_file_raw}>.repo/manifest.xml # 正常同步代码 repo sync -c;repo forall -c 'git lfs pull' # 最后有个回车, 不复制就手敲Enter ``` #### 如何添加新的init命令 - 提交提交issue,提供init命令以及命令描述