Add custom instructions for setting up DVC auth in the contributors guide

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
领域
documentation

调研方向

打开贡献者指南,找到当前链接到 DAGsHub 说明的部分。添加 GMT 专用的 DVC remote 和身份验证命令,包括 token 设置链接,然后确认其中说明凭据存储在未跟踪的本地 .dvc/config 文件中。

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

描述

feature request

Description of the desired feature

https://github.com/GenericMappingTools/gmt/pull/7275#issuecomment-1448613980 points out that only providing a link to the DAGsHub instructions isn't sufficient for developers to be able to work with DVC. We should instead add customized instructions for the GMT DAGsHub storage:

cd <gmt-repository>
dvc remote add origin https://dagshub.com/GenericMappingTools/gmt.dvc
dvc remote modify origin --local auth basic
dvc remote modify origin --local user <your-dagshub-user-name>
dvc remote modify origin --local password <your-dagshub-token>

You can get your token from https://dagshub.com/user/settings/tokens.

After following these instructions, the username and password should be stored in your local .dvc/config file (which importantly is not tracked by git).

Are you willing to help implement and maintain this feature? Yes/No

主要语言
C
星标
997
派生
420
平均合并
13 小时 27 分钟
30 天内合并 PR
47

环境准备

从这里开始

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

GenericMappingTools/gmt 的其他 Issue

查看 GenericMappingTools/gmt 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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