Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Rename Project, Network, Sesion and Lock files #1040

Merged
merged 10 commits into from
Jun 27, 2019

Conversation

ylv-io
Copy link
Contributor

@ylv-io ylv-io commented Jun 24, 2019

The PR renames config files according to:

Current New
zos.json .openzeppelin/project.json
zos.rinkeby.json .openzeppelin/rinkeby.json
.zos.lock .openzeppelin/.lock
.zos.session .openzeppelin/.session

While keeping backward compatibility to old config files. Every new config file will be created using new naming convention but old config won't be migrated and will be used as it is.
We are hopping to break legacy config file support during release of v3.0.

@ylv-io ylv-io force-pushed the feature/cli-config-files branch 3 times, most recently from cf41eb2 to 0261f60 Compare June 24, 2019 15:09
@ylv-io ylv-io marked this pull request as ready for review June 24, 2019 15:38
Copy link
Contributor

@spalladino spalladino left a comment

Choose a reason for hiding this comment

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

Great work @ylv-io!! Again, thanks so much for tackling this! I think I spotted one issue only, and left a few comments as well.

packages/cli/src/bin/zos-cli.ts Outdated Show resolved Hide resolved
packages/cli/src/models/dependency/Dependency.ts Outdated Show resolved Hide resolved
packages/cli/src/models/dependency/Dependency.ts Outdated Show resolved Hide resolved
packages/cli/src/models/dependency/Dependency.ts Outdated Show resolved Hide resolved
packages/cli/src/models/dependency/Dependency.ts Outdated Show resolved Hide resolved
packages/cli/src/models/files/ProjectFile.ts Outdated Show resolved Hide resolved
packages/cli/src/models/files/ProjectFile.ts Outdated Show resolved Hide resolved
packages/cli/test/models/Dependency.test.js Show resolved Hide resolved
tsconfig.json Show resolved Hide resolved
Copy link
Contributor

@jbcarpanelli jbcarpanelli left a comment

Choose a reason for hiding this comment

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

Great work Igor, as always! 💪 I added some nits, but nothing to worry about too much.

examples/creating-instances-from-solidity/index.js Outdated Show resolved Hide resolved
packages/cli/src/bin/zos-cli.ts Show resolved Hide resolved
packages/cli/src/models/files/NetworkFile.ts Outdated Show resolved Hide resolved
packages/cli/src/models/files/ProjectFile.ts Show resolved Hide resolved
packages/cli/src/models/files/ProjectFile.ts Outdated Show resolved Hide resolved
packages/cli/src/models/files/NetworkFile.ts Show resolved Hide resolved
Copy link
Contributor

@jbcarpanelli jbcarpanelli left a comment

Choose a reason for hiding this comment

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

LGTM!
Let's wait until we merge #1054 into master before merging this one.

@jbcarpanelli
Copy link
Contributor

#1054 Already merged. To master it goes! 💯

@jbcarpanelli jbcarpanelli merged commit 5bc48e2 into master Jun 27, 2019
@mergify mergify bot deleted the feature/cli-config-files branch June 27, 2019 20:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants