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

[refactor] Organisation of json files and readme. #1617

Merged
merged 6 commits into from
Nov 24, 2021

Conversation

appetrosyan
Copy link
Contributor

@appetrosyan appetrosyan commented Nov 17, 2021

Signed-off-by: Aleksandr a-p-petrosyan@yandex.ru

Description of the Change

Updated documentation

Issue

Closes #1248
Closes #1237
Closes #1127

Benefits

  • Easier to read README.md.
  • Better-organised config files
  • Glossary with most commonly used terms.
  • Better generated documentation.

Possible Drawbacks

None

@appetrosyan appetrosyan marked this pull request as ready for review November 17, 2021 13:13
@appetrosyan appetrosyan changed the title [README.md] Updated Readme to conform to template. [docs] Updated Readme to conform to template. Nov 18, 2021
@appetrosyan appetrosyan added Documentation Documentation changes iroha2-dev The re-implementation of a BFT hyperledger in RUST labels Nov 18, 2021
core/src/config.rs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
core/docs/src/main.rs Outdated Show resolved Hide resolved
@s8sato
Copy link
Contributor

s8sato commented Nov 18, 2021

Regarding #1237,
some inconsistencies seem to remain as far as I search for
core/config, client/config, CONFIGURATION_PATH, etc.

core/src/genesis.rs Outdated Show resolved Hide resolved
configs/config.json Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
cli/README.md Show resolved Hide resolved
scripts/setup_docker_test_env.sh Outdated Show resolved Hide resolved
@appetrosyan appetrosyan changed the title [docs] Updated Readme to conform to template. [refactor] Organisation of json files and readme. Nov 22, 2021
core/src/queue.rs Outdated Show resolved Hide resolved
core/src/torii/mod.rs Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 22, 2021

Codecov Report

Merging #1617 (b3bf23e) into iroha2-dev (bc94a23) will decrease coverage by 0.32%.
The diff coverage is 89.95%.

Impacted file tree graph

@@              Coverage Diff               @@
##           iroha2-dev    #1617      +/-   ##
==============================================
- Coverage       74.74%   74.42%   -0.33%     
==============================================
  Files             119      120       +1     
  Lines           19629    19803     +174     
==============================================
+ Hits            14672    14738      +66     
- Misses           4957     5065     +108     
Impacted Files Coverage Δ
core/docs/src/main.rs 1.53% <0.00%> (-0.13%) ⬇️
core/src/lib.rs 62.11% <0.00%> (ø)
core/src/wsv.rs 87.24% <ø> (ø)
core/test_network/tests/sumeragi_with_mock.rs 0.24% <0.00%> (ø)
crypto/src/signature.rs 75.34% <28.57%> (-1.25%) ⬇️
core/src/genesis.rs 93.54% <79.06%> (-4.51%) ⬇️
client/src/lib.rs 100.00% <100.00%> (ø)
core/src/config.rs 94.89% <100.00%> (ø)
core/src/queue.rs 97.83% <100.00%> (ø)
core/src/samples.rs 100.00% <100.00%> (ø)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bc94a23...b3bf23e. Read the comment docs.

Copy link
Contributor

@s8sato s8sato left a comment

Choose a reason for hiding this comment

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

Adding about configs to the top description would help as it is significant part of this PR

configs/peer/config.json Outdated Show resolved Hide resolved
configs/peer/genesis.json Outdated Show resolved Hide resolved
cli/README.md Show resolved Hide resolved
core/src/samples.rs Outdated Show resolved Hide resolved
scripts/setup_docker_test_env.sh Show resolved Hide resolved
docs/source/references/glossary.md Outdated Show resolved Hide resolved
core/src/genesis.rs Outdated Show resolved Hide resolved
core/src/genesis.rs Outdated Show resolved Hide resolved
Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>

Removed redundant configuration files.

Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>

Added glossary entries.

Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>

Final consolidation.

Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>

Removed JSONs from tests.

Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>

Hard-coded configurations to not use JSON.

Made tests pass.

Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>

Added glossary entries.

Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>
i1i1
i1i1 previously approved these changes Nov 24, 2021
Copy link
Contributor

@s8sato s8sato left a comment

Choose a reason for hiding this comment

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

I'm about to approve except:
Regarding #1127 (glossary),
this is an update of the dedicated doc instead of an addition to the whitepaper as the issue title says.
On this point is there an agreement between you @eadventurous ?

Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>
@appetrosyan appetrosyan enabled auto-merge (squash) November 24, 2021 13:02
@appetrosyan appetrosyan merged commit 3285d53 into hyperledger:iroha2-dev Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation changes iroha2-dev The re-implementation of a BFT hyperledger in RUST Refactor Improvement to overall code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants