"#"
This commit is contained in:
16
CHANGELOG.md
16
CHANGELOG.md
@@ -1,5 +1,21 @@
|
||||
# Changelog
|
||||
|
||||
## 2.1.0
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
_None._
|
||||
|
||||
### Features
|
||||
|
||||
- **`adopt` command for non-destructive existing subrepos**: `josh-sync adopt <target>` imports existing subrepo content into the monorepo, waits for the import PR to merge, then creates an adoption merge commit on the subrepo. The adoption merge uses the Josh-filtered monorepo commit as first parent and the existing subrepo commit as second parent, preserving old subrepo history while establishing Josh-compatible ancestry.
|
||||
- **Resumable adoption state**: adoption progress is stored on `josh-sync-state` at `<target>/adopt.json`, separate from sync and onboard state.
|
||||
|
||||
### Safety
|
||||
|
||||
- Adoption requires the subrepo tree to match the Josh-filtered monorepo tree before creating the merge commit.
|
||||
- Adoption pushes with a normal fast-forward push only. It never force-pushes.
|
||||
|
||||
## 2.0.0
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
Reference in New Issue
Block a user