Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/ofborg
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1c1ccc8c7e04
Choose a base ref
...
head repository: NixOS/ofborg
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d4d4da9eee13
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 2, 2020

  1. Copy the full SHA
    d4d4da9 View commit details
Showing with 6 additions and 1 deletion.
  1. +6 −1 ofborg/src/tasks/evaluate.rs
7 changes: 6 additions & 1 deletion ofborg/src/tasks/evaluate.rs
Original file line number Diff line number Diff line change
@@ -174,12 +174,17 @@ impl<'a, E: stats::SysEvents + 'static> OneEval<'a, E> {

let mut builder = hubcaps::statuses::StatusOptions::builder(state);
builder.context("grahamcofborg-eval");
builder.description(description);
builder.description(description.clone());

if let Some(url) = url {
builder.target_url(url);
}

info!(
"Updating status on {}:{} -> {}",
&self.job.pr.number, &self.job.pr.head_sha, &description
);

self.repo
.statuses()
.create(&self.job.pr.head_sha, &builder.build())