-
Notifications
You must be signed in to change notification settings - Fork 232
Description
The Contributors' guides (https://www.pygmt.org/dev/contributing.html#using-data-version-control-dvc-to-manage-test-images) mention that:
To pull or sync files from the dvc remote to your local repository, use the commands below.
dvc status # should report any files 'not_in_cache' dvc pull # pull down files from DVC remote cache (fetch + checkout)
To push or sync changes from your local repository up to the dvc remote at DAGsHub, you will first need to set up authentication using the commands below.
dvc remote modify upstream --local auth basic dvc remote modify upstream --local user "$DAGSHUB_USER" dvc remote modify upstream --local password "$DAGSHUB_PASS"
So, previously, authentication is not required when running dvc pull
, but is required for dvc push
. It makes sense for a public DVC repository like pygmt or gmt.
However, it appears that dvc pull
requires authentication recently, which causes issues such as #4078 and creates additional barriers for contributors (e.g.,
GenericMappingTools/gmt#8807 and #4135 (review)).
It's unclear if the authentication changes are intentional or not.