Skip to content

Commit 517d03c

Browse files
Merge pull request #82 from RoboStack/traversaro-patch-3
Add docs on full rebuild to contributing.md
2 parents dc97770 + 8dc82c1 commit 517d03c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/Contributing.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,14 @@ pixi run build
7070
- The `packages_remove_from_deps` list allows you to never build packages, even if they are listed as dependencies of other packages, by removing them from the dependencies of other packages. We use it for e.g. the stage simulator which is not available in conda-forge, but is listed as one of the dependencies of the ros-simulator metapackage.
7171
- If you want to rebuild a package (for example because it had a problem for which you added a patch), set it build number explicitly in the `pkg_additional_info.yaml` file. Note that this will not update the package, unless the `rosdistro_snapshot.yaml` file is also updated (and that typically happens only for full rebuild)
7272
- The `robostack.yaml` and `packages-ignore.yaml` files are the equivalent of the [rosdep.yaml](http://wiki.ros.org/rosdep/rosdep.yaml) and translate ROS dependencies into conda package names (or in the case of the dependencies listed in `packages-ignore.yaml` the dependencies are ignored by specifying an empty list).
73+
74+
# Doing a full rebuild
75+
76+
A "full rebuild" is a rebuild of all packages for a given distro, that is typically done to update the version of ROS packages contained in a RoboStack channel, and to build against new versions of dependencies provided by conda-forge.
77+
78+
When doing a full rebuild, please follow these guidelines:
79+
- Refresh the `rosdistro_snapshot.yaml` by running `vinca snapshot` (this is the only step that actually queries rosdistro, directly from the repo and independently from sync).
80+
- Refresh the `conda_build_config.yaml` file to reflect the current status of conda-forge plus migrations that are basically finished even if not updated in conda-forge-pinnings (see https://conda-forge.org/status/ for a list of ongoing migrations and their status; if in doubt, please ask the RoboStack maintainers).
81+
- Bump the `build_number` in `vinca_*.yaml` files to a version higher than any existing build number (considering the overriden build numbers in `pkg_additional_info.yaml`).
82+
- Bump the minor number of the mutex_package in `vinca_*.yaml`, and manually search for any hardcoded number for `ros-distro-mutex` or `ros2-distro-mutex` in `additional_recipes`
83+
- Remove any `build_number` override in `pkg_additional_info.yaml`.

0 commit comments

Comments
 (0)