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

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

Open
maxrjones opened this issue Feb 28, 2023 · 1 comment
Open
Labels
feature request Request a new feature

Comments

@maxrjones
Copy link
Member

maxrjones commented Feb 28, 2023

Description of the desired feature

#7275 (comment) 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

@joa-quim
Copy link
Member

Thanks. With this I managed to push the two new PS files for the tests that were committed earlier this afternoon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

2 participants