Skip to content

Add GitLab Integration (com.gorlix.gitlab) to catalog - #34

Merged
pikann merged 2 commits into
Paca-AI:masterfrom
gorlix:add-gitlab-plugin
Oct 19, 2026
Merged

pikann merged 2 commits into
Paca-AI:masterfrom
gorlix:add-gitlab-plugin

Conversation

@gorlix

@gorlix gorlix commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds com.gorlix.gitlab (v0.5.2) to catalog/plugins.json — connecting GitLab projects, merge requests, and branches to Paca projects and tasks.

Features

  • Encrypted access token per Paca project (Personal, Project, or Group access token).
  • Link / unlink GitLab projects and manage webhooks (push, merge requests, pipeline events).
  • Task-level MR & branch linking, reviews (approvals / comments), and pipeline CI status.
  • Automation triggers, conditions, and actions (gitlab.mr_linked, gitlab.mr_state, gitlab.merge_mr, etc.).
  • Bundled MCP tools and paca-gitlab-workflow skill.

Verification

  • Backend tests with race detector (go test -race ./...) all passing.
  • TinyGo wasip1 build verified in CI.
  • Frontend React and MCP bundles build without errors.
  • All 6 release artifact URLs tested and verified to resolve with HTTP 200:
    • gitlab-plugin-manifest.tar.gz (HTTP 200)
    • gitlab-backend-wasm.tar.gz (HTTP 200)
    • gitlab-frontend-dist.tar.gz (HTTP 200)
    • gitlab-migrations.tar.gz (HTTP 200)
    • gitlab-mcp-dist.tar.gz (HTTP 200)
    • gitlab-skills-bundle.tar.gz (HTTP 200)
  • catalog/plugins.json validated with jq.

Type of Change

New catalog entry (marketplace listing).

Checklist

  • Scoped change (one new entry in catalog/plugins.json).
  • Artifact URLs point to immutable GitHub release assets, verified reachable.
  • Stable reverse-DNS identifier (com.gorlix.gitlab).
  • SemVer version aligned with release tag (0.5.2 / v0.5.2).

@gorlix gorlix changed the title Add GitLab Integration (com.paca.gitlab) to catalog Add GitLab Integration (com.gorlix.gitlab) to catalog Oct 11, 2026
@gorlix
gorlix marked this pull request as ready for review October 13, 2026 14:01

@pikann pikann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the contribution! 🚀

@pikann
pikann merged commit 845d3a0 into Paca-AI:master Oct 19, 2026
@pikann

pikann commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Hi @gorlix ,

First of all, thank you for creating this plugin! It's a great piece of work.

Would it be alright if we forked the paca-plugin-gitlab repository to build upon it for the official Paca GitLab plugin? We'd love to reuse and build on top of your implementation

@gorlix

gorlix commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Hi @pikann !
Thank you so much, I'm honored that you want to use it as the foundation for the official plugin!

I am super interested in seeing this integrated into the official Paca project.
At the same time, I’d love to keep working on it and push it forward a bit more on my side, especially since I am currently developing an expansion for full project-level management rather than just a single repository (right now only on local branch).

Let's figure out how best to coordinate this so we don't duplicate work; whether we want to align on my current repository's upcoming features first or coordinate our roadmaps.

Let me know what you think!

@pikann

pikann commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Hi @gorlix ,

Thanks for the positive response!

Quick heads-up: in Paca's upcoming v0.20.0 release, we're moving all Git interaction logic directly into Paca main repository. Plugins will only need to define provider-specific function logic (you can check our updated paca-plugin-github as a reference).

This change allows agents to act as real project members, meaning users can mention or assign agents in PRs/issues to trigger conversations.

I wanted to share this early so you can factor it into your roadmap. Let me know if this aligns well with your plans!

@gorlix

gorlix commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Hi @pikann ,

Thanks for the update! Moving the core Git interaction logic into the main repository in v0.20.0 makes total sense.

Regarding my roadmap and how this fits into GitLab, here are a few key points and architectural thoughts:

  • Project-Level Management & Routing: I am currently expanding this to handle full project-level management. To manage multiple repositories cleanly, I'm designing a routing mechanism using short project keys mapping something like paca_proj-gitlab_proj-task_numb (eg TRIM-UI-200) to the correct GitLab project path and issue ID.

  • The Multi-Repo Token Challenge: An important architectural hurdle on GitLab is that standard Project Access Tokens are strictly bound to a single project. If the system relies on project-scoped keys, true multi-repo support becomes blocked. We will need the setup to support broader scopes (such as Group Access Tokens or Personal Access Tokens) to handle multiple repositories seamlessly.

  • Collaboration & Fork Setup: Given these architectural shifts in v0.20.0 and my expanded roadmap, how would you prefer to handle the repository setup? Should we move forward with a fork where I adapt this project-management layer to the new thin-plugin interface, or how would you like to structure our collaboration?

Let me know your thoughts!

@pikann

pikann commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Hi @gorlix ,

Thanks for the detailed thoughts!

Ah, my apologies, I forgot to mention that in v0.20.0, we’re moving away from PATs. Instead, Paca now connects to providers via GitHub/GitLab/Bitbucket Apps, which users install into their workspace. We also support multiple repositories from different providers within a single project (with an option where each agent can act as its own App). This allows seamless interaction simply by @mentioning the agent's App.

Regarding your issue ID mapping idea (TRIM-UI-200), that is absolutely brilliant! Honestly, I can't believe I didn't think of it earlier. Would you be open to building this directly into Paca as a PR? We’d be thrilled to have your contribution! (Note that this might require a small adjustment in plugin-sdk-go).

On the plugin front, we’ve forked your repository to Paca-AI/paca-plugin-gitlab to serve as our official GitLab plugin.

Thank you so much for your great work! Let me know what you think.

@gorlix

gorlix commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

@pikann,

That sounds like a solid plan! Since the v0.20.0 code and the updated plugin-sdk-go are not public yet, would it be possible to get a bit more technical details or a brief overview on how the new GitLab Apps authentication, event routing, and multi-repo context are handled under the hood in the core?

Once I have a better picture of the new architecture, I’d love to open a design issue with a text-based implementation proposal for the TRIM-UI-200 mapping before diving into the code.

Let me know how you'd like to share those details or if there are any design docs I can look into.
Excited to get started!

@pikann

pikann commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Hi @gorlix ,

Glad to hear that!

All the code for v0.20.0 is already merged into the master branches of both Paca and plugin-sdk-go, so feel free to check them out directly!

Regarding GitLab App authentication: while working through it, I realized GitLab lacks a seamless app creation flow equivalent to GitHub App Manifests. Because of this, I'm currently adjusting Paca's architecture. We're planning to keep supporting PATs for GitLab and other providers that don't support Manifest-style Apps, alongside redesigning the core flow to natively handle one project accessing multiple repositories simultaneously.

I'll update you as soon as we finish implementing this adjustment!

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.

2 participants