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

refactored configuration handling code and lbrynet cli #1788

Merged
merged 13 commits into from Jan 22, 2019

Conversation

eukreign
Copy link
Member

@eukreign eukreign commented Jan 20, 2019

backwards-incompatible: configuration settings api_port and api_host have been merged into api, this affects configuration files and usage via command line interface --api
backwards-incompatible: download_directory setting is now download_dir to be consistent with data_dir and wallet_dir.
backwards-incompatible: all command line switches now use - instead of _ to delineate words, eg. you must now use --data-dir instead of the old --data_dir, this is more consistent with almost every other command line interface known to man
backwards-incompatible: commands within groups, eg. account_balance, require splitting the group and subcommand into separate command arguments (basically no _), eg. to get the balance you would do: lbrynet account balance to get a list of all commands in the account group you would run lbrynet account.
backwards-incompatible: previously deprecated commands have been permanently removed.

@eukreign eukreign added type: refactor Minimal user-visible changes, but significant internal work area: config labels Jan 20, 2019
@eukreign eukreign self-assigned this Jan 20, 2019
@codecov
Copy link

codecov bot commented Jan 21, 2019

Codecov Report

Merging #1788 into master will increase coverage by 1.28%.
The diff coverage is 77.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1788      +/-   ##
==========================================
+ Coverage   64.23%   65.51%   +1.28%     
==========================================
  Files         151      150       -1     
  Lines       13565    13379     -186     
==========================================
+ Hits         8713     8765      +52     
+ Misses       4852     4614     -238
Impacted Files Coverage Δ
lbrynet/extras/wallet/manager.py 56.26% <ø> (ø) ⬆️
lbrynet/extras/daemon/migrator/migrate8to9.py 0% <0%> (ø) ⬆️
lbrynet/extras/daemon/migrator/migrate3to4.py 0% <0%> (ø) ⬆️
lbrynet/extras/daemon/migrator/migrate6to7.py 0% <0%> (ø) ⬆️
lbrynet/extras/daemon/migrator/migrate5to6.py 0% <0%> (ø) ⬆️
lbrynet/extras/daemon/migrator/migrate4to5.py 0% <0%> (ø) ⬆️
lbrynet/extras/daemon/PeerFinder.py 35.89% <0%> (-1.61%) ⬇️
lbrynet/extras/daemon/migrator/dbmigrator.py 0% <0%> (ø) ⬆️
lbrynet/extras/daemon/migrator/migrate2to3.py 0% <0%> (ø) ⬆️
lbrynet/extras/daemon/migrator/migrate1to2.py 0% <0%> (ø) ⬆️
... and 34 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6fe9c5b...0afa53f. Read the comment docs.

@eukreign eukreign changed the title refactored configuration manager and lbrynet cli refactored configuration handling code and lbrynet cli Jan 22, 2019
@eukreign eukreign merged commit 8593cd3 into master Jan 22, 2019
@eukreign eukreign deleted the cli_conf_refactor branch January 22, 2019 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: config type: refactor Minimal user-visible changes, but significant internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant