Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fixed --base-path on windows #4193

Merged
merged 2 commits into from Jan 18, 2017
Merged

Fixed --base-path on windows #4193

merged 2 commits into from Jan 18, 2017

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Jan 17, 2017

Fixes #4191

@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Jan 17, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 84.826% when pulling cfe5a82 on win-dir-fix into 8852a05 on master.

replace_home_for_db(&data_path, &local_path, &self.args.flag_db_path)
};
//TODO: refactor this for better detection if base_path is custom.
let base_db_path = if data_path != default_data_path() && self.args.flag_db_path == dir::CHAINS_PATH { "$BASE/chains".to_owned() } else { self.args.flag_db_path.clone() };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data_path != default_data_path() looks pretty error prone... if it's a quick hack, then we should probably have an issue logged to fix it into something sensible asap.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.args.flag_db_path == dir::CHAINS_PATH looks pretty bad, too...

@arkpar arkpar added A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 18, 2017
@arkpar arkpar force-pushed the win-dir-fix branch 2 times, most recently from 208e35e to 4944e42 Compare January 18, 2017 12:10
@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. and removed A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. labels Jan 18, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling b615ac6 on win-dir-fix into ** on master**.

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 18, 2017
@gavofyork gavofyork merged commit 61bfe42 into master Jan 18, 2017
@gavofyork gavofyork deleted the win-dir-fix branch January 18, 2017 17:45
arkpar added a commit that referenced this pull request Jan 18, 2017
* Fixed --base-path on windows

* Add support for optional args with default text
arkpar added a commit that referenced this pull request Jan 19, 2017
* JsonRPC bump for IPC fix

* Fixing etherscan price parsing (#4202)

* Fixing etherscan price parsing

* Handling all errors

* Fixed --base-path on windows (#4193)

* Fixed --base-path on windows

* Add support for optional args with default text

* Fixing minimal transaction queue price (#4204)

* Fixing minimal transaction queue price

* Fixing tests

* verification: add mainnet BadgeReg ids (#4190)

* verification: mainnet BadgeReg ids

* verification: fetch contracts by name

* verification: better wording

* typo

* reregistered badges

* Console now has admin (#4220)

Fixes #4210

* Non-secure for DappReg (#4216)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants