-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Readme file with links to contribution and licensing and branch policy
- Loading branch information
Showing
19 changed files
with
1,497 additions
and
629 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,102 @@ | ||
# Marconi | ||
= https://github.com/input-output-hk/marconi[Cardano Blockchain Indexer Framework] | ||
:email: plutus@iohk.io | ||
:author: Input Output HK Limited | ||
:toc: left | ||
:reproducible: | ||
|
||
image:https://img.shields.io/badge/policy-Cardano%20Engineering%20Handbook-informational[link=https://input-output-hk.github.io/cardano-engineering-handbook] | ||
|
||
## Introduction | ||
|
||
Marconi is A lightweight customizable solution for indexing and querying the Cardano blockchain. | ||
|
||
### Built by IOG in Haskell | ||
The purpose of Marconi is .... | ||
This repository contains: | ||
|
||
- link:./marconi-core[marconi-core] | ||
- link:./marconi-chain-index[marconi-chain-indexer] | ||
- link:./marconi-sidechain[marconi-sidechain] | ||
[IMPORTANT] | ||
==== | ||
The rest of this README is focussed on people who want to develop or contribute to the Framework. | ||
==== | ||
|
||
== Development | ||
|
||
[[how-to-develop]] | ||
=== How to develop and contribute to the project | ||
|
||
Run `nix develop` to enter the development shell and you will be presented with a list of available commands. | ||
|
||
**Please see link:CONTRIBUTING{outfilesuffix}[CONTRIBUTING] for comprehensive documentation on how to contribute to the project, including development and submitting changes* | ||
|
||
== Documentation | ||
|
||
=== User documentation | ||
|
||
User documentations are work in progress. You may generate Haskell API documenations (haddocks) directly from the `nix shell` for each of marconi compoments: | ||
|
||
``` | ||
cabal new-haddock marconi-core | ||
cabal new-haddock marconi-chain-index | ||
cabal new-haddock marconi-sidechain | ||
|
||
``` | ||
|
||
== Branching, Versioning and Releases | ||
|
||
At this time our protected branch is `main`. | ||
We adopt the PVP versioning scheme. | ||
Check out link:doc/BRANCHING-AND-RELEASE.adoc[Branching Policy and Release Process] to learn more. | ||
|
||
=== Dependency update | ||
|
||
The dependency update policy is dependent on the protected branch. | ||
|
||
For `cardano-node`, we define major-version-bound the range of versions which are compatible with a specific era. | ||
For example, for the Alonzo era, that would be `>= 1.29 && < 1.35`. For the Vasil era, that would be `>= 1.35 && < 1.36`. | ||
|
||
Independently of the protected branch: | ||
|
||
* It should always use the same first-major-version of `plutus` as the one used by the `plutus` dependency of `cardano-node` | ||
* It should always be safe to upgrade to a new second-major-version of `plutus`: at worst this will lead to some code breakage. | ||
* It should, unless specified otherwise, use the same version for transitive dependencies (`cardano-ledger`, `ouroboros-network`, etc.) with `cardano-node` | ||
* It should pin the major version of `cardano-node` for all packages | ||
* It should pin the first and second-major version of `plutus` for all packages | ||
|
||
`main` branch: | ||
|
||
* It should not update `cardano-node` to a new major-version. In other words, it should use a `cardano-node` version which is compatible with the current Cardano mainnet | ||
* It should use a `cardano-wallet` version which is compatible with the current `cardano-node` version | ||
|
||
== Working with the project | ||
|
||
=== How to submit an issue | ||
|
||
Issues can be filed in the https://github.com/input-output-hk/marconi/issues[GitHub Issue tracker]. | ||
|
||
However, note that this is pre-release software, so we will not usually be providing support. | ||
|
||
## Architecture | ||
The Marconi component are: | ||
[[how-to-develop]] | ||
=== How to develop and contribute to the project | ||
|
||
* [marconi-core](./marconi-core) | ||
* [marconi-chain-indexer](./marconi-chain-index) | ||
* [marconi-sidechain](./marconi-sidechain) | ||
See link:CONTRIBUTING{outfilesuffix}[CONTRIBUTING], which describes our processes in more detail including development environments; and link:ARCHITECTURE{outfilesuffix}[ARCHITECTURE], which describes the structure of the repository. | ||
|
||
## Developement | ||
..... | ||
=== How to depend on the project from another Haskell project | ||
|
||
## System Requirements | ||
None of our libraries are on Hackage, unfortunately (many of our dependencies aren't either). | ||
So for the time being, you need to: | ||
|
||
The system requirements for `marconi-chain-index` and `marconi-sidechain` (with `node` running | ||
on the same machine are: | ||
. Add `plutus-apps` as a `source-repository-package` to your `cabal.project`. | ||
. Copy the `source-repository-package` stanzas from our `cabal.project` to yours. | ||
. Copy additional stanzas from our `cabal.project` as you need, e.g. you may need some of the `allow-newer` stanzas. | ||
|
||
..... | ||
The https://github.com/input-output-hk/plutus-starter[plutus-starter] project | ||
(deprecated) provides an example. | ||
|
||
== Licensing | ||
|
||
..... | ||
You are free to copy, modify, and distribute the Plutus Platform with | ||
under the terms of the Apache 2.0 license. See the link:./LICENSE[LICENSE] | ||
and link:./NOTICE[NOTICE] files for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
__std__/cells/marconi/packages/sphinx-autobuild-readthedocs-site.nix
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
__std__/cells/marconi/packages/sphinx-build-readthedocs-site.nix
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.