-
Notifications
You must be signed in to change notification settings - Fork 289
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
Restructure pack client to pkg package #1315
Conversation
156330c
to
64a0d7b
Compare
Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
Before this change, the BuildpackDownloader leaked internal packages making it unusable as a library. The primary changes were to move dist and logging package to pkg. Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
64a0d7b
to
533c4e1
Compare
We are still using go1.14, io.Discard is available as of go1.16 Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
Codecov Report
@@ Coverage Diff @@
## main #1315 +/- ##
==========================================
- Coverage 80.46% 80.29% -0.16%
==========================================
Files 144 143 -1
Lines 9039 8998 -41
==========================================
- Hits 7272 7224 -48
- Misses 1301 1307 +6
- Partials 466 467 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
One question - what do you think of folding together the |
Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
I did actually do that as part of this PR but primarily because it caused a lot of circular dependencies. The plus side is the better UX as you mentioned. The |
Signed-off-by: Javier Romero <rjavier@vmware.com>
Signed-off-by: Javier Romero <rjavier@vmware.com>
224812c
to
7ee83ee
Compare
Summary
This is a major restructuring of certain packages to make them publically accessible as a go library.
It takes into consideration the proposed structure of RFC#82
Output
Before
After
Documentation
Related
Resolves #1245