Branch model: develop is behind main (foundation PR #1 merged into main, not develop) #4
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?
Observation
developandmainare out of sync, in the opposite direction from whatCONTRIBUTING.mddescribes:maincontains the full Phase 0 foundation (README, CONTRIBUTING, CHANGELOG, allmeta/policies/, ADR-0001,docs/).developcontains onlyREADME.md— the bare scaffold commit (93e6b1d).This happened because PR #1 ("Add Arkive project foundation documents") was merged into
main, whiledevelopwas never updated.Why it matters
CONTRIBUTING.mdstates the intended model:Right now
developcan't serve as the integration branch — it's missing the foundation that feature work (e.g. the Issue #3 schemas) depends on. Any branch cut fromdeveloplacks the policies, CHANGELOG, etc.Good news: the fix is zero-risk
developis a direct ancestor ofmain(git merge-base --is-ancestor develop main→ true). There is no divergence and nothing to merge —developcan be fast-forwarded straight up tomainwith no conflicts and no merge commit.Recommended fix
developtomainsodevelop == main.develop→ PRs intodevelop→ promote tomainfor releases.Decision needed
mainand treatdevelopdifferently).feature/issue-3-metadata-schemas-v0.1is currently based onmain(so it has the foundation); oncedevelopis synced it can targetdevelopcleanly either way.Issue resolved.
develop has been brought back in sync with the foundation work that was accidentally merged into main through PR #1.
Resolution performed:
Current branch state now confirms that:
Note: the original recommended fix was a clean fast-forward, but because a revert commit had already been created on develop, the repair was completed by merging main back into develop to restore the missing foundation content.
Closing as fixed.