Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions Cache/Requests.lean
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,7 @@ def getRemoteRepo (mathlibDepPath : FilePath) : IO RepoInfo := do
isDetachedAtNightlyTesting

if shouldUseNightlyTesting then
-- Try to use nightly-testing remote
let repo ← getRepoFromRemote mathlibDepPath "nightly-testing"
s!"Branch '{branchName}' should use the nightly-testing remote, but it's not configured.\n\
Please add the nightly-testing remote pointing to the nightly testing repository:\n\
git remote add nightly-testing https://github.com/leanprover-community/mathlib4-nightly-testing.git"
let repo := "leanprover-community/mathlib4-nightly-testing"
let cacheService := if useFROCache then "Cloudflare" else "Azure"
IO.println s!"Using cache ({cacheService}) from nightly-testing remote: {repo}"
return {repo := repo, useFirst := true}
Expand Down
Loading