A collection of scripts to wrangle branches, especially in a stacked-diff context in repos where the main branch keeps updating.
Requirements: Git 2.38+ (relies on rebase --update-refs).
Add to your shell rc file (.zshrc / .bashrc):
A collection of scripts to wrangle branches, especially in a stacked-diff context in repos where the main branch keeps updating.
Requirements: Git 2.38+ (relies on rebase --update-refs).
Add to your shell rc file (.zshrc / .bashrc):
| """ | |
| Generate type descriptions for ROS interface packages as JSON files! | |
| Usage: (Remember to source your ROS distro first!) | |
| ``` | |
| # Generate type description for a single ROS interface | |
| python3 gen.py --interface_type <pkg>/(msg|srv)/<type> | |
| # Generate type description for all ROS interfaces in a package | |
| python3 gen.py --target_package <pkg_name> |
| repositories: | |
| ament/ament_cmake: | |
| type: git | |
| url: https://github.com/ament/ament_cmake.git | |
| version: rolling | |
| ament/ament_index: | |
| type: git | |
| url: https://github.com/ament/ament_index.git | |
| version: rolling | |
| ament/ament_lint: |
| import yaml | |
| import os | |
| import re | |
| from collections import defaultdict | |
| # PARAMS =========================================================================================== | |
| PATH = "." | |
| BUMP_TARGETS = ["ign-cmake", "ign-tools", "ign-plugin", "ign-utils"] |
| import multiprocessing as mp | |
| import time | |
| def producer(shared, end_event): | |
| count = 0 | |
| while not end_event.is_set(): | |
| time.sleep(1/30) | |
| count += 1 |