Debian OCaml Packaging Policy | ||
---|---|---|
Prev | Appendix D. Using Git for packaging |
We have not yet decided on how to deal with patches in upstream (this topic is under discussion). Possibilities include direct commits in the master branch, use of TopGit and quilt-serialized patches, and raw quilt or dpatch.
Patches can be serialized using Git. Two tools are used to apply and save the patches in debian/patches/series.
dom-apply-patches: Creates the branch patch-queue and checkout it. Then, it applies all patches listed in debian/patches/series.
dom-save-patches:
Move back to branch master
Save all patches present in branch patch-queue (where each commit represents a patch to upstream) in debian/patches/
Update debian/patches/series
Remove branch patch-queue
The branch patch-queue is used only locally and should never be pushed.