feat: Improve Git handler and introduce caching #1689
70.28% of diff hit (target 84.31%)
View this Pull Request on Codecov
70.28% of diff hit (target 84.31%)
Annotations
Check warning on line 54 in backend/capellacollab/projects/toolmodels/diagrams/routes.py
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/diagrams/routes.py#L54
Added line #L54 was not covered by tests
Check warning on line 102 in backend/capellacollab/projects/toolmodels/diagrams/routes.py
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/diagrams/routes.py#L101-L102
Added lines #L101 - L102 were not covered by tests
Check warning on line 49 in backend/capellacollab/projects/toolmodels/modelbadge/routes.py
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelbadge/routes.py#L48-L49
Added lines #L48 - L49 were not covered by tests
Check warning on line 73 in backend/capellacollab/projects/toolmodels/modelsources/git/crud.py
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/crud.py#L72-L73
Added lines #L72 - L73 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/github/handler.py#L35
Added line #L35 was not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/github/handler.py#L122
Added line #L122 was not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/github/handler.py#L127-L128
Added lines #L127 - L128 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/gitlab/handler.py#L74
Added line #L74 was not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/gitlab/handler.py#L79-L80
Added lines #L79 - L80 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L26-L27
Added lines #L26 - L27 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L31-L33
Added lines #L31 - L33 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L35-L36
Added lines #L35 - L36 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L38
Added line #L38 was not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L43-L44
Added lines #L43 - L44 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L48-L50
Added lines #L48 - L50 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L52-L53
Added lines #L52 - L53 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L55
Added line #L55 was not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L65-L66
Added lines #L65 - L66 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L73
Added line #L73 was not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L76-L77
Added lines #L76 - L77 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L87-L88
Added lines #L87 - L88 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L95
Added line #L95 was not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L99-L100
Added lines #L99 - L100 were not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L104
Added line #L104 was not covered by tests
codecov / codecov/patch
backend/capellacollab/projects/toolmodels/modelsources/git/handler/cache.py#L107
Added line #L107 was not covered by tests