I wonder if there's merit to exploring using the `...
# proj-agent
n
I wonder if there's merit to exploring using the
python-gitlab
library as the main way of encouraging interacting with GitLab .... it's pretty small, overall ... and would likely integrate better into OH workflows as a native python module than calling rando cli commands corespondingly, I wonder if there are equivalently functional py modules for github, bitbucket, gittea/forgejo, et al... I ask, as the interface it presents when installed is a shell-accessible
gitlab
command which has many faces for functional interaction.... seems like it might make the process of "INTERACTING WITH CODE HOST" more consistent... This comes up because I have noticed that the agent will regularly create merge requests that have no content.... because its received instruction to use the 'create_mr' tool which WILL create a MergeRequest; but doesn't handle the
commit-yer-code-to-a-branch
nor the
push-your-working-branch-upstream
parts of 'getting code into the default branch' workflow.... and I wondered if perhaps part of what's generally missing is workflow management in general...
c
https://github.com/All-Hands-AI/OpenHands/blob/500ab46918ec55bd3ecfda6e966a62eb869ad1ca/microagents/gitlab.md#L4 I bet we can add instructions here to teach the agent to use "gitlab"in CLI? I wonder if gitlab have smth similar to
gh
n
they do… both are a lil fucky… gitlab makes the ‘glab’ tool and python-gitlab both are available as a docker container. glab is buildable/installable. i make my own containers of both, and build my own glab binary… but https://github.com/gl-cli/glab https://python-gitlab.readthedocs.io/en/stable/