Skip to content
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 18 commits into from Apr 18, 2019
Merged

refactor: let core auto-detect configuration #52

merged 18 commits into from Apr 18, 2019

Conversation

faustbrian
Copy link
Contributor

After deployer has created all configurations we copy them to $HOME/.config/TOKEN-core/* and remove the usage of CORE_PATH_CONFIG so that core can auto-detect the configurations which also resolves the issue of having to manually copy over the delegates.json file.

@ghost 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
@alexbarnsley
Copy link
Member

👌 I will merge to a new branch so it can be changed in this repo

@alexbarnsley alexbarnsley changed the base branch from master to feat/implement-cli April 16, 2019 15:40
@alexbarnsley alexbarnsley changed the base branch from feat/implement-cli to develop April 17, 2019 13:09
@faustbrian faustbrian marked this pull request as ready for review April 17, 2019 13:22
@alexbarnsley alexbarnsley merged commit 3ae4491 into ArkEcosystem:develop Apr 18, 2019
@ghost ghost removed the Status: In Progress The issue or pull request is being worked on. label Apr 18, 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants