For general information on how to use ocrd_all, please see the README.
Thank you for being interested in contributing to ocrd_all!
If you have any questions, feel free to ask them in the OCR-D gitter chat.
- Create a new branch with any name, e.g.
git checkout -b update-$(date +'%Y-%m-%d') - Selectively update submodules in a way that makes sense to you. To upgrade
all submodules to the latest upstream versions, run
./release.sh update. To update only a specific submodule, such asocrd_cis, run./release.sh update ocrd_cis. Or update individual submodules manually:cd <submodule>; git pull origin master(replacemasterif you want to merge another branch instead) - Manually check with
git statusthat the changes are consistent with what you want to update in the PR. git add/git commitgit pushto yourocrd_allfork on GitHub- Open a new PR for that branch (The
git pushrequest will show you the right URL)
You need to be a "Maintainer" or "Admin" to merge pull requests.
- Wait for CI to successfully finish (ensuring that the
maximumimage can be built) - Do not merge on GitHub. Do the following locally:
- Check out the
masterbranch locally,git pullto make sure it's up-to-date andgit submodule update --init --recursiveto reset the submodules to the state in master. - Merge the PR branch:
git merge pr-branch - Update the submodules to the new state:
git submodule update --recursive --init - Generate the changelog:
./release.sh changelog. - Inspect the CHANGELOG.md and remove superfluous information like merge commits or spurious newlines. Copy the new section to the clipboard (see step 9)
- Release to GitHub with
./release.sh release-github. This will take care of committing, tagging and pushing the release. - Create a new release on GitHub, paste the new changelog section as the release notes.