Skip to content

Document FOC_DEVNET_BASEDIR environment variable#53

Merged
redpanda-f merged 2 commits intofeat/redpanda/configurable-base-dirfrom
copilot/sub-pr-52
Jan 30, 2026
Merged

Document FOC_DEVNET_BASEDIR environment variable#53
redpanda-f merged 2 commits intofeat/redpanda/configurable-base-dirfrom
copilot/sub-pr-52

Conversation

Copy link
Contributor

Copilot AI commented Jan 30, 2026

Addresses review feedback on #52 requesting documentation for the FOC_DEVNET_BASEDIR environment variable introduced in that PR.

Changes

  • README_ADVANCED.md: Added "Environment Variables" section documenting:

    • Purpose: Override default ~/.foc-devnet directory location
    • Use cases: Multiple isolated environments, custom storage paths, CI/CD pipelines
    • Tilde expansion support (~/custom-path)
    • Example usage including running parallel isolated instances
    • Directory structure when custom base directory is set
  • README.md: Added brief mention in "Programmable" feature section linking to detailed documentation

Usage Example

# Run isolated test environments in parallel
export FOC_DEVNET_BASEDIR=~/foc-env-1
foc-devnet init && foc-devnet start

# In another terminal
export FOC_DEVNET_BASEDIR=~/foc-env-2
foc-devnet init && foc-devnet start

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP Address feedback on FOC_DEVNET_BASERDIR support implementation Document FOC_DEVNET_BASEDIR environment variable Jan 30, 2026
Copilot AI requested a review from redpanda-f January 30, 2026 06:52
@redpanda-f redpanda-f marked this pull request as ready for review January 30, 2026 06:53
@redpanda-f redpanda-f merged commit 30eff9a into feat/redpanda/configurable-base-dir Jan 30, 2026
@redpanda-f redpanda-f deleted the copilot/sub-pr-52 branch January 30, 2026 06:54
redpanda-f added a commit that referenced this pull request Feb 2, 2026
* add: FOC_DEVNET_BASERDIR support

* Document FOC_DEVNET_BASEDIR environment variable (#53)

* Initial plan

* Add documentation for FOC_DEVNET_BASEDIR environment variable

Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

* fix: edge case: FOC_DEVNET_BASEDIR is set but empty

* Update Cargo.toml

Co-authored-by: Rod Vagg <rod@vagg.org>

* add: testing around ENV_VAR

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants