You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Contributing.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,9 @@ Sometimes, it may be required to patch the packages. An example of how to do so
30
30
6. Create a patch file with `git diff > changes.patch`
31
31
7. Check that the patch contains the intended changes
32
32
8. Move the file into the `patches` directory of this repository, renaming it according to the naming convention. If the changes are portable across all supported operating system, the file should be called `<package name>.patch`; otherwise, `<package name>.<win/linux/osx>.patch`
33
-
9. Rerun `pixi run build` to ensure that the patching succeeds and the package builds without errors
34
-
10. Commit the new file, push to your fork and create a PR
33
+
9. In some cases the `recipe.yaml` generated needs also a patch (eg. add a conda dependency), in those scenarios a `add_host` key needs to be added to `patch/dependencies.yaml`[example](https://github.com/RoboStack/ros-noetic/blob/bd1d2f44fcbfb02a31c464e51a761fb0fdc32ec0/patch/dependencies.yaml#L15-L17)
34
+
10. Rerun `pixi run build` to ensure that the patching succeeds and the package builds without errors
35
+
11. Commit the new file, push to your fork and create a PR
35
36
36
37
## Extending an existing patch file
37
38
@@ -47,13 +48,13 @@ To make code review easier, please consider manually porting the new hunks into
0 commit comments