killa

Results 51 comments of killa

By the way, can we use GitHub Actions to compile the source code into binary artifacts and store them using releases. Similar to the example provided at https://github.com/cnpm/unionfs-fuse/actions/runs/5584483192, we can...

cache 处理遵守 http cache 规则会比较好,防止脏缓存出现。还可以加个 hook 由上层来决定缓存是否可使用。

Java 配置了吗? JAVA_HOME 这个环境变量没有

可以的。不过有个地方得优化下,因为 rapid 里默认用的是 registry.npmmirror.com 这个是国内的,github action 是海外的,网络上会有问题。

gitlab 使用得注意一下是不是容器运行环境?需要增加额外的 SYS_ADMIN 权限和挂载 /dev/fuse。 可以参考这篇文档 https://docs.gitlab.com/runner/configuration/advanced-configuration.html

https://github.com/eggjs/tegg 可以关注这个仓库,egg4.0 也是基于 tegg。 这个仓库下的插件我们会保障长期的维护。

可以来尝试实现一下,HTTPMethod 参数中的 method 字段可以兼容单值和枚举的情况。

https://github.com/nxps/cnpmcore-demo/blob/main/config/module.json#L6 这里的 infra 模块没提供 SearchAdapter 的实现了。如果你没有相关的基础设施可以给一个空实现的。

> 通过后置中间件方式,可以重定义Content-Type,但 Content-Length重定义却无效,不明白为什么? 请大佬指教 https://github.com/koajs/koa/blob/master/lib/application.js#L314 看看是不是这里覆盖了。