Skip to content

refactor(group-ldap-links): migrate group ldap links processor to python-gitlab - #1428

Merged
rickbrouwer merged 3 commits into
gitlabform:mainfrom
rickbrouwer:refactor-5-group-ldap-links
Sep 28, 2026
Merged

rickbrouwer merged 3 commits into
gitlabform:mainfrom
rickbrouwer:refactor-5-group-ldap-links

Conversation

@rickbrouwer

Copy link
Copy Markdown
Collaborator

Migrate group-ldap-links processor to python-gitlab.

Number 3 from #1359.

@rickbrouwer
rickbrouwer force-pushed the refactor-5-group-ldap-links branch from ededc74 to 4ba0de2 Compare September 14, 2026 18:04
@rickbrouwer
rickbrouwer deployed to Integrate Pull Request September 14, 2026 18:05 — with GitHub Actions Active
@rickbrouwer
rickbrouwer deployed to Integrate Pull Request September 14, 2026 18:05 — with GitHub Actions Active
@rickbrouwer
rickbrouwer marked this pull request as ready for review September 14, 2026 18:29

@amimas amimas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

A few places have GitLab's API attributes referenced. Is it possible to avoid it?

Comment thread gitlabform/gitlab/__init__.py
@rickbrouwer

Copy link
Copy Markdown
Collaborator Author

A few places have GitLab's API attributes referenced. Is it possible to avoid it?

I don't think we can avoid it. The config entries are keyed by an alias, so to match them against the existing links we have to compare the fields that identify a link (provider + cn or filter). It's the same pattern as title in the deploy keys processor and name in badges.

@rickbrouwer
rickbrouwer deployed to Integrate Pull Request September 26, 2026 17:11 — with GitHub Actions Active
@rickbrouwer
rickbrouwer deployed to Integrate Pull Request September 26, 2026 17:11 — with GitHub Actions Active

@amimas amimas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for clarifying the earlier inquiries. I missed something earlier but otherwise it looks good, I think.

Comment thread gitlabform/processors/group/group_ldap_links_processor.py Outdated
@rickbrouwer
rickbrouwer force-pushed the refactor-5-group-ldap-links branch from 4500662 to 0dc16ab Compare September 27, 2026 18:50
@rickbrouwer
rickbrouwer deployed to Integrate Pull Request September 27, 2026 18:50 — with GitHub Actions Active
@rickbrouwer
rickbrouwer deployed to Integrate Pull Request September 27, 2026 18:50 — with GitHub Actions Active
@rickbrouwer
rickbrouwer enabled auto-merge (squash) September 27, 2026 18:51
@rickbrouwer
rickbrouwer deployed to Integrate Pull Request September 28, 2026 06:38 — with GitHub Actions Active
@rickbrouwer
rickbrouwer deployed to Integrate Pull Request September 28, 2026 06:38 — with GitHub Actions Active
@rickbrouwer
rickbrouwer merged commit ee0faff into gitlabform:main Sep 28, 2026
23 checks passed

This branch was successfully deployed

1 active deployment
Integrate Pull Request — 2da84ea5 Deployed Sep 28, 2026 by rickbrouwer via Acceptance Tests / GitLab Premium #267
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