This pull request is a solution to the bug stated in the issue 1833. npm run pretest doesn't work as it gives deprecated go-ipfs error.
Rational
As of now, the source code in master branch is hard-coded to use 0.4.22 version of go-ipfs which is already giving the deprecation error. My updated code doesn't look for version specific go-ipfs. It downloads the LTS version of go-ipfs and thus even if any of the version gets deprecated, it won't affect aragon-cli as it will then work on the latest version.
🚨 Test instructions
The testing is pretty straight-forward, clone the branch locally, run the commands yarn install, yarn run build, yarn run pretest. yarn run pretest should successfully install the go-ipfs which can then be used to run yarn test.
✔️ PR Todo
[ ] Include links to related issues/PRs
[ ] Update unit tests for this change
[ ] Update the relevant documentation
[ ] Clear dependencies on other modules that have to be released before merging this
🦅 Pull Request Description
This pull request is a solution to the bug stated in the issue 1833.
npm run pretest
doesn't work as it gives deprecated go-ipfs error.Rational
As of now, the source code in master branch is hard-coded to use 0.4.22 version of go-ipfs which is already giving the deprecation error. My updated code doesn't look for version specific go-ipfs. It downloads the LTS version of go-ipfs and thus even if any of the version gets deprecated, it won't affect aragon-cli as it will then work on the latest version.
🚨 Test instructions
The testing is pretty straight-forward, clone the branch locally, run the commands
yarn install
,yarn run build
,yarn run pretest
.yarn run pretest
should successfully install the go-ipfs which can then be used to runyarn test
.✔️ PR Todo