update: enforce space/parent and support page moves
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by tracing the update command and its existing frontmatter reconciliation, then compare it with fix, which already handles space and parent as read-only. Read the client code around content operations and add the v1 content/{id}/move method. Define and test behavior for cross-space or missing-parent moves, including how update reports them and how --dry-run behaves.
Written by the indexing model from the issue text.
Description
update currently publishes body + title + page width but ignores space and parent from frontmatter. Make it reconcile them against the live page and move the page when they differ.
Scope:
- Compare frontmatter
space/parentto the live page; if they differ, move the page. - Use the v1
content/{id}/moveendpoint (v2 has no move); add the client method. - Decide behavior when a move isn't possible (cross-space, missing parent) — error vs. warn.
- Interaction with
fix(which already reconciles these read-only) and with--dry-run(#(dry-run issue)).
This was explicitly deferred during the port.
- Dominant language
- Go
- Stars
- 2
- Forks
- 0
- Avg merge
- 2h 5m
- Merged PRs (30d)
- 50
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/markfluence
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
mozilla/markfluence#181 · 1 comment ·
-
polish the prose Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
mozilla/markfluence#165 ·
-
bug
Difficulty 5/5 Over a week Newbie friendliness 48/100
mozilla/markfluence#163 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
mozilla/markfluence#162 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mozilla/markfluence#157 ·
All issues in mozilla/markfluence
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100