Closed andreeaflorescu closed 4 years ago
Instructions:
Get the commit sha of the current commit. The following commands need to be run in the git repository where the submodule needs to be updated:
cd rust-vmm-ci
OLD_COMMIT=`git rev-parse HEAD`
Get the pretty print of commits:
git log --abbrev-commit --pretty=oneline ${OLD_COMMIT}..HEAD
Add the submodule update to a new commit:
# Change the directory to the root directory of the repo
cd ..
git add rust-vmm-ci
git commit -s
For the commit message use the text from step 2, but remove any branch information that it might contains. The text should only have a list of sha1 and a short descriptions.
Add contribution guidelines about how to update the rust-vmm-ci version.
We could make it easier to trace changes by listing the summary of newly introduced commits. This can be in a contributing.md file, along with other thing we find useful.
Example of such commit: https://github.com/rust-vmm/event-manager/commit/90b55ec098f1675aac1a06be0aaeae9109ecb64d