[PR #109] [MERGED] Implement a migration tool from LDAP #549

Closed
opened 2026-02-27 08:17:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/109
Author: @nitnelave
Created: 12/8/2021
Status: Merged
Merged: 12/8/2021
Merged by: @nitnelave

Base: mainHead: migration


📝 Commits (6)

  • f12e200 migration: Implement import from LDAP
  • 8b83e62 docker: add migration-tool to the image
  • 4f3a2c8 server: fix command line version stuck at 0.1
  • 5b7e5fe docker,git: ignore more files
  • 8b4c70e app: fix clippy warning
  • 8cf1781 server: fix clippy warning

📊 Changes

18 files changed (+1474 additions, -24 deletions)

View changed files

📝 .dockerignore (+11 -5)
📝 .github/workflows/rust.yml (+2 -3)
📝 .gitignore (+3 -3)
📝 Cargo.lock (+250 -3)
📝 Cargo.toml (+4 -1)
📝 Dockerfile (+4 -3)
📝 app/src/infra/cookies.rs (+2 -4)
migration-tool/Cargo.toml (+23 -0)
migration-tool/queries/add_user_to_group.graphql (+5 -0)
migration-tool/queries/create_group.graphql (+6 -0)
migration-tool/queries/create_user.graphql (+5 -0)
migration-tool/queries/list_groups.graphql (+9 -0)
migration-tool/queries/list_users.graphql (+5 -0)
migration-tool/src/ldap.rs (+432 -0)
migration-tool/src/lldap.rs (+506 -0)
migration-tool/src/main.rs (+205 -0)
📝 server/src/infra/auth_service.rs (+1 -1)
📝 server/src/infra/cli.rs (+1 -1)

📄 Description

Fixes #47

This is an interactive migration tool, not really suitable for scripting.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/109 **Author:** [@nitnelave](https://github.com/nitnelave) **Created:** 12/8/2021 **Status:** ✅ Merged **Merged:** 12/8/2021 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `migration` --- ### 📝 Commits (6) - [`f12e200`](https://github.com/lldap/lldap/commit/f12e200c3472684bfd67e43e55efa47311579c8d) migration: Implement import from LDAP - [`8b83e62`](https://github.com/lldap/lldap/commit/8b83e627268592ba2959d409a2bf06d2da26d14b) docker: add migration-tool to the image - [`4f3a2c8`](https://github.com/lldap/lldap/commit/4f3a2c8d312dae7474bba098305852c548a6c9d9) server: fix command line version stuck at 0.1 - [`5b7e5fe`](https://github.com/lldap/lldap/commit/5b7e5fe0e276cc24ede0f4c12dfc7d2801e2cb63) docker,git: ignore more files - [`8b4c70e`](https://github.com/lldap/lldap/commit/8b4c70e6c8c98f5620ef43e238ee4d17d5e257df) app: fix clippy warning - [`8cf1781`](https://github.com/lldap/lldap/commit/8cf1781e650d5e4239b014648a593a2d24486f7a) server: fix clippy warning ### 📊 Changes **18 files changed** (+1474 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `.dockerignore` (+11 -5) 📝 `.github/workflows/rust.yml` (+2 -3) 📝 `.gitignore` (+3 -3) 📝 `Cargo.lock` (+250 -3) 📝 `Cargo.toml` (+4 -1) 📝 `Dockerfile` (+4 -3) 📝 `app/src/infra/cookies.rs` (+2 -4) ➕ `migration-tool/Cargo.toml` (+23 -0) ➕ `migration-tool/queries/add_user_to_group.graphql` (+5 -0) ➕ `migration-tool/queries/create_group.graphql` (+6 -0) ➕ `migration-tool/queries/create_user.graphql` (+5 -0) ➕ `migration-tool/queries/list_groups.graphql` (+9 -0) ➕ `migration-tool/queries/list_users.graphql` (+5 -0) ➕ `migration-tool/src/ldap.rs` (+432 -0) ➕ `migration-tool/src/lldap.rs` (+506 -0) ➕ `migration-tool/src/main.rs` (+205 -0) 📝 `server/src/infra/auth_service.rs` (+1 -1) 📝 `server/src/infra/cli.rs` (+1 -1) </details> ### 📄 Description Fixes #47 This is an interactive migration tool, not really suitable for scripting. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:17:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#549
No description provided.