Pharo Gofer,离线时可以回退到本地包缓存吗?
当没有互联网可用时,我可以告诉 Gofer
回退到本地包缓存吗?
例如,我可以
Gofer it
squeaksource: 'CodePhoo';
addPackage: 'CodePhoo';
load
在火车上离线时用来设置图像? (在这种情况下,我们可以确定这些包实际上可以从以前的映像设置本地获得。)
Can I tell Gofer
to fall back to the local package cache when no internet is available?
For example such that I can use
Gofer it
squeaksource: 'CodePhoo';
addPackage: 'CodePhoo';
load
to setup an image when offline on the train? (In that case we can be sure that the packages are in fact available locally from a previous image setup.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
理论上是的,Gofer 的模型会支持这样的事情。
实际上不会,因为缺少蒙蒂塞洛方面的支持。
尽管 Monticello 提供了 MCRepositoryGroup,但不幸的是,当其中一个存储库无法访问时,此代码会引发各种不同的错误。这在 Monticello 工具的背景下可能是有意义的,但对于 Gofer 来说,需要重新实现。
Theoretically yes, the model of Gofer would support such things.
Practically no, because of missing support from the Monticello side.
Even though Monticello provides a MCRepositoryGroup, this code unfortunately throws all kinds of different errors when one of the repositories is not reachable. That probably makes sense in the context of the Monticello tools, but for Gofer that would need to be reimplemented.