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: 85af305936b8
Choose a base ref
...
head repository: NixOS/ofborg
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a1d1f1209ffa
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 14, 2018

  1. Copy the full SHA
    d311591 View commit details
  2. Merge pull request #197 from LnL7/tag-macos

    massrebuilder: add darwin label for titles including macOS
    grahamc authored Jul 14, 2018
    Copy the full SHA
    a1d1f12 View commit details
Showing with 4 additions and 1 deletion.
  1. +4 −1 ofborg/src/tasks/massrebuilder.rs
5 changes: 4 additions & 1 deletion ofborg/src/tasks/massrebuilder.rs
Original file line number Diff line number Diff line change
@@ -62,7 +62,10 @@ impl<E: stats::SysEvents> MassRebuildWorker<E> {

fn tag_from_title(&self, issue: &hubcaps::issues::IssueRef) {
let darwin = issue.get()
.map(|iss| iss.title.to_lowercase().contains("darwin"))
.map(|iss| {
iss.title.to_lowercase().contains("darwin") ||
iss.title.to_lowercase().contains("macos")
})
.unwrap_or(false);

if darwin {