Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何删除配方? #27

Open
chuangzhu opened this issue Oct 20, 2019 · 4 comments
Open

请问如何删除配方? #27

chuangzhu opened this issue Oct 20, 2019 · 4 comments
Labels
question Further information is requested

Comments

@chuangzhu
Copy link

No description provided.

@lotem lotem added the question Further information is requested label Oct 21, 2019
@BlindingDark
Copy link

参考 easy-en 删除方式

  1. 删除位于 plum/package/ 下的 easy_en git 仓库
  2. 删除 default.yaml schema_list 中的 easy_en
  3. 删除 rime 用户文件夹下 easy_en 开头的文件
  4. 如果使用了混输,还需要删除对应方案的 custom.yaml__patch 中的如下内容
    # Rx: BlindingDark/rime-easy-en:customize:schema=double_pinyin {
      - patch/+:
          __include: easy_en:/patch
    # }
  5. 重新部署 rime

@chuangzhu
Copy link
Author

@BlindingDark 谢谢。
@lotem 这个功能可否加入 plum,这样手动操作有些麻烦了。

@lotem
Copy link
Member

lotem commented Nov 13, 2019

做不到。
plum设计的流程是以下这样。

  1. plum/package 里面是下载的缓存,可以不算;
  2. 理想化的流程,是所有配置组织成配方,包括用户自定义配置;决定配置的是一份配方列表(还有一些细节未解决、尚未提供工具支持,例如迁移旧的用户配置到配方格式);
  3. 依照配方抓药,把部署所需的配置文件在用户目录放好、生成配方指定的补丁;
  4. 然后执行部署,生成二进制数据文件。
  5. 如需修改配置,包括删除配方,编辑配方列表后,清空用户目录下的所有配置文件,因为这些文件完全是根据配方生成的;继而重新从步骤 2 做起。

@eagleoflqj
Copy link
Member

My RIME基于Micro Plum已实现删除配方

purge.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants