Smaller automation improvements after Theme Kit 1.2.0

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
python, sass
领域
build-system, cli

调研方向

先检查 list、pull 和 push 的 CLI 实现,然后检查核心安装要求以及声明 libsass 的位置。当 stdout 输出稳定的 JSON、提供逐文件传输结果并在部分失败时使用 nonzero 状态,且除非使用 ntk sass,否则核心安装不要求 libsass 时,即可视为完成。

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

描述

Theme Kit 1.2.0 now covers request timeouts, retries, authentication errors, failed pushes, and NTK_APIKEY. That overlaps with much of #34, so I am closing the draft instead of rebasing the full branch.

A few smaller changes still look useful for CI and agent workflows:

  • JSON output for commands such as list, pull, and push, with one stable result on stdout
  • options to hide progress bars and routine logs
  • a result for each file transferred, including a nonzero exit when only part of a push or pull succeeds
  • a core install that does not require libsass unless ntk sass is used

I suggest starting with JSON output and per-file results, then handling packaging separately.

This request does not include hosted screenshots, a new backend endpoint, or changes to the retry and API key work already in 1.2.0. Local theme checks and local screenshots can stay out unless the maintainers want Theme Kit to own them.

Would the team be open to the JSON and per-file work as a first small PR?

主要语言
Python
星标
8
派生
1
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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