Skip to content

TODO #2

@Abeautifulsnow

Description

@Abeautifulsnow
  • 判断本地已有git文件夹,直接退出
  • 优化gitclone.com的clone逻辑,根据其接口判断repo是否已被gitclone.com收录,如果没有退出该mirror
    • 后续可以使得不存在gitclone的项目,实现接口添加至gitclone中,方便日后直接从gitclone中下载。
    • 待定
  • 支持增加clone时其他git参数,比如--depth
  • 实现指定git文件或者release下载,可以用https://www.jsdelivr.com/作为cdn代理,拼接git文件链接快速下载
  • 给定的镜像host择优优先使用 #9
  • 美化输出,寻找解决方案
  • 增加cobra命令支持, 丰富功能
  • 将镜像网址与命令拼接方法写入config.yaml #11
  • 支持set_timeout,超时自动退出该host [待考虑]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions