Install josh-filter using cargo install josh-filter --git https://github.com/josh-project/josh.git --rev 68709d4cf3c92d71a3bb796f415db72ecf357d37 (TODO: investigate what's wrong with newer commits)
Install jujutsu.
Clone and setup the repo:
jj git clone https://github.com/kitlith/Dummy.Quic.git
cd Dummy.Quic
jj config set --repo 'revset-aliases."immutable_heads()"' "(present(ooxtuqvy)- ~ workflow::) | present(main@dotnet) | present(main@msquic)"./update_remotes.sh
# or, if you want to pull the latest commits from upstream:
UPDATE=1 ./update_remotes.shThis repo can be considered to be split into 4 parts:
- The segment that comes from dotnet
- The segment that comes from msquic
- The "workflow" branch
- Original idea behind this was that it's all the script and filter changes, since they don't themselves rely on any files that come from dotnet and msquic, so they can keep a consistent commit identity.
- I haven't been rigorous about keeping this up.
- The "main" branch, which is built on top of a merge commit that combines the other 3 segments, and is rebased when any of the other segments change.