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

PLT-9070 - Marconi components; further generalisation of index running machinery #285

Merged
merged 28 commits into from
Jan 11, 2024

Conversation

willjgould
Copy link
Collaborator

@willjgould willjgould commented Jan 5, 2024

I've made runEmitterAndConsumer and streamEmitter more general so I can use them in marconi-sidechain-node.

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense and have useful messages
    • Important changes are reflected in changelog.d of the affected packages
    • Relevant tickets are mentioned in commit messages
  • PR
    • (For external contributions) Corresponding issue exists and is linked in the description
    • Targeting main unless this is a cherry-pick backport
    • Self-reviewed the diff
    • Useful pull request description
    • If relevant, reference the ADR in the PR and reference the PR in the ADR
    • Reviewer requested

@willjgould willjgould changed the title DRAFT: Will/plt 9070/marconi components PLT-9070 - Marconi components; further generalisation of index running machinery Jan 9, 2024
@willjgould willjgould marked this pull request as ready for review January 9, 2024 19:11
, bytestring
, comonad
, directory
, filepath
, lens
, mtl
, nonempty-containers
, optparse-applicative
, optparse-applicative-fork
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't find this package anywhere, where does it come from and why is it needed?

Copy link
Collaborator Author

@willjgould willjgould Jan 10, 2024

Choose a reason for hiding this comment

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

It's used by cardano-node: https://github.com/CardanoSolutions/cardano-node/blob/release/8.1.2/cardano-node/cardano-node.cabal#L178C50-L178C50

I've added it here to allow me to combine the CLI args parsers from marconi and cardano-node in marconi-sidechain-node.

It lives here: https://github.com/input-output-hk/optparse-applicative

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm... I hate the idea of changing the library because another one is used downstream but I guess we don't have the choice here.

@willjgould willjgould requested a review from berewt January 10, 2024 16:14
Copy link
Contributor

@ana-pantilie ana-pantilie left a comment

Choose a reason for hiding this comment

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

LGTM!

@willjgould willjgould merged commit 96c5bef into main Jan 11, 2024
4 checks passed
@willjgould willjgould deleted the will/PLT-9070/marconi-components branch January 11, 2024 10:08
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