Automated Bootstrapping for Derived Catalogs

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
go
领域
cli, tooling

调研方向

未指定文件或测试。首先检查现有的 extend/import 实现和 grcli 命令结构,以了解 catalog 解析、验证和生成。完成内容应包括一个定义明确的 init 工作流,用于验证父 URI 和 Gemara 数据、记录父版本、支持选择 controls,并生成子 catalog 的 boilerplate。

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

描述

enhancement Stale

Description

Currently, the Gemara spec supports creating a catalog based on another (inheritance/selection - extend/import), but the process is manual for creation. Based on the ORBIT Working Group discussion on 2026-05-07, there seems to be a growing need to create layered catalogs on top of the OSPS Baseline.

We need a bootstrapping mechanism in the SDK that supports a user to programmatically generate a "child" catalog from a "parent" catalog.

Proposed Workflow

  • User runs a command like grcli init --from [Parent-Catalog-URI].
  • User selects whether they want to inherit all controls or a specific subset.
  • The tool generates a new Gemara catalog file with metadata already populated.
Success Criteria
  • The bootstrapping logic ensures the parent URI is reachable and valid Gemara.
  • The metadata is automatically linked tso the child catalog knows which version of the parent it was created from.
  • Provide a boilerplate structure for the "new" controls to be added.

Context

  • Specifically addressed the friction point of keeping the Baseline clean while allowing specialized extensions.
  • This functionality would be supported the Gemara Hub initiative by making it easier to publish derivative works.
主要语言
Go
星标
0
派生
2
平均合并
1 天 15 小时
30 天内合并 PR
6

环境准备

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

从这里开始

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

gemaraproj/grcli 的其他 Issue

查看 gemaraproj/grcli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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