tuna / mirror-web Goto Github PK
View Code? Open in Web Editor NEWSource code of the web interface of https://mirrors.tuna.tsinghua.edu.cn/
License: GNU General Public License v2.0
Source code of the web interface of https://mirrors.tuna.tsinghua.edu.cn/
License: GNU General Public License v2.0
在https://wiki.tuna.tsinghua.edu.cn/MirrorUsage/android 这个上面,按照上面说明操作,是走不通的。
因为https://android.tuna.tisnghua.edu.cn/ 访问不了,导致配置android源的时候无法使用。
ps:作为国内首个提供android mirror的开源镜像中心,是非常有意义的,望修复配置问题,造福围墙内的守望者们!
remi 源如果配置正确,是可以显示网页中的 hostedby.png 的。然而现在显示出错。
建议修复并使用 https://mirrors.tuna.tsinghua.edu.cn/static/img/logo-white.png。
https://mirrors.tuna.tsinghua.edu.cn/help/rubygems/
I think
gems sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/
should be
gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/
现在可以直接从pip安装。
首先 学习TUNA的无私奉献
希望你们能支持IPV6
那么更新下载速度会对大家有质的提升吧
[email protected]
报告称,
在最新的更新中 (https://wiki.debian.org/Status/Testing) , Debian testing 的 sources.list 文件發生了一點變化 .
在貴站的幫助頁面 , testing 源自動生成文件需要修改為新格式才不會報錯 .
https://mirrors.tuna.tsinghua.edu.cn/help/debian/
望盡快修改 .
这些数据是怎么动态获取的
wget https://mirrors.tuna.tsinghua.edu.cn/static/tunasync.json -O static/tunasync.json
wget https://mirrors.tuna.tsinghua.edu.cn/static/tunet.json -O static/tunet.json
wget https://mirrors.tuna.tsinghua.edu.cn/static/isoinfo.json -O static/isoinfo.json
https://mirrors.tuna.tsinghua.edu.cn/help/docker-ce/
ubuntu的软件仓库错了,还是docker官方的仓库
今天添加了清华大学的Anaconda镜像,安装软件一直不成功,上去看了之后发现从11-1日就开始出错 了
Reproduce:
1. https://mirrors.tuna.tsinghua.edu.cn
2. 获取下载链接
3. 应用软件
4. Anaconda
5. 给出的下载链接并没有标注出明确的Python版本
比如我就是没注意这个问题,想要Py3版本的Anaconda然后迷迷糊糊下载了Anaconda2。
请在给出的链接中注明这是Anaconda2
还是Anaconda3
,Thanks.
vue.js
has some supports
如题,跑一个用于接收 github hook 的 server,类似 https://github.com/developmentseed/jekyll-hook
,其主要特点是:
目前 macOS 跟 iOS 的系统字体已经换成了苹方。
毫无疑问,华文黑体已经过时了。希望可以去掉 font-family
中的 Heiti SC
。
USTC Mirrors 的页面可以通过过滤,用户反馈这一功能可能会使得使用更加便捷。
March 27, 2017 6:44 PM
如题,这样修改之后,如果用户自行添加 github 上引用的其他的仓库会出现问题。 如 tuna/issues#333
建议新加一个 remote,把 default remote 从 github 指向新的 remote
拉Master分支,Debian系统的,按照md的教程里,到Jekyll install那一步的时候
先
WARN: Unresolved specs during Gem::Specification.reset: ffi (< 2, >= 0.5.0) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:34:in `block in setup': You have already activated jekyll-watch 2.0.0, but your Gemfile requires jekyll-watch 1.5.1. Prepending `bundle exec` to your command may solve this. (Gem::LoadError) from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:19:in `setup' from /usr/lib/ruby/vendor_ruby/bundler.rb:121:in `setup' from /var/lib/gems/2.1.0/gems/jekyll-3.7.2/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler' from /var/lib/gems/2.1.0/gems/jekyll-3.7.2/exe/jekyll:11:in `<top (required)>' from /usr/local/bin/jekyll:23:in `load' from /usr/local/bin/jekyll:23:in `<main>'
我理解大概意思应该是Jekyll-watch的版本过高的了,然后先uninstall了,然后又-v 1.5.1安装了一下
接着又出现
/usr/local/lib/site_ruby/2.1.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'jekyll-watch' (~> 2.0) - did find: [jekyll-watch-1.5.1,jekyll-watch-1.0.0] (Gem::LoadError) Checked in 'GEM_PATH=/root/.gem/ruby/2.1.0:/var/lib/gems/2.1.0:/usr/share/rubygems-integration/2.1.0:/usr/share/rubygems-integration/2.1:/usr/share/rubygems-integration/all', execute `gem env` for more information from /usr/local/lib/site_ruby/2.1.0/rubygems/specification.rb:1311:in `block in activate_dependencies' from /usr/local/lib/site_ruby/2.1.0/rubygems/specification.rb:1300:in `each' from /usr/local/lib/site_ruby/2.1.0/rubygems/specification.rb:1300:in `activate_dependencies' from /usr/local/lib/site_ruby/2.1.0/rubygems/specification.rb:1282:in `activate' from /usr/local/lib/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:67:in `block in gem' from /usr/local/lib/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:66:in `synchronize' from /usr/local/lib/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:66:in `gem' from /usr/local/bin/jekyll:22:in `<main>'
小白求解
这些大佬们了
以前没用过Ruby
前两天stack 2.1.1
发布了,配置文件有了很大的变动,导致之前在stack 1.x
上~/.stack/config.yaml
的Hackage和Stackage的tuna镜像设置部分失效了。
具体来说:
urls
只剩下latest-snapshot
有效了。不太确定其他两项是不是还能再使用镜像服务器。Unrecognized fields in urls: lts-build-plans, nightly-build-plans
name
和http
都被忽略了,而download-prefix
则需要变更为http://mirrors.tuna.tsinghua.edu.cn/hackage/
的样子。package-indices
设置,要求添加haskell-security的声明了,具体参见stack文档里的例子。Downloading root
Could not deserialize <repo>/root.json: Malformed: (line 1, column 1):
unexpected "<"
expecting white space or JSON value
猜测是hackage security的api要求。不太确定是不是直接同步几个json文件就解决问题了。
关于 docker 安装,tuna 帮助 中 Debian/Ubuntu 安装说明为
对于 amd64 架构的计算机,添加软件仓库:
sudo add-apt-repository blahblah
但 docker 官方文档说明为
x86_64 / amd64
sudo add-apt-repository blahblah
实测似乎 x86 平台也需要先添加 repository 才可以 sudo apt-get install docker-ce
似乎应该把说明中的对于 amd64 架构改为对于 x86_64/amd64 ?
请问能否增加预装软件版本标注,如使用centos系统需要提前预装哪些软件以及对应的版本?
http://mirrors.tuna.tsinghua.edu.cn/ 好像用IE访问有问题啊,是不是不会去支持了呢?
就问下。。。
@huiyiqun 没有看见你说的 justin
rt
现在的 CTAN 镜像似乎不支持 MikTeX,在官网 https://miktex.org/pkg/repositories 并不能看到有**的镜像站,于是每次就被跳转到**,然后又访问不了。
但该有的文件 tuna 上其实都有,只是不知道为什么不能拿来用(设置 mpm --repository=https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/win32/miktex/tm/packages/
会报错)。是不是应该问下 MikTeX 他们那边?
你好!如题,请问下disk.json文件在后端如何生成的?https://mirrors.tuna.tsinghua.edu.cn/static/status/disk.json
以及 实时流量图 服务器资源占用图是怎样生成的?谢谢。
https://mirrors.tuna.tsinghua.edu.cn/status/#syncing-status
当前版本Web前段界面不支持IE浏览器,打开页面后镜像列表内容看不到。似乎是vue兼容性问题?
能否麻烦各位帮忙修正一下,让其能良好支持IE,类似中科大的那个镜像一样
建议IE8及其后续版本都能支持,毕竟国内(特别是一些事业单位)用IE的用户还是挺多的
非常感谢!
https://github.com/tuna/mirror-web/blob/master/_posts/help/1970-01-01-raspbian.md#L111
“树莓派爱好者论坛”跳转到FOR SALE页面
test
虽然不知道有没有必要...
我看OpenWrt的Index就改了一点点, 感觉上就很漂亮了, 心情大好:
要不要考虑至少中英文版本啊。现在的网站是中英文混搭的。
原链接:https://mirrors.tuna.tsinghua.edu.cn/help/git-repo/
原来一直用修改 ~/.bashrc的方法,发现并没有什么用,直到我碰到了这篇:http://blog.csdn.net/hm11104105/article/details/75617615
希望能以此为参考,尽快修改。
我每次安装都会出现类似下面的代码,显示CondaHTTPError,每次要尝试好几十遍,好花好久的时间才能安装好第三方库。。。能帮我找找原因么?我记得以前安装时很快的。谢谢了
C:\Users\Administrator>conda install -c conda-forge basemap-data-hires
Fetching package metadata ..........
CondaHTTPError: HTTP None None
for url
An HTTP error occurred when trying to retrieve this URL.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port
=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Cause
d by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConn
ection object at 0x00000000051A5C88>, 'Connection to repo.continuum.io timed out
. (connect timeout=6.1)'))",),)
我之前部署的是8.10日的版本,不支持IE的那种,各位升级github上的源码后,我用8.21的版本进行升级
升级的过程中,我只更新了原/mirror-web目录中,新增、替换的文件(用beyond compare详细对比过文件内容),目前,我自己的环境里,IE11下打开正常,IE8下打开,会出现“浏览器不能正常显示。。。”提示,然后可以点击“代用页面”链接继续浏览
但是这时出现的页面中,页面主体部分,“镜像列表”几个字下面,会出现{{mirs}}标签,列表区域会出现{{name}},{{if is new}},{{/if}},{{if help_url}},{{/if}},而不是出现对应该镜像的具体信息
请问这个是什么原因?是我升级的过程中哪个步骤的问题?
write a page which contains syncing status, upstream info and log info.
区别一下一次同步失败和连续多次同步失败吧。
Msys2的Help可以参考 https://lug.ustc.edu.cn/wiki/mirrors/help/msys2
-proposed repos, as Ubuntu Wiki shows, are pre-released repos, which are not ready for production.
So, should we remove it from the help file?
你们开源镜像站挂了一个星期了,请问还修复么
这里的 pypi 镜像的帮助信息可以更新一下。
https://mirrors.tuna.tsinghua.edu.cn/help/pypi/现在升级 pip 到最新的 >=10.0.0 就有了 config 子命令:
pip install pip -U
pip config set gloabl.index-url https://pypi.tuna.tsinghua.edu.cn/simple搞定。
From [email protected]
Hi 各位,
现在 mirror-web 已经可以在鼠标放上去的时候为每个项目显示简介了。
当前进度:
需要一些同学来给项目加上简介,方法如下:
fork if necessary
clone 项目
git clone https://github.com/tuna/mirror-web.git
_config.yml
descriptions:
AOSP: 'Android Open Source Project'
AUR: 'To be filled'
add a Bioconductor mirror. Thank you.
ref:
https://www.bioconductor.org
http://www.tengfei.name/BiocWithTea/chapters/Development/mirror-bioc
I know this repo is the front end of the mirrors.tuna.tsinghua.edu.cn
site. I want to make a mirror site like this wonderful one, I also looked https://github.com/tuna/tunasync-scripts/https://github.com/tuna/tunasync, but still could not find any documentation on how to build the backend of the site, could you give me some tips or instructions.
Thanks in advance!
使用docker build提示下面的错误。
[root@kvm mirror-web]# docker run -it -v /data/mirror-web/:/data builden
Configuration file: /data/_config.yml
Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
Source: /data
Destination: /data/_site
Incremental build: disabled. Enable with --incremental
Generating...
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
Liquid Warning: Liquid syntax error (line 7): Expected dotdot but found pipe in "{{(site.categories["help"] | sort: 'mirrorid') }}" in /_layouts/help.html
[root@d32291cb1436 data]# jekyll build
Configuration file: /data/_config.yml
Source: /data
Destination: /data/_site
Incremental build: disabled. Enable with --incremental
Generating...
Conversion error: Jekyll::Converters::Babel encountered an error while converting 'static/js/help.es6':
"\xEF" on US-ASCII
jekyll 3.8.5 | Error: "\xEF" on US-ASCII
I used to consider this as a feature of modal of bootstrap, but it is not.
Compare with this demo.
Even though I implemented it, I have no idea with it.
页面过于简陋,没有任何修饰,而且一些长一点的文件名也显示不完整
请问如何做到类似:
https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/16.04/
那样的效果,每个资源浏览页面,均基于相同的模板和布局,且对页面内容进行一定的字体及颜色的修饰?
再次感谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.