Pharo Gofer,离线时可以回退到本地包缓存吗?

发布于 2024-08-13 11:48:51 字数 229 浏览 3 评论 0原文

当没有互联网可用时,我可以告诉 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

聽兲甴掵 2024-08-20 11:48:51

理论上是的,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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文