Skip to content
This repository was archived by the owner on Jul 12, 2026. It is now read-only.

Add branch and tag cleanup script for repository restructuring - #33

Merged
SL-Mar merged 1 commit into
mainfrom
claude/assess-repo-quality-fR2Y1
Jan 26, 2026
Merged

Add branch and tag cleanup script for repository restructuring#33
SL-Mar merged 1 commit into
mainfrom
claude/assess-repo-quality-fR2Y1

Conversation

@SL-Mar

@SL-Mar SL-Mar commented Jan 26, 2026

Copy link
Copy Markdown
Owner

Summary

This PR introduces a comprehensive cleanup script that restructures the repository's branch and tag organization to properly reflect the project's versioning strategy and architecture evolution.

Key Changes

  • New script: fix-branches-and-tags.sh - Automated cleanup and reorganization script that:
    • Resets the main branch to restored v1.0.0 content from the claude/restore-main-v1.0.0-fR2Y1 branch
    • Merges v2.0.0 updates into the gamma branch from claude/update-gamma-v2.0.0-fR2Y1
    • Creates proper semantic version tags (v1.0.0, v1.1.0, v2.0.0) pointing to their respective branches
    • Removes deprecated v0.x tags (v0.1, v0.2, v0.3)

Implementation Details

  • Script uses set -e to exit on any errors, ensuring safe execution
  • Includes graceful error handling for tag deletion operations that may already be completed
  • Uses --force push for main branch reset and tag updates to override existing references
  • Provides clear progress indicators and final summary of the new repository structure
  • Documents the final state: main (v1.0.0 - quantcli), beta (v1.1.0 - quantcli), gamma (v2.0.0 - quantcoder)

Notes

This script should be run once to establish the new branch/tag structure. The force push operations will update the remote repository state.

Script to fix branch/tag mismatch:
- Resets main to restored beta content (v1.0.0)
- Updates gamma with v2.0.0 and testing warning
- Creates proper version tags (v1.0.0, v1.1.0, v2.0.0)
- Deletes deprecated v0.x tags
@SL-Mar
SL-Mar merged commit 126d44f into main Jan 26, 2026
4 of 14 checks passed
@SL-Mar
SL-Mar deleted the claude/assess-repo-quality-fR2Y1 branch January 26, 2026 11:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants