构建和主机超时:配置更短的超时和已知良好的主机集

Mik*_*maa 4 plone buildout

如果我已经正确理解buildout内部使用setuptools和setuptools ramdomly刮擦HTML页面希望找到鸡蛋.如果任何关键主机关闭并且从PyPi README等引用它,则会导致以下问题:

Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Run Code Online (Sandbox Code Playgroud)

因为每个URL提取将1)阻止buildout进度2)长时间运行buildout的超时变得痛苦(需要几个小时)

如何配置buildout

  • 超时更快

  • 不要刮掉任意URL以及为Plone和常见附加组件设置的已知URL

mau*_*its 6

要设置超时五秒使用 bin/buildout -t 5