Skip to content
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

Cleanup of comment creation #42

Merged
merged 4 commits into from
Aug 19, 2023
Merged

Conversation

harrisoncramer
Copy link
Owner

@harrisoncramer harrisoncramer commented Aug 19, 2023

This MR refactors the comment creation endpoint to use the go-gitlab native approach to comment creation.

It does not fix issues with creating comments on other lines like #25 points out. But hopefully it'll lay the groundwork for us fixing this in the future once we have a better way of detecting in the Lua code what values to send (primarily whether a line has been modified, added or deleted).

This will require more intelligent parsing of the GIT information of a given file when leaving the comment itself

@harrisoncramer harrisoncramer merged commit 27c54b4 into main Aug 19, 2023
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.

None yet

1 participant