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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove okteto update #4346

Merged

Conversation

andreafalzetti
Copy link
Contributor

Signed-off-by: Javier Lopez [email protected]# Proposed changes

Fixes: DEV-433

Removing okteto update

CLI Quality Reminders 馃敡

For both authors and reviewers:

  • Scrutinize for potential regressions
  • Ensure key automated tests are in place
  • Build the CLI and test using the validation steps
  • Assess Developer Experience impact (log messages, performances, etc)
  • If too broad, consider breaking into smaller PRs
  • Adhere to our code style and code review guidelines

Signed-off-by: Andrea Falzetti <[email protected]>
Copy link

codecov bot commented Jun 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 32 lines in your changes missing coverage. Please review.

Project coverage is 43.77%. Comparing base (d284fb4) to head (4760d51).
Report is 4 commits behind head on ultra-mega-release-branch-3.0.

Additional details and impacted files
@@                        Coverage Diff                        @@
##           ultra-mega-release-branch-3.0    #4346      +/-   ##
=================================================================
+ Coverage                          43.75%   43.77%   +0.02%     
=================================================================
  Files                                369      368       -1     
  Lines                              29818    29803      -15     
=================================================================
  Hits                               13046    13046              
+ Misses                             15643    15628      -15     
  Partials                            1129     1129              

@andreafalzetti andreafalzetti changed the title feat: configure ci for 3.0 (#4338) remove okteto update Jun 17, 2024
cmd/update.go Outdated
},
}
}

// isUpdateAvailable checks if there is a new version available
func isUpdateAvailable(currentVersion *semver.Version) bool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO We should move all these functions into version.go and remove this file. WDYT?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant to do it and then forgot, thanks, done!

cmd/update.go Outdated
},
}
}

// isUpdateAvailable checks if there is a new version available
func isUpdateAvailable(currentVersion *semver.Version) bool {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@andreafalzetti andreafalzetti merged commit b4c9d37 into ultra-mega-release-branch-3.0 Jun 18, 2024
11 of 12 checks passed
@andreafalzetti andreafalzetti deleted the af/dev-433-remove-update-cmd branch June 18, 2024 10:04
andreafalzetti added a commit that referenced this pull request Jun 18, 2024
* remove okteto update

Signed-off-by: Andrea Falzetti <[email protected]>

* move func

* move func

* fix: linter

---------

Signed-off-by: Andrea Falzetti <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants