New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: let core auto-detect configuration #52
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ghost
added
Complexity: Low
Less than 64 lines changed.
Type: Refactor
The pull request improves or enhances an existing implementation.
Status: In Progress
The issue or pull request is being worked on.
labels
Apr 16, 2019
👌 I will merge to a new branch so it can be changed in this repo |
ghost
removed
the
Status: In Progress
The issue or pull request is being worked on.
label
Apr 18, 2019
ghost
mentioned this pull request
Apr 21, 2019
ItsANameToo
pushed a commit
that referenced
this pull request
May 27, 2019
* feat: implement cli, alias & env caching (#52) * refactor: let core auto-detect configuration * refactor: copy configuration on start if the bridgechain directory exists * refactor: better configuration publishment check * feat: check core config on start * fix: var curly braces in strings * fix: move core config on start to after dir check * fix: navigate to core path for config setup * fix: check if .config directories don't exist * fix: args json return when already processed * feat: store env data * fix: use .config path * feat: create alias for bridgechain * fix: don't abort when stopping and no network * fix: path export in profile for vagrant * chore: remove comment * refactor: make core alias global * feat: update core package & cli output * fix: pass network into stop commands * feat: improvements to deployer setup (#53) * feat: peer install option * fix: drop current user if exists * fix: drop owned objects by current user if exists * fix: drop all core databases if exists * fix: allow for no owned databases * fix: don't sudo yarn * fix: git properties in sample config * refactor: check for empty core origin * fix: if pull fails, try master * fix: skip drop local user on failure * fix: ignore network reach on first start * fix: prefix if number * chore: set explorer ip default to all ips * chore: editorconfig for js deployer script * fix: milestones generation for rewards per block * fix: dynamic fees toggle * fix: license & git checks for null/empty * fix: list user's databases * feat: modify core install script * feat: use chain name as alias for core * fix: alias setup to correct path * fix: avoid global variable name clash * feat: force public core ip for explorer if 127 * refactor: only load env if no json * chore: deploy core 2.3.22 * fix: remove core published config * fix: prevent non-alphanum chars in chain name * refactor: improve for peer script * fix: multiline install.sh bug * feat: allow setting vendorfield length * fix: install.sh process * fix: remove exec at end of install.sh * refactor: blocktime all lowercase * fix: add vendorFieldLength to joi schema * fix: vendorFieldLength case in json * fix: use correct name for network * fix: re-add chain name for deployer config * fix: hardcoded paths for install.sh * refactor: remove peer install option * chore: add vendorfield length to readme & configs (#62)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Complexity: Low
Less than 64 lines changed.
Type: Refactor
The pull request improves or enhances an existing implementation.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After deployer has created all configurations we copy them to
$HOME/.config/TOKEN-core/*
and remove the usage ofCORE_PATH_CONFIG
so that core can auto-detect the configurations which also resolves the issue of having to manually copy over thedelegates.json
file.