def list_merged_issues_since_last_release(self, start): git_log = self._run_git_log(start) issues = self._process_log(git_log) reverse_list = issues[::-1] if self.testing == 3: eprint(str(type(issues)) + " - list: " + str(issues)) eprint(str(type(reverse_list)) + " - revr: " + str(reverse_list)) return reverse_list
def _find_latest_release(self, contents): try: for line in contents: if self._contains_a_release_in(line): return line except MergedBranch.MBError as exec: eprint("Exception: No release present in file.") eprint(exec) return ""
def layout(self, line): self._endpoint = \ self.fudge_factor_for_first_calculation_of_starting_point output = "" debug = False if debug: eprint("LineFormat.layout({})".format(line)) while self.segment_in_line_exists(line): output += self.copy_segment_from(line) output += "\n" + self._line_prefix output += line[self._starting_point:] if debug: eprint("lineformat.layout() = " + output) return output
def show(self): eprint("model: " + self.model) for version in self.milestones: self.milestones[version].show()
def show(self): eprint("\nversion: " + self.version) eprint("release: " + self.release_date) eprint("change_types: " + str(self._change_types.keys())) for group in sorted(self._change_types.keys()): eprint(" " + self._change_types[group].String())