Provide a list of attribute names which changed, closes #54

This commit is contained in:
Graham Christensen 2018-02-09 21:22:34 -05:00
parent f9a9a33285
commit 55e869e539
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -466,8 +466,21 @@ impl<E: stats::SysEvents> worker::SimpleWorker for MassRebuildWorker<E> {
let mut rebuild_tags = RebuildTagger::new();
if let Some(attrs) = rebuildsniff.calculate_rebuild() {
let gist_url = make_gist(
&gists,
String::from("Changed Paths"),
None,
attrs
.iter()
.map(|attr| format!("{}\t{}", &attr.architecture, &attr.package))
.collect::<Vec<String>>()
.join("\n"),
);
rebuild_tags.parse_attrs(attrs);
overall_status.set_url(gist_url);
}
update_labels(
&issue,
rebuild_tags.tags_to_add(),