bottlerocket-os / bottlerocket-os/twoliter

Lookaside cache should be specified in Twoliter.toml

Open
#254 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
34
Forks
43
Avg merge
11h 13m
Merged PRs (30d)
16

Description

Currently, if a user wants to override the location of the lookaside cache, they have to do so with a BUILDSYS_ environment variable that is passed to the Twoliter build variant and build kit commands. Instead, this should be provided in the user's Twoliter.toml file.

---

This feels like a `Twoliter.toml` sort of concern - letting developers specify a list of allowed caches, or at least set the cache URL globally for their project.

_Originally posted by @bcressey in https://github.com/bottlerocket-os/twoliter/pull/249#discussion_r1622540756_

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the BUILDSYS_ environment variable reaches the Twoliter build variant and build kit commands, then inspect the project's Twoliter.toml handling. Clarify whether the configuration should support a global cache URL or a list of allowed caches. Done means users can specify the lookaside cache in Twoliter.toml without relying on the environment variable.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.