This repository was archived by the owner on Feb 11, 2021. It is now read-only.
This repository was archived by the owner on Feb 11, 2021. It is now read-only.
[讨论] anaconda 的同步脚本有些复杂? #30
Open
Description
咱们这个有些复杂,应该是为了让同步更robust?
相比 tuna 的就很扁平 https://github.com/tuna/tunasync-scripts/blob/master/anaconda.py
但是他们那个增删源,就需要改脚本,但是咱们这个改 yaml 就可以。
我不晓得 docker 里的日志怎么看,我看文件列表是直接 print 出来的,这个能看到吗?因为现在是缺 *.conda
文件( sjtug/mirror-requests#56 ),所以最直接的,应该看下载的文件列表。
不如用 python 的 logging 库,有 DEBUG INFO WARNING ERROR CRITICAL 5个不同等级的日志,见python3 logging。stdout 和文件里都可以存,比较灵活。
Metadata
Metadata
Assignees
Labels
No labels