-
Notifications
You must be signed in to change notification settings - Fork 20
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
[new feature] GitLab integration #341
Comments
Can I work on this? |
@eleensmathew, sure, this issue has been assigned to you! ;) |
Hey can you unassign me from this issue? I am not familiar with rust. |
Hi, I would like to give it a go, please. I'm planning to integrate with GLab CLI for now. Should I also add tests for it in |
Not sure if tests are even possible for this kind of thing, create a dummy repository on GitLab, give agent the key, and ask to create an issue, and then delete it? |
I see, thank you for clarifying this, will give it a try! |
Hi @olegklimov , I've completed the first iteration of the integration, but struggling to figure out how to test it (or use the agentic tools in general). What api do I use to access them? I understand I need to |
Sure, take a look at my screenshot here #340 and try to reproduce it, should be more clear how it's supposed to work |
It's the --experimental flag :D target/debug/refact-lsp --address-url Refact --api-key XXXX --http-port 8001 --experimental --workspace-folder ~/code/project_with_git --logs-stderr and "npm run dev" in |
This is a test comment by github tool |
Just what I was looking for, thanks! The code is very similar to the github integration, but it seems to work! Please lmk if you spot any issues or would like me to change something Just checked and creating comments works too (although it prompted me to add the remote repo to my local git repo). What an amazing tool! PR: #386 |
Gitlab is a service analogous to Github. We don't have to always support Microsoft that owns github, do we?
Let's make a Gitlab integration and make Refact work with issues, merge requests, maybe CI, etc. For functionality you can look at what Github integration provides: creating issues, commenting, searching.
It's not clear at this point if they have a command line utility or REST API in Gitlab. Both can be integrated quite easily, a change to only 2 files required (1 file for the new integration, and
tools_description.rs
)CONTRIBUTING
The text was updated successfully, but these errors were encountered: