Provide a list of attribute names which changed, closes #54
This commit is contained in:
parent
f9a9a33285
commit
55e869e539
|
@ -466,8 +466,21 @@ impl<E: stats::SysEvents> worker::SimpleWorker for MassRebuildWorker<E> {
|
||||||
|
|
||||||
let mut rebuild_tags = RebuildTagger::new();
|
let mut rebuild_tags = RebuildTagger::new();
|
||||||
if let Some(attrs) = rebuildsniff.calculate_rebuild() {
|
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);
|
rebuild_tags.parse_attrs(attrs);
|
||||||
|
overall_status.set_url(gist_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
update_labels(
|
update_labels(
|
||||||
&issue,
|
&issue,
|
||||||
rebuild_tags.tags_to_add(),
|
rebuild_tags.tags_to_add(),
|
||||||
|
|
Loading…
Reference in a new issue