From a931ff9ace5844f2736f50ba8a15c3591e8eb5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lohrer?= Date: Wed, 5 Nov 2025 06:12:34 +0100 Subject: [PATCH] Docs: Add filter examples to QUICKSTART.md - Added --filter option examples for repository imports - Included practical filter patterns (posts/*/index.md, etc.) - Removed experimental warning as feature is now tested - Added real-world example with FOERBICO repository --- QUICKSTART.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/QUICKSTART.md b/QUICKSTART.md index 0ee30cd..80e13c5 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -43,14 +43,26 @@ source .venv/bin/activate python workflow.py posts.yaml ``` -### 3. Ganzes Repository (Forgejo/Gitea) ⚠️ Experimentell +### 3. Ganzes Repository (Forgejo/Gitea) +**Alle Markdown-Dateien importieren:** ```bash source .venv/bin/activate python workflow.py --repo "https://codeberg.org/user/repo" main ``` -**Hinweis:** Diese Funktion wurde noch nicht ausgiebig getestet. Nutzen Sie zunächst Modus 1 oder 2. +**Nur bestimmte Dateien importieren (mit Filter):** +```bash +source .venv/bin/activate +python workflow.py --repo "https://git.rpi-virtuell.de/Comenius-Institut/FOERBICO_und_rpi-virtuell" main --filter 'Website/content/posts/*/index.md' +``` + +**Filter-Beispiele:** +- `'posts/*/index.md'` - Nur index.md in posts/-Unterverzeichnissen +- `'Website/content/posts/*/index.md'` - Mit vollständigem Pfad +- `'content/*.md'` - Alle .md-Dateien direkt in content/ + +**Hinweis:** Der Filter unterstützt Wildcards (`*`) für Verzeichnisnamen. ## Schnellstart-Schritte