-
Notifications
You must be signed in to change notification settings - Fork 15
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
internal types package #293
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Associated issue: #101 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Skipping CI for Draft Pull Request. |
fc31283
to
02579cd
Compare
/test all |
@skattoju: No jobs can be run with
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. |
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.
Two things.
- Are you thinking that this will be uses somewhere other than the capability package? That's not clear here.
- I'm not a fan of the 'types' package. If anything, I'd rather see this turn into a 'stack' package.
Not seeing it at the moment but potentially yes.
The types package would have both options and stack types for now.. could call it util or something more generic. options is needed by both reports and capability (#294 ) Stack on the other hand although used only in capability is generic by design and even though it's not used anywhere today could be used in the future ? But not seeing it being used anywhere else at the moment as you pointed out.. |
Until we do, I think it's fine to stay where it is.
Util is worse. :) And as I pointed out in #294, options should stay where it is.
Let's not prematurely reorganize things if there is no immediate need to do so. |
@bcrochet @skattoju I would vote for a list package. That thing mimics a little bit a Python list somehow and could be improved to have other features. And I think that can actually be put on an actual pkg folder and not internal. It is useful anywhere already. This is the reason I opened the issue. Besides that, moving it won't harm the project in any way. |
|
This would still be internal and wouldn't really change things up too much. Open to alternative suggestions to types.Stack could also close this one and leave things as is lmk what y'all think. |
Closing since there is no explicit need at this time. |
Description of PR
This PR moves the generic stack implemenetation currently in the capabilities package to a more generic place the current proposal being a types
package under the internal package.
Fixes #278
Changes (required)
Deprecations (optional)
Checklist (required)
References (optional)