prefix-dev / rip

Solve and install Python packages quickly with rip (pip in Rust)
https://prefix.dev
BSD 3-Clause "New" or "Revised" License
643 stars 21 forks source link

feat: adds the ability to use the server age while requesting available artifacts #227

Closed tdejager closed 3 months ago

tdejager commented 6 months ago

Adds an option to the PackageDb to trust the server age for requests regarding available_artifacts. This saves us from doing a bunch of requests. Also adds --use-server-timout to binary for testing this.