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

Open
#7,280 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Domain
documentation

Research direction

Open the contributors guide and find the section that currently links to DAGsHub instructions. Add the GMT-specific DVC remote and authentication commands, including the token settings link, then verify that credentials are described as being stored in the untracked local .dvc/config file.

Written by the indexing model from the issue text.

Description

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

Dominant language
C
Stars
997
Forks
420
Avg merge
13h 27m
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenericMappingTools/gmt

All issues in GenericMappingTools/gmt

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.