Skip to content

Conversation

@NucleoFusion
Copy link
Contributor

@NucleoFusion NucleoFusion commented Oct 28, 2025

Adding Retention support

  • Adding retention list command.
  • Adding retention create command.
  • Adding retention delete command.
2025-11-01.19-06-57.mp4

resolves #183
buids upon #364

@codecov
Copy link

codecov bot commented Oct 28, 2025

Codecov Report

❌ Patch coverage is 0% with 475 lines in your changes missing coverage. Please review.
✅ Project coverage is 6.21%. Comparing base (60ad0bd) to head (1180e49).
⚠️ Report is 62 commits behind head on main.

Files with missing lines Patch % Lines
pkg/api/retention_handler.go 0.00% 135 Missing ⚠️
cmd/harbor/root/tag/retention/create.go 0.00% 68 Missing ⚠️
pkg/views/retention/list/view.go 0.00% 59 Missing ⚠️
cmd/harbor/root/tag/retention/list.go 0.00% 52 Missing ⚠️
pkg/views/retention/create/view.go 0.00% 50 Missing ⚠️
cmd/harbor/root/tag/retention/delete.go 0.00% 48 Missing ⚠️
pkg/views/retention/select/view.go 0.00% 36 Missing ⚠️
cmd/harbor/root/tag/retention/cmd.go 0.00% 18 Missing ⚠️
pkg/prompt/prompt.go 0.00% 7 Missing ⚠️
cmd/harbor/root/tag/cmd.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             main    #564      +/-   ##
=========================================
- Coverage   10.99%   6.21%   -4.78%     
=========================================
  Files         173     268      +95     
  Lines        8671   13317    +4646     
=========================================
- Hits          953     828     -125     
- Misses       7612   12383    +4771     
  Partials      106     106              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@NucleoFusion NucleoFusion marked this pull request as ready for review November 1, 2025 13:49
@NucleoFusion NucleoFusion changed the title [WIP] Feature: Extending Retention Cmd PR Feature: Extending Retention Cmd PR Nov 4, 2025
@bupd bupd self-requested a review November 25, 2025 13:42
Althaf66 and others added 21 commits November 25, 2025 21:43
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>

fix lint issues

Signed-off-by: Rizul Gupta <[email protected]>

lint errors fix

Signed-off-by: Rizul Gupta <[email protected]>

minor fixes

Signed-off-by: Rizul Gupta <[email protected]>

uncomment login test

Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: Rizul Gupta <[email protected]>
Signed-off-by: NucleoFusion <[email protected]>
Signed-off-by: NucleoFusion <[email protected]>
Signed-off-by: NucleoFusion <[email protected]>
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.

Implement retention command

3 participants