ZupIT / ritchie-cli

Ritchie CLI is an open-source tool that allows to create, store and share any kind of automation, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡
https://docs.ritchiecli.io
Apache License 2.0
559 stars 104 forks source link

feat: add repo-zip command #1044

Closed lucasdittrichzup closed 3 years ago

lucasdittrichzup commented 3 years ago

Description

This PR adds the zipremote provider and add repo-zip command.

How to verify it

Run rit add repo-zip

Changelog

Add the zipremote provider and add repo-zip command.


This pull request generated the following artifacts.

To test the health and quality of this implementation, download the respective binary for your operating system, unzip and directly run the binary like the examples below.

Generated at Wed Sep 22 2021 14:44:57 GMT+0000 (Coordinated Universal Time)

codecov-commenter commented 3 years ago

Codecov Report

Merging #1044 (b274f26) into v3 (c68c621) will increase coverage by 0.32%. The diff coverage is 96.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v3    #1044      +/-   ##
==========================================
+ Coverage   83.72%   84.05%   +0.32%     
==========================================
  Files         123      126       +3     
  Lines        4988     5116     +128     
==========================================
+ Hits         4176     4300     +124     
- Misses        537      539       +2     
- Partials      275      277       +2     
Flag Coverage Δ
unittests 84.05% <96.94%> (+0.32%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/cmd/add_repo.go 82.19% <50.00%> (-0.78%) :arrow_down:
pkg/git/zipremote/repository.go 89.47% <89.47%> (ø)
pkg/cmd/add_repo_zip.go 100.00% <100.00%> (ø)
pkg/commands/builder.go 91.16% <100.00%> (+0.12%) :arrow_up:
pkg/formula/repo/adder.go 96.00% <100.00%> (+0.08%) :arrow_up:
pkg/formula/repo/creator.go 75.75% <100.00%> (ø)
pkg/git/zipremote/zipremote.go 100.00% <100.00%> (ø)

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 c68c621...b274f26. Read the comment docs.