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

Reset devchain after updating the cli #137

Closed
izqui opened this issue Jun 15, 2018 · 1 comment
Closed

Reset devchain after updating the cli #137

izqui opened this issue Jun 15, 2018 · 1 comment
Assignees
Labels
🚀 new feature A change that adds new functionality to the API 🙏 good first issue An easy issue for a new contributor

Comments

@izqui
Copy link
Contributor

izqui commented Jun 15, 2018

Given that updates to the cli can bring new kits or apps, the devchain should be restarted when we detect that the version has changed.

Quick way to do it is to append the cli version to the snapshot directory, which will also allow to go back to a previous snapshot when downgrading.

If we want to do a proper wipe every time, we could save a file in the ~/.aragon directory (~/.aragon/version) where we write the version number every time devchain is started. If when starting the devchain, we detect the version has changed, we should force a reset.

@izqui izqui added 🚀 new feature A change that adds new functionality to the API 🙏 good first issue An easy issue for a new contributor epic: dev tooling labels Jun 15, 2018
@izqui izqui added this to the ETHBerlin milestone Aug 13, 2018
@izqui izqui mentioned this issue Aug 31, 2018
6 tasks
@sohkai sohkai removed this from the ETHBerlin milestone Sep 25, 2018
@kernelwhisperer kernelwhisperer self-assigned this Oct 4, 2018
@kernelwhisperer
Copy link
Contributor

Fixes: #214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 new feature A change that adds new functionality to the API 🙏 good first issue An easy issue for a new contributor
Projects
None yet
Development

No branches or pull requests

6 participants