code: func (b *MiloBuildLegacy) BuildSummary() *BuildSummary {
  	if b == nil {
  		return nil
  	}
  	result := &BuildSummary{
  		Link:          b.Summary.Label,
  		Status:        b.Summary.Status,
  		PendingTime:   b.Summary.PendingTime,
  		ExecutionTime: b.Summary.ExecutionTime,
  		Text:          b.Summary.Text,
  		Blame:         b.Blame,
  	}
  	if b.Trigger != nil {
  		result.Revision = &b.Trigger.Commit
  	}
  	return result
  }
docs: // BuildSummary returns the BuildSummary representation of the MiloBuildLegacy.  This
  // is the subset of fields that is interesting to the builder view.