Home | History | Annotate | Download | only in patman

Lines Matching refs:series

14 from series import Series
32 # Patch series tag
33 re_series_tag = re.compile('^Series-([a-z-]*): *(.*)')
35 # Commit series tag
54 """Class for detecting/injecting tags in a patch or series of patches
61 def __init__(self, series, name=None, is_log=False):
68 self.notes = [] # Series notes
70 self.series = series # Info about the patch series
79 """Add a new Series-xxx tag.
81 When a Series-xxx tag is detected, we come here to record it, if we
86 name: Tag name (part after 'Series-')
87 value: Tag value (part after 'Series-xxx: ')
93 self.series.AddTag(self.commit, line, name, value)
112 self.series.AddCommit(self.commit)
118 self.series.cover = self.section
188 self.series.cover = self.section
191 self.series.notes += self.section
203 self.warn.append("Missing 'blank line' in section 'Series-changes'")
210 self.series.cover = self.section
213 self.series.notes += self.section
259 self.series.AddChange(self.in_change, self.commit, line)
262 # Detect Series-xxx tags
330 log = self.series.MakeChangeLog(self.commit)
386 series = None, allow_overwrite=False):
387 """Reads out patch series metadata from the commits
396 series: Series object to add information into. By default a new series
400 A Series object containing information about the commits.
402 if not series:
403 series = Series()
404 series.allow_overwrite = allow_overwrite
408 ps = PatchStream(series, is_log=True)
412 return series
415 """Reads out patch series metadata from the commits
432 seriesSeries()
433 ps = PatchStream(series, is_log=True)
437 return series
439 def FixPatch(backup_dir, fname, series, commit):
449 series: Series information about this patch set
457 ps = PatchStream(series)
469 def FixPatches(series, fnames):
475 series: The series object
482 commit = series.commits[count]
484 result = FixPatch(backup_dir, fname, series, commit)
493 def InsertCoverLetter(fname, series, count):
498 series: Series object
499 count: Number of patches in the series
506 text = series.cover
507 prefix = series.GetPatchPrefix()
519 if series.get('notes'):
520 line += '\n'.join(series.notes) + '\n'
523 out = series.MakeChangeLog(None)