Skip to content

refactor!: Consolidate repositories into monorepo structure (#49) #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 15, 2025

Conversation

a-klos
Copy link
Member

@a-klos a-klos commented Jul 15, 2025

Description

This PR consolidates multiple sub-repositories into a unified monorepo structure, significantly improving the development experience and project organization. The migration preserves the original commit history while reorganizing the codebase into a more maintainable structure.

Key Changes

  • Monorepo Structure: Migrated all services, libraries, and infrastructure components into a single repository
  • Preserved History: Original commit history is maintained in the archived repositories rag-core-library and rag-infrastructure
  • Improved Organization:
    • Services consolidated under /services/ directory
    • Shared libraries moved to /libs/ directory
    • Infrastructure components organized under /infrastructure/
  • Enhanced Tooling: Updated build scripts, CI/CD workflows, and development tools for monorepo compatibility

Impact

  • Files Changed: 607 files
  • Lines Added: 55,900 insertions
  • Lines Removed: 10,212 deletions
  • Repository Structure: Complete reorganization into monorepo format

Benefits

  • Simplified dependency management across components
  • Improved code sharing and reusability
  • Unified development workflow
  • Better CI/CD pipeline integration
  • Enhanced developer experience with consolidated tooling

Breaking Changes

⚠️ This is a major structural change - existing development workflows and deployment processes may need to be updated to accommodate the new monorepo structure.

Testing

  • All existing tests have been migrated and updated
  • CI/CD workflows validated with the new structure
  • Build processes verified across all components

Dependencies

  • No new external dependencies introduced
  • Internal dependencies restructured for monorepo compatibility

Note: This consolidation represents a significant architectural improvement for the RAG template project, making it easier to maintain and develop across all components.

a-klos added 8 commits July 15, 2025 12:53
Migrated multiple sub-repositories into the main monorepo structure.
This commit contains the combined history and code from the original
repositories. The original commit history is preserved in the archived
repositories.

Thank you for contributing to the RAG Core Library!

Please ensure your PR meets the following requirements:

- [ ] **PR Title**: Follow the format "type: description"

- Refer to the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
for more details.

- [ ] **PR Description**: Replace this checklist with:

  - **Description:** Provide a detailed description of the changes made.
  - **Issue:** Mention the issue number this PR fixes, if applicable.
  - **Dependencies:** List any dependencies required for this change.

Additional Guidelines:

- Ensure your code follows established coding conventions
- Include relevant tests and documentation updates.
- If no one reviews your PR within a few days, please @-mention a-klos.

Thank you for your contribution!
…, and UUID generation; include tests for date utility
@a-klos a-klos merged commit 9301d31 into main Jul 15, 2025
15 checks passed
@a-klos a-klos deleted the dev-main branch July 15, 2025 12:13
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.

1 participant