def update_rosdep(self): info("Running 'rosdep update'...") from rosdep2.catkin_support import update_rosdep try: update_rosdep() except: print_exc(traceback.format_exc()) error("Failed to update rosdep, did you run " "'rosdep init' first?") return code.ROSDEP_FAILED self.has_run_rosdep = True
def pre_branch(self, destination, source): # Run rosdep update is needed if not self.has_run_rosdep: info("Running 'rosdep update'...") from rosdep2.catkin_support import update_rosdep update_rosdep() self.has_run_rosdep = True # Determine the current package being generated name = destination.split('/')[-1] distro = destination.split('/')[-2] # Retrieve the stackage stackage, kind = self.packages[name] # Report on this package self.summarize_package(stackage, kind, distro)
def pre_branch(self, destination, source): # Run rosdep update is needed if not self.has_run_rosdep: info("Running 'rosdep update'...") from rosdep2.catkin_support import update_rosdep try: update_rosdep() except: print_exc(traceback.format_exc()) error("Failed to update rosdep, did you run " "'rosdep init' first?") return code.ROSDEP_FAILED self.has_run_rosdep = True # Determine the current package being generated name = destination.split('/')[-1] distro = destination.split('/')[-2] # Retrieve the stackage stackage, kind = self.packages[name] # Report on this package self.summarize_package(stackage, kind, distro)