-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update operator-sdk to the latest version #19466
Comments
During work on this issue we faced with a very big dependency upgrade. We analyzed about 580 dependencies(initially it was even 616), created green list of them: For another dependencies we created plenty big CQ list: https://gist.github.com/AndrienkoAleksandr/eddc8b47a1510585e70386a2d4af4df3 We wrote and generated using script(https://github.com/AndrienkoAleksandr/clearly-defined-scripts/blob/main/createClearDefinedCurations.sh) 192 curation pull requests for 197 dependencies to make “clearlydefined” analyze of this dependencies... And we are awaiting to merge these pr's to see the full picture: https://github.com/clearlydefined/curated-data/pulls/AndrienkoAleksandr And I wrote a draft script https://github.com/AndrienkoAleksandr/clearly-defined-scripts/blob/main/validateDependencies.sh . This script should validate golang dependencies for projects which support go modules. So we want to automate dependency checks, because manual checks aren't reliable and require impressive a lot of the time. This time would be better spent for development. == Implementation details validateDependencies.sh Proposal (that's my own opinion) === Implementation
Then script using golang imports evaluates real source locations AndrienkoAleksandr/clearly-defined-scripts@2538658#diff-e65f4ea80c1f3af3549f7dc08b6b452681e71e4294d7b83aa854cdbdd6fce5ceR59 . After that script retrieves commit hash for dependency AndrienkoAleksandr/clearly-defined-scripts@2538658#diff-851887bef5577b975f44b02ae208ccb9ca3bb6614bbf14a86f6900f31997d764R162-R171 . Then we make request to “clearlydefined” api to estimate dependency licence rate:
=== Migration this script to the dependency analyze tool It would be nice to migrate this script to the java code implementation of the Eclipse project https://github.com:eclipse/dash-licenses.git. I think we can do that in two steps:
One more optional proposal. Should be separated issue and topic for discussion:
===Limitations:
|
Is your enhancement related to a problem? Please describe.
For the time being che-operator uses operator-skd v0.17.2.
It is quite old. The latest version is v1.5.0
Describe the solution you'd like
Update operator-sdk to the latest v1.5.0 version
It is prerequisite for #19408
Since DWCO [1] has a newer project structure we have to update operator-sdk and che-operator project structure to easily merge codebase.
[1] https://github.com/che-incubator/devworkspace-che-operator
The text was updated successfully, but these errors were encountered: