Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dipankardas011
Copy link
Member

@dipankardas011 dipankardas011 commented Apr 21, 2025

πŸ—’οΈ Changelog

πŸ” Review Checklist

  • Code follows project style guidelines
  • Added/updated tests
  • Ran tests locally
  • Updated documentation
  • Checked Contribution Guidelines

πŸ“Έ Screenshots/Recordings

πŸ“Œ Additional Notes


πŸ’‘ PR best practices
  • Keep changes focused and atomic
  • Update tests and documentation
  • Check for conflicts with main branch
  • Respond promptly to review comments
  • Follow project coding standards
  • Make sure you are using pre-commit for that run this command $ pre-commit install

Signed-off-by: Dipankar Das <[email protected]>
Signed-off-by: Dipankar Das <[email protected]>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a notification banner prompting users to update to the latest ksctl release. It updates logger formatting, implements an update cache mechanism, and integrates update checking and notification into the commands.

  • Updated logger formatting to center align titles and content.
  • Added a new update cache to track update checks.
  • Integrated update checking and notification into the CLI commands.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
pkg/logger/general_logging.go Adjusted styling and alignment of the logging output.
pkg/config/cache.go Added update cache logic to persist update check information.
cmd/update.go Introduced update check and notification on self-update commands.
cmd/root.go Integrated update checking in the root command initialization.

@dipankardas011 dipankardas011 merged commit 6497713 into main Apr 21, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants