DVC version: 0.52.1+1e9f1d
Python version: 3.7.3
Platform: Linux-5.2.1-arch1-1-ARCH-x86_64-with-arch
Binary: False
Filesystem type (workspace): ('xfs', '/dev/mapper/vg-root')
rm -rf .dvc
dvc remote modify something whatever yeah
ERROR: you are not inside of a dvc repository (checked up to mount point '/')
@mroutis Remotes can be defined in global or system configs. This is not a bug.
Ah, wait. So the .dvc is removed... So looks like running that command anywhere will create .dvc/config, right? Re-opening. Sorry for jumping on this one.
@efiop , running dvc remote modify on a directory which is not a DVC repository doesn't do anything at all. You are right, --system and --global shouldn't throw an error, but for --local and without any flag, it should.
Issue is relevant for dvc config in general, as dvc remote derives from it. Some explanation https://github.com/iterative/dvc/pull/3194#pullrequestreview-344982907 . Adjusting the naming...
Related https://github.com/iterative/dvc/issues/2234 , should be fixed by the redesign.
For the record, this might require full config refactor (and likely will), so please check back before tackling this one, just to make sure that we are on the same page.
Most helpful comment
Issue is relevant for
dvc configin general, asdvc remotederives from it. Some explanation https://github.com/iterative/dvc/pull/3194#pullrequestreview-344982907 . Adjusting the naming...