Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

aragon-run: Add option for --client-repo#781

Closed
chadoh wants to merge 1 commit into
aragon:masterfrom
AutarkLabs:client-repo
Closed

aragon-run: Add option for --client-repo#781
chadoh wants to merge 1 commit into
aragon:masterfrom
AutarkLabs:client-repo

Conversation

@chadoh
Copy link
Copy Markdown

@chadoh chadoh commented Sep 20, 2019

This option allows setting the repo from which to download the aragon client, allowing dev teams to temporarily use a forked client while working on experimental features.

🦅 Pull Request

We at Autark are working toward our mainnet release. To get Projects working correctly, we need to test-drive some experimental changes to aragonAPI and the wrapper (aragon/aragon.js#361). We've set up custom repos for each of these (https://github.com/AutarkLabs/aragon-api & https://github.com/AutarkLabs/aragon-wrapper) and a version of the client that uses our experimental wrapper (AutarkLabs/aragon#27), and now we need to use that client from our Open Enterprise repo as shown here: https://github.com/AutarkLabs/open-enterprise/pull/1249/files#diff-7c6178980acb266af0692d351cfdba1cR9

🚨 Test instructions

Verify that passing the --client-repo command to aragon run downloads the client from the specified repository, just as --client-versoin allows specifying the commit hash.

✔️ PR Todo

  • Include links to related issues/PRs
  • Update unit tests for this change [I did not see any tests for --client-version, so I have not added any for --client-repo]
  • Update the relevant documentation
  • Clear dependencies on other modules that have to be released before merging this

@welcome
Copy link
Copy Markdown

welcome Bot commented Sep 20, 2019

Thanks for opening this pull request! Someone will review it soon 🔍

chadoh added a commit to AutarkLabs/aragon-cli that referenced this pull request Sep 20, 2019
This option allows setting the repo from which to download the aragon
client, allowing dev teams to temporarily use a forked client while
working on experimental features.aragon#781
Comment thread CHANGELOG.md

- Iterate `aragon run`: add `--client-repo` optional argument

---
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This blurb is a placeholder. We need to fill in the correct date & release version before merging.

@chadoh chadoh marked this pull request as ready for review September 20, 2019 01:31
This option allows setting the repo from which to download the aragon
client, allowing dev teams to temporarily use a forked client while
working on experimental features.aragon#781
Copy link
Copy Markdown
Contributor

@macor161 macor161 left a comment

Choose a reason for hiding this comment

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

Looking good to me. Just a small fix in the start command

const DEFAULT_CLIENT_REPO = pkg.aragon.clientRepo
const DEFAULT_CLIENT_VERSION = pkg.aragon.clientVersion
const DEFAULT_CLIENT_PORT = pkg.aragon.clientPort

Copy link
Copy Markdown
Contributor

@macor161 macor161 Sep 23, 2019

Choose a reason for hiding this comment

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

Just a small fix on line 17: exports.command = 'start [client-version]' should be exports.command = 'start [client-repo] [client-version]'

0xGabi pushed a commit to 0xGabi/aragon-cli that referenced this pull request Sep 23, 2019
This option allows setting the repo from which to download the aragon
client, allowing dev teams to temporarily use a forked client while
working on experimental features.aragon#781
@0xGabi 0xGabi mentioned this pull request Sep 23, 2019
@0xGabi
Copy link
Copy Markdown
Contributor

0xGabi commented Sep 23, 2019

Superseded by #792 We open a new PR cause we were not able to push changes into this branch and wanted to release a new version with the changes

@0xGabi 0xGabi closed this Sep 23, 2019
0xGabi added a commit that referenced this pull request Sep 23, 2019
* aragon-run: Add option for --client-repo

This option allows setting the repo from which to download the aragon
client, allowing dev teams to temporarily use a forked client while
working on experimental features.#781

* Include CHANGELOG

* Include export.command positional argument

* Fix Readme and Changelog

* Update snapshots
@chadoh chadoh deleted the client-repo branch September 24, 2019 15:27
@chadoh
Copy link
Copy Markdown
Author

chadoh commented Sep 24, 2019

Thanks all!

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