Skip to content

feat(basectl): automatic devnet detection#35

Open
0xEdmundo wants to merge 1 commit intobase:mainfrom
0xEdmundo:feat/devnet-auto-detection
Open

feat(basectl): automatic devnet detection#35
0xEdmundo wants to merge 1 commit intobase:mainfrom
0xEdmundo:feat/devnet-auto-detection

Conversation

@0xEdmundo
Copy link

Closes #34

What changed?

Added automatic devnet configuration detection when -c devnet is passed to basectl.

Implementation

  • When basectl -c devnet is called, it searches for .devnet/basectl.yaml starting from the current directory and traversing up to parent directories
  • If found, loads the configuration from that file
  • If not found, returns a helpful error message

How to test

  1. Run just devnet in the base/base repo to start devnet
  2. Create .devnet/basectl.yaml with your config
  3. Run basectl -c devnet to verify auto detection works

Tests

  • Added test_devnet_config_not_found test
  • All existing tests pass (3/3)

Closes base#34

- Add devnet auto-detection when -c devnet is passed
- Search for .devnet/basectl.yaml in current directory and parents
- Add test for devnet config not found error
@cb-heimdall
Copy link
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

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.

feat(basectl): automatic devnet detection

2 participants