This repository is erlang-rocksdb's fork of RocksDB, a persistent key-value store for fast storage.
It exists for two reasons: to provide a home for Erlang-specific patches, as necessary, and to ensure that RocksDB subtree in EnkiMultimedia/erlang-rocksdb has a controlled remote to point at.
- add
rocksdb
as a remote :
git remote add -f rocksdb https://github.com/EnkiMultimedia/rocksdb.git
- Updte the project to last release X.X.X.erl
git fetch rocksdb X.X.X.erl
git subtree pull --prefix deps/rocksdb rocksdb X.X.X.erl --squash
- push the change to origin
git push origin BRANCH
See the atlassian doc for more informations.
note: to create the initial folder as a subtree we run the command line :
git subtree add --prefix deps/rocksdb rocksdb X.X.X.erl --squash
-
Follow step one above.
-
Add an upstream remote and fetch from it.
$ git remote add upstream https://github.com/facebook/rocksdb $ git fetch upstream
-
Create and push a new branch with the desired start point:
$ git checkout -b X.X.X.erl RELEASE-TAG $ git push origin X.X.X.erl
-
Protect the branch from force-pushes in the repository settings. This is crucial in ensuring that we don't break commit references in [EnkiMultimedia/erlang-rocksdb][erlang-rocksdbb]'s submodules.
-
Follow steps three through six above.