Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept options from query string of registry URL #37

Merged
merged 4 commits into from
Oct 17, 2023
Merged

Conversation

k1LoW
Copy link
Collaborator

@k1LoW k1LoW commented Oct 17, 2023

Proposal

Registry options are different for each registry.
Unify the interface by accepting options from the registry URL query string.

  • github_release://linyows/dewy?artifact=dewy_linux_amd64
  • grpc://192.168.3.3?no-tls=true

@k1LoW k1LoW self-assigned this Oct 17, 2023
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@k1LoW k1LoW requested a review from linyows October 17, 2023 01:13
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link

Code Metrics Report

main (4860c41) #37 (e6d19e0) +/-
Coverage 32.1% 36.7% +4.6%
Code to Test Ratio 1:0.2 1:0.2 +0.1
Test Execution Time 1m20s 28s -52s
Details
  |                     | main (4860c41) | #37 (e6d19e0) |  +/-  |
  |---------------------|----------------|---------------|-------|
+ | Coverage            |          32.1% |         36.7% | +4.6% |
  |   Files             |             10 |            10 |     0 |
  |   Lines             |            333 |           362 |   +29 |
+ |   Covered           |            107 |           133 |   +26 |
+ | Code to Test Ratio  |          1:0.2 |         1:0.2 |  +0.1 |
  |   Code              |           1736 |          1777 |   +41 |
+ |   Test              |            286 |           396 |  +110 |
+ | Test Execution Time |          1m20s |           28s |  -52s |

Code coverage of files in pull request scope (28.4% → 34.6%)

Files Coverage +/-
cli.go 0.0% 0.0%
dewy.go 43.3% +7.0%
registry/grpc/grpc.go 84.0% -0.2%

Reported by octocov

false,
},
{
"github_release://linyows/dewy?artifact=dewy_linux_amd64&pre-release=true",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fmfm

@k1LoW k1LoW merged commit 5ea77ee into main Oct 17, 2023
6 checks passed
@k1LoW k1LoW deleted the option-query branch October 17, 2023 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants