boot-clj / boot-clj/boot

aot task should not make network calls

Open
#494 0 comments 2 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Clojure
Stars
1.7k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

`aot` task uses aether to resolve dependencies, with the default of `:retrieve true`. This causes `aot` to talk to maven repos over the network, even when all the deps are already resolved locally.

This violates the "functional pipeline" idea, where one would expect to be able to fully resolve deps in one task, and then have `aot` just do aot. And it is a problem for locked-down environments that e.g. do not use clojars or maybe even want to run aot when not connected to the network

Changing `aot`'s use of aether to `:retrieve false` might be sufficient to fix this, I don't know enough about aether to be sure.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.