Skip to content

.dvc files under ./.dvc directory and away from working directory #10568

@Krabi

Description

@Krabi

Hi,

I've recently started experimenting with DVC, and one of the first things I noticed is that *.dvc files are created as part of tracking files and directories in DVC.

I believe it would be more efficient and user-friendly if these files were stored in a dedicated directory, such as ./.dvc/some_new_tracking_data_directory, which could then be committed to a version control system (Git, Mercurial, Sapling, etc.).

When comparing DVC to other version control tools like Git and Mercurial, these tools typically store tracking data in a specific hidden directory (e.g., .git, .hg), rather than spreading files throughout the working directory. This keeps the workspace clean and avoids the introduction of unexpected files that other tools or users might not expect.

In short, other, similar tools manage tracking data differently, and I feel DVC’s current approach could benefit from following this convention more closely.

Thank you for considering this suggestion!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions