G-Node / tonic

Framework for building services that interact with GIN
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Labproject/clone template #27

Closed achilleas-k closed 3 years ago

achilleas-k commented 3 years ago

This PR introduces the ability for the labproject service to create a new project repository by cloning a template repository with submodules. All submodules are cloned and pushed to the server as well as the main project. All new repositories are added to the project team.

These changes required augmenting the tonic Client type to hold a GINClient reference for calling gin-cli code for cloning and running git commands.

Full documentation for setting up and running the service with the new features will come in a followup PR.

Closes #13

codecov[bot] commented 3 years ago

Codecov Report

Merging #27 (39ffcdf) into master (5d62103) will decrease coverage by 4.11%. The diff coverage is 3.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
- Coverage   49.29%   45.18%   -4.12%     
==========================================
  Files           8        8              
  Lines         428      467      +39     
==========================================
  Hits          211      211              
- Misses        195      234      +39     
  Partials       22       22              
Impacted Files Coverage Δ
tonic/routes.go 6.28% <0.00%> (ø)
tonic/service.go 63.75% <0.00%> (ø)
tonic/worker/worker.go 50.53% <4.87%> (-36.50%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5d62103...39ffcdf. Read the comment docs.