Skip to content

fix: gitignore mutable zallet configs to prevent git pull conflicts#31

Open
gustavovalverde wants to merge 1 commit intodevfrom
fix/gitignore-mutable-configs
Open

fix: gitignore mutable zallet configs to prevent git pull conflicts#31
gustavovalverde wants to merge 1 commit intodevfrom
fix/gitignore-mutable-configs

Conversation

@gustavovalverde
Copy link
Copy Markdown
Member

Summary

  • Ship .default templates (tracked) for zallet configs, gitignore the live copies
  • regtest-init.sh auto-seeds from .default before modifying
  • README Quick Start includes cp -n to seed on first run

Problem

Following the README produces dirty tracked files:

  • config/zallet.toml — user edits network for testnet
  • config/regtest/zallet.tomlregtest-init.sh injects pwhash

These cause conflicts on git pull.

Verified

Both mainnet and regtest paths tested end-to-end:

  • Configs seed correctly from .default
  • Compose validates and starts
  • git diff shows zero tracked changes after setup

Users following the README modify config/zallet.toml (network setting)
and regtest-init.sh modifies config/regtest/zallet.toml (pwhash).
These tracked files caused conflicts on git pull.

- Ship .default templates (tracked) alongside gitignored live copies
- regtest-init.sh and CI seed from .default automatically
- zaino configs stay tracked (never modified by users/scripts)
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.

1 participant