mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[PR #137] [MERGED] feat(sharepoint): add path option to sync a single library folder #127
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/oikb/pull/137
Author: @pakalov
Created: 10/2/2026
Status: ✅ Merged
Merged: 10/10/2026
Merged by: @tjbck
Base:
main← Head:feature/sharepoint-root-path📝 Commits (1)
419a66dfeat(sharepoint): add path option to sync a single library folder📊 Changes
4 files changed (+124 additions, -3 deletions)
View changed files
📝
docs/guide.md(+13 -0)📝
src/oikb/cli.py(+1 -1)📝
src/oikb/connectors/sharepoint.py(+4 -2)➕
tests/test_sharepoint.py(+106 -0)📄 Description
Summary
The SharePoint connector always scans from the library root. The
pathoption that the GitHub, GitLab, S3 and similar connectors support for choosing a subfolder is ignored forsharepoint:sources.This adds an optional
root_pathtoSharePointConnector, wired to the existingpath:key in.oikb.yamland to--source-path. When set:read_fileprefixes the root again, so downloads still resolve correctly.path.Behaviour is unchanged when
pathis not set.Without this, a library folder can only be synced as
Exceptions/...inside the KB. A source URL such as.../Docs/Exceptionsdoes not work either, because the parser treats the third segment as the library name.Notes
path:.docs/guide.md.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.