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

Refactor odo specific packages like url, storage etc #4115

Closed
2 of 7 tasks
mik-dass opened this issue Oct 13, 2020 · 8 comments
Closed
2 of 7 tasks

Refactor odo specific packages like url, storage etc #4115

mik-dass opened this issue Oct 13, 2020 · 8 comments
Labels
area/refactoring Issues or PRs related to code refactoring priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)).
Milestone

Comments

@mik-dass
Copy link
Contributor

mik-dass commented Oct 13, 2020

/kind code-refactoring

Acceptance Criteria

odo specific packages like storage, url etc should have interface so that it becomes easier to use and mock them.

The packages we are scoping for refactoring are

@girishramnani
Copy link
Contributor

I would suggest breaking this into smaller tasks if we want to include all packages

@mik-dass
Copy link
Contributor Author

I would suggest breaking this into smaller tasks if we want to include all packages

Yes, we would break this into smaller tasks once a framework for the packages is designed.

@girishramnani girishramnani added this to the Post v2.0 milestone Oct 20, 2020
@mik-dass
Copy link
Contributor Author

I have added the doc regarding the refactoring here https://docs.google.com/document/d/1miLfw0m0nWGmoBsYr9jkHp0mFSSXW84eLv_dSRC8Sm4/edit?usp=sharing. @metacosm @girishramnani @kadel @adisky @dharmit Please have a look and share your feedback.

@dharmit
Copy link
Member

dharmit commented Dec 4, 2020

@mik-dass you've done a great job of separating the code into different files especially at occlient and kclient level. I think you had something for url package that was more interface-y. Are you planning to open a PR for it?

@girishramnani you mentioned that you were going to work on the config part of context package. However, I don't think @adisky will be working further on context package refactor. Can you please share how you plan to take this further?

@dharmit
Copy link
Member

dharmit commented Dec 4, 2020

Either this has to be done on a high priority or completely dropped. We can't keep dragging refactoring task into sprints if it's not making sense to anyone to work upon. Can't keep just @mik-dass working on it all the time.

@kadel @girishramnani @adisky

/priority high

@openshift-ci-robot openshift-ci-robot added the priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). label Dec 4, 2020
@mik-dass
Copy link
Contributor Author

mik-dass commented Dec 4, 2020

@mik-dass you've done a great job of separating the code into different files especially at occlient and kclient level. I think you had something for url package that was more interface-y. Are you planning to open a PR for it?

The PR #4185 was an concept. I clean it up and it will be ready for review.

@dharmit
Copy link
Member

dharmit commented Mar 16, 2021

Closing this since we already refactored url and storage packages and we can reference that for further refactoring, if any.

/close

@openshift-ci-robot
Copy link
Collaborator

@dharmit: Closing this issue.

In response to this:

Closing this since we already refactored url and storage packages and we can reference that for further refactoring, if any.

/close

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.

@rm3l rm3l added the area/refactoring Issues or PRs related to code refactoring label Jun 19, 2023
@rm3l rm3l added this to odo Project Jun 19, 2023
@rm3l rm3l moved this to Done ✅ in odo Project Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/refactoring Issues or PRs related to code refactoring priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)).
Projects
Archived in project
Development

No branches or pull requests

6 participants