Add bucket locks to dist-prod, dist-staging

未关闭
#527 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
typescript

调研方向

从链接的 Cloudflare R2 bucket-lock 文档开始,检查本仓库中 dist-prod 和 dist-staging bucket 的配置方式。确定锁定是否适合现有的 bucket 结构,并识别所需的写入访问权限审查;完成的标准是两个 bucket 都已安全配置,同时不会阻止合法的资产发布。

由索引模型根据 Issue 内容生成。

描述

R2 supports bucket locking (https://developers.cloudflare.com/r2/buckets/bucket-locks/), this allows for writing new objects to a bucket but prevents overwriting. I'm not 100% sure this will work for our bucket structure, but I think we should look into using it since the majority of our assets are static and should never change

cc @nodejs/build since this requires someone with write access to R2

主要语言
TypeScript
星标
58
派生
21
平均合并
2 天 11 小时
30 天内合并 PR
29

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nodejs/release-cloudflare-worker 的其他 Issue

查看 nodejs/release-cloudflare-worker 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。