microsoft / microsoft/VFSForGit

Add info about gvfs sparse to gvfs health verb

Open
#1,577 0 comments 0 reactions 1 assignee View on GitHub

@kewillford is already working on this.

Since Nov 8, 2019.

domain: sparse pri3
Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

I've been playing with the gvfs health verb a bit (very cool!) with the gvfs sparse functionality turned on, and I was wondering how feasible it would be to incorporate the current status of the sparse projection to it? For example:

D:\mono\src>gvfs health
Gathering repository data...

Health of directory:
Total files in HEAD commit:           2,614,142 | 100%
**Suggestion: total files in head commit currently being projected?**

Files managed by VFS for Git (fast):     64,036 |   2%
Files managed by Git:                         5 |   0%

Total hydration percentage:                         2%
**Suggestion: Total hydration of current projection:**

Most hydrated top level directories:
 35,065 / 131,728 | warehouse
 25,073 / 74,634  | otools
  1,844 / 2,183   | cloudbuildtools
    703 / 65,177  | collateral
    559 / 3,040   | engtools

Repository status: OK

TBC: I 100% don't think we should add this if it is going to be expensive to compute, but if somehow that data could be available easily that would be really nice!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.