Skip to content

Commit 3933369

Browse files
committed
2 parents 56acdc7 + 2667241 commit 3933369

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

skeleton.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,26 @@ For example, here's a session of the [path project](https://pypi.org/project/pat
4646

4747
Thereafter, the target project can make whatever customizations it deems relevant to the scaffolding. The project may even at some point decide that the divergence is too great to merit renewed merging with the original skeleton. This approach applies maximal guidance while creating minimal constraints.
4848

49+
## Periodic Collapse
50+
51+
In late 2020, this project [introduced](https://github.com/jaraco/skeleton/issues/27) the idea of a periodic but infrequent (O(years)) collapse of commits to limit the number of commits a new consumer will need to accept to adopt the skeleton.
52+
53+
The full history of commits is collapsed into a single commit and that commit becomes the new mainline head.
54+
55+
When one of these collapse operations happens, any project that previously pulled from the skeleton will no longer have a related history with that new main branch. For those projects, the skeleton provides a "handoff" branch that reconciles the two branches. Any project that has previously merged with the skeleton but now gets an error "fatal: refusing to merge unrelated histories" should instead use the handoff branch once to incorporate the new main branch.
56+
57+
```
58+
$ git pull https://github.com/jaraco/skeleton 2020-handoff
59+
```
60+
61+
This handoff needs to be pulled just once and thereafter the project can pull from the main head.
62+
63+
The archive and handoff branches from prior collapses are indicate here:
64+
65+
| refresh | archive | handoff |
66+
|---------|-----------------|--------------|
67+
| 2020-12 | archive/2020-12 | 2020-handoff |
68+
4969
# Features
5070

5171
The features/techniques employed by the skeleton include:

0 commit comments

Comments
 (0)