-
Notifications
You must be signed in to change notification settings - Fork 370
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
Support reading manifest url from files #429
Support reading manifest url from files #429
Conversation
34e0431
to
1318d45
Compare
Codecov Report
@@ Coverage Diff @@
## master #429 +/- ##
==========================================
+ Coverage 56.25% 56.54% +0.29%
==========================================
Files 19 19
Lines 928 925 -3
==========================================
+ Hits 522 523 +1
+ Misses 351 349 -2
+ Partials 55 53 -2
Continue to review full report at Codecov.
|
1318d45
to
98243bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean work! Just a few nits.
integration_test/install_test.go
Outdated
srv, close := localTestServer() | ||
defer close() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not exactly sure what it is shadowing, but gocritic is unhappy about calling it close
. (same below)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shadows close builtin method on go channels :)
Lets use cleanup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 cleanup
sounds good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
Addressing some technical debt: - Introduce indexscanner.ReadPlugin(io.ReadCloser) - Make ReadPluginFromFile use that to simplify - Move validation.ValidatePlugin from several places to ReadPlugin() method - Add missing "preserves ENOENT" error for ReadPluginFromFile - Fix verify-gofmt.sh reference (now gone) in run-tests.sh Adding new stuff: - introduce --manifest-url that is mut.ex. with --manifest and positional args - add unit tests for url fetching - add integration tests for --manifest-url argument behavior Signed-off-by: Ahmet Alp Balkan <[email protected]>
Signed-off-by: Ahmet Alp Balkan <[email protected]>
Signed-off-by: Ahmet Alp Balkan <[email protected]>
e4399c4
to
28483b3
Compare
Should be good to go. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahmetb, corneliusweig The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Addressing some technical debt:
Adding new stuff:
Addresses #193, potentially supersedes #350.