What is the “workflow” when you want to create/test a patch for a library that is installed via opam. Note: The sources of the library are on Github.
After reading the documentation of opam, It looks like I just should do :
- clone the source of the lib localy
- create a branch
opam pin package local_clonein order to tell opam to use the local sources for the installation of package
opam install packagein order to install the modified version
- test the modifications
- send a Pull Request
opam pin remove packagein order to let opam use the normal sources to install pacakge.
Is it the good way to do it ?