New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问,部署完成后怎么进行包同步呢 #664
Comments
我们已经看到你的反馈,如果是功能缺陷,可以提供一下重现该问题的方式;如果是新功能需求,我们会尽快加入讨论。同时我们非常期待你可以加入我们的贡献者行列,让项目可以长期可持续发展。 |
如何全量同步npm呢 |
syncMode设成all就会进行全量同步 |
定时任务每5分钟会从
可以打断点看一下是不是创建同步任务的时候出了问题 |
我是用cnpmcore npm包搭的 |
hello tegg那个项目,自己发布的包能在存储器上看到,但是没全量同步npm |
CheckRecentlyUpdatedPackages.subscribe:error][1] request https://www.npmjs.com/browse/updated?offset=36 error: HttpClientConnectTimeoutError: Connect Timeout Error 连接超时 不知道为什么 |
全量包同步目前分为几个步骤。
|
这个是辅助同步,防止 npm 官方的 registry changesStream 不太稳定。 |
@aimeiyijia 目前还缺一个比较细致的启动文档,方便的话可以一起补充下需求背景及目前的 registry、users 相关配置和 db 内数据 |
不太明白,registryId从哪里来的 |
主要需求是在内网部署一个仓库,然后定期到外网同步f |
|
我添加了一个启动文档,看看是否能解决你遇到的问题。 过程中如果遇到其他问题,可以一起反馈 🙏🏻 我将尽量补充到文档中。 |
|
|
@aimeiyijia 直接用 cnpm 源同步? 这个报错应该是网络问题,试试 |
不能访问,但是不知道为啥,换了几个电脑,网络环境也换了 |
这个地址有npmmirror替换地址吗 |
请问下 你知道全量同步,需要准备多大的存储空间吗 |
|
全量需要几十 TB |
没有的,这个是用来辅助更新的,后续我加个配置允许关闭 |
> close #664 Missing a startup document for sync pkgs. * 📚 Add doc for sync-setup ------- > close #664 目前缺少一个启动文档,开启包同步服务 * 📚 添加 sync-setup 使用文档 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Added a new guide for setting up package synchronization services using `cnpmcore`. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
感谢
The text was updated successfully, but these errors were encountered: