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

Commits on Nov 2, 2019

  1. nixpkgs-rs: build .passthru.tests too

    Fixes #368
    Ekleog committed Nov 2, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    edolstra Eelco Dolstra
    Copy the full SHA
    50f5232 View commit details

Commits on Apr 2, 2020

  1. Merge pull request #410 from Ekleog/run-passhtru-tests

    nixpkgs-rs: build .passthru.tests too
    grahamc authored Apr 2, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    edolstra Eelco Dolstra
    Copy the full SHA
    4093eae View commit details
Showing with 3 additions and 2 deletions.
  1. +3 −2 ofborg/src/tasks/eval/nixpkgs.rs
5 changes: 3 additions & 2 deletions ofborg/src/tasks/eval/nixpkgs.rs
Original file line number Diff line number Diff line change
@@ -312,18 +312,19 @@ impl<'a> NixpkgsStrategy<'a> {
.keys()
.map(|pkgarch| pkgarch.package.clone())
.filter(|pkg| possibly_touched_packages.contains(&pkg))
.flat_map(|pkg| vec![pkg.clone(), pkg + ".passthru.tests"].into_iter())
.collect();
try_build.sort();
try_build.dedup();

status.set_url(None);
status.set(hubcaps::statuses::State::Success)?;

if !try_build.is_empty() && try_build.len() <= 10 {
if !try_build.is_empty() && try_build.len() <= 20 {
// In the case of trying to merge master in to
// a stable branch, we don't want to do this.
// Therefore, only schedule builds if there
// less than or exactly 10
// less than or exactly 20
Ok(vec![BuildJob::new(
self.job.repo.clone(),
self.job.pr.clone(),