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

Any plans to support GitLab? #76

Open
woswos opened this issue Aug 17, 2024 · 3 comments
Open

Any plans to support GitLab? #76

woswos opened this issue Aug 17, 2024 · 3 comments
Labels
kind/question Further information is requested

Comments

@woswos
Copy link

woswos commented Aug 17, 2024

Hi, the project looks cool, thanks for working on this. Are there any plans to support GitLab?

@pvcnt
Copy link
Owner

pvcnt commented Aug 17, 2024

Hi there, thanks for the kind words! Supporting other hosting services than GitHub was definitely something I had in mind, but I was unsure where to put it in my roadmap.

It’s definitely doable, but I desperately lack of experience with GitLab. And once GitLab support is here, every new feature will have to be implemented for both GitHub and GitLab.

I suppose I would hence need some help from somebody more knowledgeable in GitLab than I am, and ideally able to support the integration later on, to the best of their ability of course.

@pvcnt pvcnt added the kind/question Further information is requested label Aug 19, 2024
@woswos
Copy link
Author

woswos commented Aug 21, 2024

@pvcnt If you make the backend design more modular from the very beginning, people can have an easier time implementing new hosting services to work with the frontend. I also use Gitea and would love to see Gitea support, too.

For example, if you design a shared interface for what your app needs at a high level and call the services through that interface only, GitLab and other services can be added to the backend without actually changing the frontend.

interface ServiceProvider {
    getName()
    listChangeRequests()
    ....
}

@pvcnt
Copy link
Owner

pvcnt commented Aug 21, 2024

What can be more complex though is the semantics around the search query itself for example. For GitHub the search query is parsed and transformed, we would need similar logic for otter backends.

GitLab is fairly well documented but I do not see much for Gitea. Does it have an API for searching pull requests? And a search query syntax?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants