Skip to content

feat(segments): add DVC source control support#7048

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-dvc-source-control-support
Draft

feat(segments): add DVC source control support#7048
Copilot wants to merge 2 commits intomainfrom
copilot/add-dvc-source-control-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 15, 2025

Prerequisites

  • I have read and understood the contributing guide.
  • The commit message follows the conventional commits guidelines.
  • Tests for the changes have been added (for bug fixes / features).
  • Docs have been added/updated (for bug fixes / features).

Description

Adds support for DVC (Data Version Control) as a source control segment.

Implementation:

  • New dvc.go segment following existing SCM patterns (Fossil, SVN)
  • Detects .dvc directory and parses dvc status -q output
  • Tracks file states: added (+), modified (~), deleted (-), missing/not in cache (!)
  • Supports status_formats and native_fallback options

Sample configuration:

{
  "type": "dvc",
  "style": "powerline",
  "foreground": "#193549",
  "background": "#945dd6",
  "template": " \ue8d1 {{.Status.String}} "
}

Template properties:

  • .Status.Added - new files
  • .Status.Modified - modified files
  • .Status.Deleted - deleted files
  • .Status.Missing - files not in cache
  • .Status.String - formatted status string
Original prompt

This section details on the original issue you should resolve

<issue_title>[Feature request] Add support to dvc source control</issue_title>
<issue_description>### Code of Conduct

  • I agree to follow this project's Code of Conduct

What would you like to see added?

Please, add support to dvc source control inside a repo.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: JanDeDobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for dvc source control in the repo feat(segments): add DVC source control support Dec 15, 2025
Copilot AI requested a review from JanDeDobbeleer December 15, 2025 05:49
@JanDeDobbeleer JanDeDobbeleer force-pushed the main branch 2 times, most recently from 6a67260 to 85091a8 Compare February 18, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Add support to dvc source control

2 participants