Skip to content

dvc "phones home" even when analytics are disabled (via the updater) #4177

@honnibal

Description

@honnibal

Even if the analytics are disabled, DVC still contacts Iterative's servers during the update check, which potentially provides another avenue for usage information to be collected: https://github.com/iterative/dvc/blob/master/dvc/updater.py . This makes DVC difficult to recommend to users in privacy-sensitive contexts.

I think the updater should be disabled when the analytics are disabled. If you're adamant that you want the updater to have this behaviour, I think it should at least call out to the PyPi server rather than https://updater.dvc.org

Separately, and this is more a subjective thing than the privacy question, I think the way the updates are advertised to the terminal is very noisy. I don't think a CLI tool should be mixing messages like this into its output:

+-----------------------------------------+
|                                         |
|     Update available 1.1.1 -> 1.1.7     |
|     Run `pip install dvc --upgrade`     |
|                                         |
+-----------------------------------------+
Stage is cached, skipping  

These messages make the tool much harder to use programmatically, and I feel it's both intrusive and unnecessary. It's up to users to track updates and choose the version they want to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responsewe are waiting for your reply, please respond! :)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions