-
Notifications
You must be signed in to change notification settings - Fork 102
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
[TEP-0079] Refactor get_resource and get_resource_version for multiple hub support #752
[TEP-0079] Refactor get_resource and get_resource_version for multiple hub support #752
Conversation
4eede25
to
b3b8ff3
Compare
Part of: #691 |
/cc @vinamra28 @PuneetPunamiya @pratap0007. Could you please help take a look 😄 |
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.
The overall patch looks good, but should we have one command in the working stage with the artifact hub api
b3b8ff3
to
99b698e
Compare
@PuneetPunamiya. Just discussed with @vinamra28, the details for implementation is in this PR (which is based on this one). The other PR is pretty big so that's why I split it to 2 ones so that it is easier to get quick feedback and the review for the other one is easier. Can we merge this PR and I will rebase #757? |
/lgtm |
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.
overall PR looks good to me
/lgtm
No functionality change in this PR. Prior to this change, the Hub CLI supports only 1 type of Hub (Tekton Hub). This commit 1) refactors the `ResourceResult` and `ResourceVersionResult` to interfaces; 2) creates THResourceResult and THResourceVersionResult structs implementing the interfaces, keeping original support for Tekton Hub; 3) creates AHResourceResult and AHResourceVersionResult for Artifact Hub, implementations will be added in later PRs.
99b698e
to
60a677a
Compare
Thanks for the patch 🤙🏻 |
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: PuneetPunamiya 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 |
/lgtm |
Part of #691. No functionality change in this PR. Prior to this change, the Hub CLI supports only 1 type of Hub (Tekton Hub).
This commit
ResourceResult
andResourceVersionResult
to interfaces;Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make api-check
make ui-check
See the contribution guide for more details.