mirror of
https://github.com/Noratrieb/does-it-build.git
synced 2026-01-14 18:35:01 +01:00
Add support for more recent nightlies than the manifest supports
This commit is contained in:
parent
262e8acd9f
commit
4671f871a6
4 changed files with 131 additions and 6 deletions
|
|
@ -15,7 +15,7 @@ use tracing::{debug, info};
|
|||
|
||||
use crate::{
|
||||
db::{BuildMode, Db, FullBuildInfo, Status},
|
||||
nightlies::Nightlies,
|
||||
nightlies::{Nightlies, NightlyCache},
|
||||
};
|
||||
|
||||
pub struct Toolchain(String);
|
||||
|
|
@ -36,8 +36,9 @@ impl Display for Toolchain {
|
|||
}
|
||||
|
||||
pub async fn background_builder(db: Db) -> Result<()> {
|
||||
let mut nightly_cache = NightlyCache::default();
|
||||
loop {
|
||||
let nightlies = Nightlies::fetch().await.wrap_err("fetching nightlies")?;
|
||||
let nightlies = Nightlies::fetch(&mut nightly_cache).await.wrap_err("fetching nightlies")?;
|
||||
let already_finished = db
|
||||
.finished_nightlies()
|
||||
.await
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue