Support setting file sync ignore patterns via the UI

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
swift
领域
desktop

调研方向

首先定位 macOS UI 和同步 CreateRequest 的构造位置;该 issue 没有指定文件或测试。跟踪同步配置的呈现方式,然后确定应如何暴露 ignore 语法、默认 ignores、ignores 和 VCS 模式选项,并验证每一项都包含在请求中。

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

描述

A Synchronization CreateRequest allows specifying a configuration for alpha, beta, or both simultaneously.
These configurations include the following fields:

    // Ignore configuration parameters (fields 31-60).

    // IgnoreSyntax specifies the syntax and semantics to use for ignores.
    // NOTE: This field is out of order due to the historical order in which it
    // was added.
    ignore.Syntax ignoreSyntax = 34;

    // DefaultIgnores specifies the ignore patterns brought in from the global
    // configuration.
    // DEPRECATED: This field is no longer used when loading from global
    // configuration. Instead, ignores provided by global configuration are
    // simply merged into the ignore list of the main configuration. However,
    // older sessions still use this field.
    repeated string defaultIgnores = 31;

    // Ignores specifies the ignore patterns brought in from the create request.
    repeated string ignores = 32;

    // IgnoreVCSMode specifies the VCS ignore mode that should be used in
    // synchronization.
    ignore.IgnoreVCSMode ignoreVCSMode = 33;

We'll need to expose these synchronization configuration options via the UI.

主要语言
Swift
星标
29
派生
9
平均合并
1 天 17 小时
30 天内合并 PR
5

环境准备

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

从这里开始

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

coder/coder-desktop-macos 的其他 Issue

查看 coder/coder-desktop-macos 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

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