Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Mubashwer/git-mob
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.0
Choose a base ref
...
head repository: Mubashwer/git-mob
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.9.1
Choose a head ref
  • 6 commits
  • 15 files changed
  • 2 contributors

Commits on Jun 17, 2025

  1. refactor: split coauthor_repo into team_member_repo and mob_session_repo

    This refactoring improves separation of concerns by splitting a single
    coauthor repository into two distinct repositories with clear responsibilities:
    
    **TeamMemberRepo (team_member_repo.rs):**
    - Manages the persistent registry of team members
    - Handles CRUD operations for individual team members (add, remove, list, get)
    
    **MobSessionRepo (mob_session_repo.rs):**
    - Manages the active mob programming session state
    - Handles adding/removing coauthors from the current session
    - Manages the temporary list of active collaborators
    - Handles clearing of mob session
    
    **Benefits:**
    - **Single Responsibility Principle**: Each repository has one clear purpose
    - **Better testability**: Can mock and test each concern independently
    - **Clearer API**: Method names like `team_member_repo.add()` vs `mob_repo.add_coauthor()`
      make the intent explicit
    - **Reduced coupling**: Mob session management is decoupled from member management
    - **Domain clarity**: Aligns code structure with the conceptual model of mob programming
    
    **Usage Pattern:**
    1. Use TeamMemberRepo to manage your team roster (persistent)
    2. Use MobSessionRepo to manage who's active in the current session (temporary)
    
    This separation makes the codebase more maintainable and the domain model
    more explicit, following the principle that different lifecycle concerns
    should be managed separately.
    Mubashwer committed Jun 17, 2025
    Configuration menu
    Copy the full SHA
    6a3ed40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebe06f8 View commit details
    Browse the repository at this point in the history
  3. refactor: reorganize repository files into repositories module

    - Move mob_session_repo.rs and team_member_repo.rs to src/repositories/
    - Create repositories/mod.rs with clean re-exports
    - Update commands/mod.rs with clean re-exports
    Mubashwer committed Jun 17, 2025
    Configuration menu
    Copy the full SHA
    41aad51 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9099356 View commit details
    Browse the repository at this point in the history
  5. fix: update dependencies to resolve yanked futures-util security warning

    - Updated futures crates from 0.3.28 to 0.3.31 to fix yanked dependency
    - Resolved cargo audit warning for futures-util vulnerability
    - Updated 89 packages to latest compatible versions
    
    Fixes security advisory for yanked crate in dependency tree:
    futures-util 0.3.28 → 0.3.31
    Mubashwer committed Jun 17, 2025
    Configuration menu
    Copy the full SHA
    ebb739b View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2025

  1. Configuration menu
    Copy the full SHA
    709fab9 View commit details
    Browse the repository at this point in the history
Loading