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

Skip to content

Conversation

@kbudde
Copy link
Member

@kbudde kbudde commented Dec 30, 2023

I did not find a clean way to integrate the cleanup into smartmode. So I added a dedicated command #130

@codecov
Copy link

codecov bot commented Dec 30, 2023

Codecov Report

Attention: 47 lines in your changes are missing coverage. Please review.

Comparison is base (053e89f) 47.54% compared to head (43285a7) 46.69%.
Report is 3 commits behind head on dev.

Files Patch % Lines
cmd/vendir/vendir.go 0.00% 33 Missing ⚠️
cmd/cleanup.go 0.00% 12 Missing ⚠️
cmd/root.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #198      +/-   ##
==========================================
- Coverage   47.54%   46.69%   -0.86%     
==========================================
  Files          26       28       +2     
  Lines        2509     2557      +48     
==========================================
+ Hits         1193     1194       +1     
- Misses       1131     1178      +47     
  Partials      185      185              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fritzduchardt fritzduchardt self-requested a review December 31, 2023 09:10
Copy link
Collaborator

@fritzduchardt fritzduchardt left a comment

Choose a reason for hiding this comment

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

Nicely done. The long description could be a touch more verbose.

As for how to integrate it into smart mode, why not run the current cleanup method every time the user renders in smart-mode?. Naturally, one would need to reinit environments first and ensure all are included in the environmentsmap.

@kbudde kbudde enabled auto-merge (squash) January 1, 2024 09:36
@kbudde kbudde merged commit 48fa589 into dev Jan 1, 2024
@kbudde kbudde deleted the cleanup branch January 1, 2024 09:39
mykso-bot added a commit that referenced this pull request Jan 7, 2024
# [3.2.0](v3.1.0...v3.2.0) (2024-01-07)

### Bug Fixes

* **deps:** update github.com/cppforlife/go-cli-ui digest to 9954948 ([#201](#201)) ([9836249](9836249))
* **deps:** update golang.org/x/exp digest to be819d1 ([#204](#204)) ([9928ad1](9928ad1))
* **deps:** update module golang.org/x/sync to v0.6.0 ([#205](#205)) ([d3b8ea0](d3b8ea0))
* **deps:** update module golang.org/x/term to v0.16.0 ([#206](#206)) ([002cfe0](002cfe0))
* **sync:** allow local paths in vendir config ([#191](#191)) ([73233eb](73233eb))

### Features

* **cleanup:** added dedicated command ([#198](#198)) ([48fa589](48fa589)), closes [#130](#130)
* **vendir:** embed vendir into myks ([#199](#199)) ([95ecfa8](95ecfa8))
This was referenced Oct 20, 2025
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.

3 participants