def pre_rebase(self, destination): name = destination.split('/')[-1] return ReleaseGenerator.pre_rebase( self, destination, "Releasing package '{0}' for '{1}' to: '{2}'".format( name, self.rosdistro, destination ) )
def handle_arguments(self, args): self.rosdistro = args.rosdistro return ReleaseGenerator.handle_arguments(self, args)
def prepare_arguments(self, parser): # Add command line arguments for this generator add = parser.add_argument add('rosdistro', help="ROS distro to target (groovy, hydro, etc...)") return ReleaseGenerator.prepare_arguments(self, parser)
def prepare_arguments(self, parser): # Add command line arguments for this generator add = parser.add_argument add('rosdistro', help="ROS distro to target (%s, etc.)" % get_distro_list_prompt()) return ReleaseGenerator.prepare_arguments(self, parser)