ManoManoTech / homer

Homer is a Slack bot intended to help you to easily share and follow Gitlab merge requests.
MIT License
29 stars 10 forks source link

feat(optimize-project-search): Enhance project search to extract proj… #61

Closed M0nkeySan closed 1 week ago

M0nkeySan commented 1 week ago

Why

When searching for GitLab projects, users sometimes provide full repository URLs instead of project names. The current implementation does not handle these URLs effectively, potentially leading to unsuccessful searches.

What

Implement a smart URL parsing mechanism in the searchProjects function that:

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.40%. Comparing base (5a2164c) to head (6cbbf8b). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #61 +/- ## ========================================== + Coverage 78.35% 78.40% +0.05% ========================================== Files 94 94 Lines 1917 1922 +5 Branches 341 343 +2 ========================================== + Hits 1502 1507 +5 Misses 406 406 Partials 9 9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.