Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 134 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
All changes to this project will be documented in this file.

- [Changelog](#Changelog)
- [v6.2.3](#v623)
- [v6.3.2](#v632)
- [What’s changed in aragonCLI](#Whats-changed-in-aragonCLI)
- [🚀 New features](#%F0%9F%9A%80-New-features)
- [💡 Feature updates](#%F0%9F%92%A1-Feature-updates)
- [🐛 Bug Fixes](#%F0%9F%90%9B-Bug-Fixes)
- [🛠️ Maintenance (non-API changes)](#%F0%9F%9B%A0%EF%B8%8F-Maintenance-non-API-changes)
- [v6.3.1](#v631)
- [v6.3.0](#v630)
- [v6.2.6](#v626)
- [v6.2.5](#v625)
- [v6.2.4](#v624)
- [v6.2.3](#v623)
- [v6.2.2](#v622)
- [v6.2.1](#v621)
- [v6.2.0](#v620)
Expand Down Expand Up @@ -45,6 +50,133 @@ All changes to this project will be documented in this file.

---

## v6.3.2

Release date: **2019-09-20**
[Compare code changes][v6.3.2] (🌳 STABLE)

### What’s changed in aragonCLI

## 💡 Feature updates

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

## 🐛 Bug Fixes

- Fix array arguments support (#785) @macor161
- Add deploy event compatibility (#784) @macor161

## 🛠️ Maintenance (non-API changes)

- Added CLI Mnenmonic Warning (#767) @burrrata
- Update documentation (#786) @0xGabi

---

## v6.3.1

Release date: **2019-09-16**
[Compare code changes][v6.3.1]

### What’s changed in aragonCLI

## 🐛 Bug Fixes

- Backward compatibility fix for the old deploy event name and the publish folder (#778) @macor161

---

## v6.3.0

Release date: **2019-09-13**
[Compare code changes][v6.3.0]

### What’s changed in aragonCLI

## 💡 Feature updates

- Update client to 0.8 🛣 (#765) @0xGabi
- Include `templates-args` new option (#768) @0xGabi
- Use a pre build of the client instead of building it every time 🚀(#764) @0xGabi
- Use new aragen snapshot (#772) @0xGabi

## 🐛 Bug Fixes

- Fix deployment with new Templates (#762) @0xGabi

## 🛠️ Maintenance (non-API changes)

- Added more dependencies (#759) @chrishobcroft 🎉
- Dao new clean (#772) @0xGabi
- Use travis only on mater (#766) @0xGabi
- Update default ipfs distribution installed (#763) @0xGabi

---

## v6.2.6

### What’s changed in aragonCLI

## 💡 Feature updates

- Fix dao new command for new templates (#669) @0xGabi
- Fix output for aragon run & fix http publish flag (#752) @0xGabi

## 🐛 Bug Fixes

- Check IPFS & install if missing (#734) @0xGabi
- Bump aragen to [v5.2.0](https://github.com/aragon/aragen/releases/tag/v5.2.0) , fix tx pathing issue with ganache version (#753) @0xGabi

## 🛠️ Maintenance (non-API changes)

- End to end tests fix (#746) @macor161
- Rollback to truffle-config v4 (#745) @0xGabi

---

## v6.2.5

Release date: **2019-08-18**
[Compare code changes][v6.2.5]

### What’s changed in aragonCLI

### 🚀 New Feature

- New Command `aragon id assign` (#707) @macor161 🙏

### 🐛 Bug Fixes

- Add Aragon's default endpoint (#713) @0xGabi

### 🛠️ Maintenance (non-API changes)

- Bump `aragen v5.1.0` (#720) @0xGabi

---

## v6.2.4

Release date: **2019-08-08**
[Compare code changes][v6.2.4]

### What’s changed in aragonCLI

## 💡 Feature updates

- Improve ipfs handler (#701) @0xGabi

## 🐛 Bug Fixes

- Fix http provider publish workflow (#701) @0xGabi

## 🛠️ Maintenance (non-API changes)

- Doc: Improve IPFS section (#699) @0xGabi
- Update changelog (#698) @0xGabi

---

## v6.2.3

Release date: **2019-08-07**
Expand Down
23 changes: 12 additions & 11 deletions CHANGELOG_STABLE_VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All **notable** changes between stable versions will be documented in this file.

- [Changelog](#Changelog)

- [v6.2.3 (🌳)](#v623)
- [v6.3.2(🌳)](#v632)
- [What’s changed in aragonCLI since `v5.9.7`](#Whats-changed-in-aragonCLI-since-v597)
- [💥 Breaking changes](#%F0%9F%92%A5-Breaking-changes)
- [🚀 New features](#%F0%9F%9A%80-New-features)
Expand All @@ -14,10 +14,10 @@ All **notable** changes between stable versions will be documented in this file.

---

## v6.2.3
## v6.3.2

Release date: **2019-08-07**
[Compare code changes][v6.2.3]
Release date: **2019-09-23**
[Compare code changes][v6.3.2]

### What’s changed in aragonCLI since `v5.9.7`

Expand All @@ -28,6 +28,8 @@ Release date: **2019-08-07**

### 🚀 New features

- Use a pre build of the client instead of building it every time 🚀(#764)
- New Command `aragon id assign` (#707)
- Iterate dao act: add `--eth-value` optional argument (#492)
- Bump `@aragon/aragen` to [v5.0.0](https://github.com/aragon/aragen/releases/tag/v5.0.0).
- New command `devchain status` (#678)
Expand All @@ -44,20 +46,22 @@ Release date: **2019-08-07**

### 💡 Feature updates

- Update aragen & client (#686)
- Include `templates-args` new option for aragon run (#768)
- Fix dao new command for new templates (#669)
- Add Aragon's default endpoint (#713) @0xGabi
- Check for existing transactionPath in execHandler (#385)
- CLI: avoid coercing number arguments from strings to JS numbers (#687)
- Avoid coercing number arguments from strings to JS numbers (#687)
- Allow arrays to be passed via `--app-init-args` (#623)
- Ipfs cmd refactor (#636)
- Use all environment on artifact generation (#646)
- Add `gas-price` global option (#625)
- Update the GUI client to `v0.7.4` (#519)
- Update `dao install` to always show the proxy address (#478)
- Update `dao token new` options to use a deployed `minimeTokenFactory` in Rinkeby and Mainnet as default to save gas (#555)
- Pass apm opts to @aragon/wrapper (#567)

### 🐛 Bug Fixes

- Add Aragon's default endpoint (#713)
- Fix http provider publish workflow (#701)
- Handle IPFS not being installed (#696)
- Fix prepare publish function and publish intent argument (#685)
- Update command to not hang after finishing (#674)
Expand All @@ -72,14 +76,11 @@ Release date: **2019-08-07**

### 🛠️ Maintenance & internal changes

- Small cleanup (#657)
- Add isPortTaken function to `@aragon/cli-utils` (#668)
- Refactor `cli-utils` package (#652)
- Set-up code coverage (#493)
- Set-up continuous deployment (#513)
- Set-up some [probot](https://probot.github.io) apps (#517, #518)
- Add pre-requisites section to docs (#559)
- Update CONTRIBUTING.md with Bounties section 🦅 (#507)
- Update aragonCLI Roadmap (#504)

[v6.0.5]: https://github.com/aragon/aragon-cli/compare/v5.9.7...v6.0.5
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ Stable versions:

| Version | NPM page | Docs | Release date |
| -------- | ------------------------------------- | ---------------------------------------- | ------------ |
| `v6.2.5` | [![NPM][625-npm-badge]][625-npm-link] | [![Docs][625-docs-badge]][625-docs-link] | 2019-08-18 |
| `v6.3.2` | [![NPM][632-npm-badge]][632-npm-link] | [![Docs][632-docs-badge]][632-docs-link] | 2019-09-23 |
| `v5.9.7` | [![NPM][597-npm-badge]][597-npm-link] | [![Docs][597-docs-badge]][597-docs-link] | 2019-07-15 |
| `v5.8.0` | [![NPM][580-npm-badge]][580-npm-link] | [![Docs][580-docs-badge]][580-docs-link] | 2019-05-18 |
| `v5.6.2` | [![NPM][562-npm-badge]][562-npm-link] | [![Docs][562-docs-badge]][562-docs-link] | 2019-04-17 |

[latest-stable-npm-badge]: https://img.shields.io/npm/v/@aragon/cli/stable.svg?style=flat-square
[latest-stable-docs-badge]: https://img.shields.io/badge/docs-latest%20stable-blue.svg?style=flat-square
[latest-stable-docs-link]: https://hack.aragon.org/docs/cli-intro.html
[625-npm-badge]: https://img.shields.io/badge/npm-v6.2.5-blue.svg?style=flat-square
[625-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/6.2.5
[625-docs-badge]: https://img.shields.io/badge/docs-v6.2.5-blue.svg?style=flat-square
[625-docs-link]: https://github.com/aragon/aragon-cli/blob/v6.2.5/docs/Intro.md
[632-npm-badge]: https://img.shields.io/badge/npm-v6.3.2-blue.svg?style=flat-square
[632-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/6.3.2
[632-docs-badge]: https://img.shields.io/badge/docs-v6.3.2-blue.svg?style=flat-square
[632-docs-link]: https://github.com/aragon/aragon-cli/blob/v6.3.2/docs/Intro.md
[597-npm-badge]: https://img.shields.io/badge/npm-v5.9.7-blue.svg?style=flat-square
[597-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/5.9.7
[597-docs-badge]: https://img.shields.io/badge/docs-v5.9.7-blue.svg?style=flat-square
Expand Down
4 changes: 3 additions & 1 deletion docs/Main-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Available options to customize the `run` command:
- `--template-args`: The arguments that the function to create the template is called with. Defaults to an array of arguments. To use arrays use the following format `["'0xB24b...73a7', '0xB24b...73a7'"]`.
- `--client`: Whether to start the Aragon client or not. Defaults to `true`.
- `--client-version`: Version of Aragon client used to run your sandboxed app.
- `--client-repo`: Repository of Aragon client to clone and run in your sandboxed app. Defaults to `https://github.com/aragon/aragon`.
- `--client-port`: Port being used by Aragon client.
- `--client-path`: A path pointing to an existing Aragon client installation.
- `--app-init`: Name of the function that will be called to initialize an app. Defaults to `initialize`.
Expand Down Expand Up @@ -65,9 +66,10 @@ The [React boilerplate](https://github.com/aragon/aragon-react-boilerplate) supp
Start the Aragon GUI (graphical user interface). It uses [aragen](https://github.com/aragon/aragen) snapshot to try fetching a prebuild of the client if it was not previously fetch. Otherwise, the command download the client repo and build it to use it locally.

```sh
aragon start [client-version]
aragon start [client-repo] [client-version]
```

- `client-repo`: Repository of Aragon client to clone and run in your sandboxed app. Defaults to `https://github.com/aragon/aragon`.
- `client-version`: Version of Aragon client used to run your sandboxed app (commit hash, branch name or tag name)

Options:
Expand Down
10 changes: 5 additions & 5 deletions packages/aragon-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ Stable versions:

| Version | NPM page | Docs | Release date |
| -------- | ------------------------------------- | ---------------------------------------- | ------------ |
| `v6.2.5` | [![NPM][625-npm-badge]][625-npm-link] | [![Docs][625-docs-badge]][625-docs-link] | 2019-08-18 |
| `v6.3.2` | [![NPM][632-npm-badge]][632-npm-link] | [![Docs][632-docs-badge]][632-docs-link] | 2019-09-23 |
| `v5.9.7` | [![NPM][597-npm-badge]][597-npm-link] | [![Docs][597-docs-badge]][597-docs-link] | 2019-07-15 |
| `v5.8.0` | [![NPM][580-npm-badge]][580-npm-link] | [![Docs][580-docs-badge]][580-docs-link] | 2019-05-18 |
| `v5.6.2` | [![NPM][562-npm-badge]][562-npm-link] | [![Docs][562-docs-badge]][562-docs-link] | 2019-04-17 |

[latest-stable-npm-badge]: https://img.shields.io/npm/v/@aragon/cli/stable.svg?style=flat-square
[latest-stable-docs-badge]: https://img.shields.io/badge/docs-latest%20stable-blue.svg?style=flat-square
[latest-stable-docs-link]: https://hack.aragon.org/docs/cli-intro.html
[625-npm-badge]: https://img.shields.io/badge/npm-v6.2.5-blue.svg?style=flat-square
[625-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/6.2.5
[625-docs-badge]: https://img.shields.io/badge/docs-v6.2.5-blue.svg?style=flat-square
[625-docs-link]: https://github.com/aragon/aragon-cli/blob/v6.2.5/docs/Intro.md
[632-npm-badge]: https://img.shields.io/badge/npm-v6.3.2-blue.svg?style=flat-square
[632-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/6.3.2
[632-docs-badge]: https://img.shields.io/badge/docs-v6.3.2-blue.svg?style=flat-square
[632-docs-link]: https://github.com/aragon/aragon-cli/blob/v6.3.2/docs/Intro.md
[597-npm-badge]: https://img.shields.io/badge/npm-v5.9.7-blue.svg?style=flat-square
[597-npm-link]: https://www.npmjs.com/package/@aragon/cli/v/5.9.7
[597-docs-badge]: https://img.shields.io/badge/docs-v5.9.7-blue.svg?style=flat-square
Expand Down
28 changes: 28 additions & 0 deletions packages/aragon-cli/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/aragon-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
]
},
"aragon": {
"clientRepo": "https://github.com/aragon/aragon",
"clientVersion": "d8066daad8bf3be6a83f7ee374032995ebd994cf",
"clientPort": "3000",
"defaultGasPrice": "2",
Expand Down
8 changes: 7 additions & 1 deletion packages/aragon-cli/src/commands/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const {

const url = require('url')

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

Expand Down Expand Up @@ -153,6 +154,10 @@ exports.builder = function(yargs) {
array: true,
default: [],
})
.option('client-repo', {
description: 'Repo of Aragon client used to run your sandboxed app',
default: DEFAULT_CLIENT_REPO,
})
.option('client-version', {
description: 'Version of Aragon client used to run your sandboxed app',
default: DEFAULT_CLIENT_VERSION,
Expand Down Expand Up @@ -202,6 +207,7 @@ exports.handler = function({
httpServedFrom,
appInit,
appInitArgs,
clientRepo,
clientVersion,
clientPort,
clientPath,
Expand Down Expand Up @@ -370,7 +376,7 @@ exports.handler = function({
title: 'Open DAO',
enabled: () => client === true,
task: async (ctx, task) =>
start.task({ clientVersion, clientPort, clientPath }),
start.task({ clientRepo, clientVersion, clientPort, clientPath }),
},
],
listrOpts(silent, debug)
Expand Down
Loading