iterative / gto

🏷️ Git Tag Ops. Turn your Git repository into Artifact Registry or Model Registry.
https://dvc.org/doc/gto
Apache License 2.0
142 stars 16 forks source link

Add `gto doctor` #316

Closed aguschin closed 1 year ago

aguschin commented 1 year ago

Close #241 Close #142 Close #317

This just reads repo for now, and prints the error. Basically you can have the same effect if you run gto show and gto describe for all commits you want.

$ gto doctor
🪴  GTO Version: 0.2.5.dev4+g89fca05
---------------------------------
INDEX='artifacts.yaml'
TYPES=None
STAGES=None
LOG_LEVEL='INFO'
DEBUG=False
ENRICHMENTS=[]
AUTOLOAD_ENRICHMENTS=True
CONFIG_FILE_NAME='.gto'
EMOJIS=True
---------------------------------
✅  No issues found

TODO:

codecov-commenter commented 1 year ago

Codecov Report

Base: 86.61% // Head: 85.94% // Decreases project coverage by -0.66% :warning:

Coverage data is based on head (5cb88a8) compared to base (0600c0e). Patch coverage: 68.96% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #316 +/- ## ========================================== - Coverage 86.61% 85.94% -0.67% ========================================== Files 18 18 Lines 2069 2113 +44 ========================================== + Hits 1792 1816 +24 - Misses 277 297 +20 ``` | [Impacted Files](https://codecov.io/gh/iterative/gto/pull/316?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative) | Coverage Δ | | |---|---|---| | [gto/api.py](https://codecov.io/gh/iterative/gto/pull/316/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative#diff-Z3RvL2FwaS5weQ==) | `89.78% <50.00%> (-2.71%)` | :arrow_down: | | [gto/index.py](https://codecov.io/gh/iterative/gto/pull/316/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative#diff-Z3RvL2luZGV4LnB5) | `87.41% <57.69%> (-3.98%)` | :arrow_down: | | [gto/exceptions.py](https://codecov.io/gh/iterative/gto/pull/316/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative#diff-Z3RvL2V4Y2VwdGlvbnMucHk=) | `73.60% <80.00%> (+0.04%)` | :arrow_up: | | [gto/cli.py](https://codecov.io/gh/iterative/gto/pull/316/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative#diff-Z3RvL2NsaS5weQ==) | `81.84% <84.21%> (+1.32%)` | :arrow_up: | | [gto/tag.py](https://codecov.io/gh/iterative/gto/pull/316/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative#diff-Z3RvL3RhZy5weQ==) | `89.79% <0.00%> (-2.05%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.