Closed sweep-ai[bot] closed 5 months ago
This is an automated message generated by Sweep AI.
# this prints hello world; print('hello world')
.This is an automated message generated by Sweep AI.
Rerun this and resolve merge conflicts against main branch
PR Feedback (click)
Description
This pull request encompasses changes necessary to transition from handling GitHub webhooks for issue creation to handling GitLab webhooks. It modifies the API endpoint to accept GitLab webhooks, updates the issue and pull request handling logic to work with GitLab's API, and introduces utility functions for interacting with GitLab.
Summary
handle_github_webhook
withhandle_gitlab_webhook
insweepai/api.py
to process incoming GitLab webhook events.webhook
togitlab_webhook
and updated the expected header fromX-GitHub-Event
toX-GitLab-Event
.sweepai/handlers/on_ticket.py
. This includes fetching and updating issues, adding assignees, and handling merge requests.sweepai/utils/gitlab_utils.py
containing utility functions such asget_gitlab_client
for authenticating with the GitLab API, and functions for issue and comment management.Fixes #77.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can:
This is an automated message generated by Sweep AI.