Skip to content

Conversation

@ruhan1
Copy link
Contributor

@ruhan1 ruhan1 commented Jan 29, 2026

Summary

  • Added new REST endpoint POST /vol/all to repair volume URLs for all Koji remote repositories at once
  • Implemented repairAllVol() method in KojiRepairManager to process all Koji remotes in parallel using executor service
  • Added repairRepositoryVol() helper method to update individual repository URLs by replacing the storage root portion while preserving the /brewroot/ suffix
  • Supports dry-run mode to preview changes without applying them

🤖 Generated with Claude Code

This change adds a new REST endpoint to repair volume URLs for all Koji remote repositories at once, replacing the storage root URL for repositories containing /brewroot/ in their URL.

Changes:
- Add repairAllVol() method in KojiRepairManager to process all Koji remotes
- Add repairRepositoryVol() helper method to update individual repository URLs
- Add new REST endpoint POST /vol/all in KojiRepairResource
- Add VOL_ALL constant in IndyKojiConstants

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@ruhan1 ruhan1 force-pushed the koji-repair-all-volumes branch from 3748172 to a5584ed Compare January 29, 2026 03:40
@ruhan1 ruhan1 requested a review from sswguo January 29, 2026 08:34
@sswguo
Copy link
Member

sswguo commented Jan 29, 2026

LGTM.

@ruhan1 ruhan1 merged commit 3717952 into Commonjava:master Jan 29, 2026
1 check passed
@ruhan1 ruhan1 deleted the koji-repair-all-volumes branch January 29, 2026 10:25
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