Yikun Jiang

Results 30 issues of Yikun Jiang

因为对于gitee/github API的有可能超时,应该新加入类似api_timeout的参数,控制api的超时。 本身有个参数是timeout,主要是用于git操作的timeout。

feature

git push -f github refs/remotes/origin/*:refs/heads/* --tags --prune,这么推送可能会漏标签, 应该是推refs/heads//*一次, 推refs/tags/*一次 --prune 这个参数会删除远端 本地不存在的分支 典型情况: 1. master 做A事情,dev做B事情 2. 两条分支分别打标签master_tag dev_tag 3. dev废弃了,删除分支 (此时存在的分支,均与dev_tag无关) 用你上面的命令会把dev_tag漏掉 Try: ``` git push -f github refs/remotes/origin/*:refs/heads/*...

feature

github后台存储的时候都是以裸仓存储的,git clone --mirror下载的就是裸仓数据,没有工作区,相比较不带--mirror, 不需要checkout到工作区+工作区0占用空间, 效率跟磁盘使用都有提升

feature

比如:关闭仓库的issue

feature

自动同步repo的about 新增参数: `set_about` or `sync_about`

feature
priority/high

Related: https://github.com/Yikun/hub-mirror-action/issues/100

priority/low

看到[kanetz 的分支](https://github.com/kanetz/hub-mirror-action/commits/master),里面有一些关于ssh超时、稳定性提升的贡献。 是否愿意将这些贡献到上游呢?(可以解释下每个修改的意义,遇到了什么问题,问什么这样做),感谢~ cc @kanetz

feature

目前,在查询源端列表的时候,会通过api接口,api接口有流控,每个接口是60次每小时。 所以可以引入src_token,做token查询的支持。 [1] https://developer.github.com/v3/#rate-limiting [2] https://github.com/Yikun/hub-mirror-action/commit/6cb3a46e6e312544be5418ab3b9cc316228a2ba6

feature
priority/low