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

Updates to Documentation #18

Merged
merged 1 commit into from
Jun 6, 2018
Merged

Updates to Documentation #18

merged 1 commit into from
Jun 6, 2018

Conversation

andogro
Copy link
Contributor

@andogro andogro commented Jun 4, 2018

I added the following:

  • CHANGELOG.md which summarizes changes for each release. I would lean towards replicating this for each release tag as well.
  • CONTRIBUTING.md is a brief overview of PR process. I will move this to the wiki at some point to create a single area of reference.
  • README added additional documentation of tool uses, clarified options, added license information. Need to add Travis CI badge. Build Status

@andogro andogro requested a review from afck June 4, 2018 21:08
Copy link
Collaborator

@afck afck left a comment

Choose a reason for hiding this comment

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

Looks great! Just a few nit-picks.

CHANGELOG.md Outdated

## [0.3.0] - 2018-05-29
### Added
- --b flag to specify a block integer. This allows user to display records starting with a block number.
Copy link
Collaborator

Choose a reason for hiding this comment

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

"the user"?

All pull requests must include:
* A clear, readable description of the purpose of the PR
* A clear, readable description of changes
* A title that includes (Fix), (Feature), or (Refactor)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure about that; I'm happy to start following that rule, but it doesn't look like other projects (e.g. poa-bridge) are doing this.

Copy link
Member

Choose a reason for hiding this comment

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

I think it's from here poanetwork/RFC#3
we are trying to add this to a culture 😅

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you! It would be great if we could turn this RFC into a final document, and then link to it from all projects. Otherwise there's a danger that we copy different versions of it into different Readme files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If there is group consensus on the PR rule set, I agree we should create as wiki post and link from all repos.

README.md Outdated

**Example:**
```bash
$ parity --chain c:\path\to\spec.json --reserved-peers c:\path\to\bootnodes.txt --pruning=archive --no-warp
Copy link
Collaborator

Choose a reason for hiding this comment

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

Below we use Unix-style filenames (with / instead of \), and we currently don't provide Windows binaries at all; maybe the example files should be something like poa-chain-spec/spec.json and poa-chain-spec/bootnodes.txt.

README.md Outdated

`-v, --verbose` display collected ballot and key change events and the list of participating and abstaining voters for each ballot.

`-c, --contracts <contracts>` append a map with POA contract addresses in JSON format. The current maps for the main and test network are in the `contracts` folder. Default is the main network `core.json` file.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe "a map file". "A map" could be misunderstood: one might read it as a string with the values that is given explicitly on the command line.

README.md Outdated

1. Parity must be fully synced to the correct node and running in full mode, not "light" mode. Check Parity UI and/or Task Manager to confirm Parity is synced and actively connected to peers.

2. The correct network must be selected in Parity. The Parity UI will show the current network selection in green. Make sure this is the correct network, and not the Foundation or other Etherium network.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typo: "Ethereum"

README.md Outdated

1. Parity must be fully synced to the correct node and running in full mode, not "light" mode. Check Parity UI and/or Task Manager to confirm Parity is synced and actively connected to peers.

2. The correct network must be selected in Parity. The Parity UI will show the current network selection in green. Make sure this is the correct network, and not the Foundation or other Etherium network.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Here we could also mention again that you need to use a contracts address file (-c option) that matches the network. Included are files for the main POA network ("core") and the POA test network ("sokol"). poa-ballot-stats needs to be run with a file matching the network that the Parity node is connected to.

…iles including updated screenshot

change updates

fixed typos

Documentation Updates

Document updates
Copy link
Collaborator

@afck afck left a comment

Choose a reason for hiding this comment

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

Perfect, thank you!

@afck afck merged commit 26384cf into master Jun 6, 2018
@afck afck deleted the ag_doc_updates branch June 11, 2018 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants