Skip to content

Conversation

coot
Copy link
Contributor

@coot coot commented Sep 22, 2025

Description

  • Moved ouroboros-network-protocols to ouroboros-network
  • Moved ouroboros-network-framework to ouroboros-newtork:framework
  • Moved ouroboros-network-mock to ouroboros-network:mock
  • Reorganised ouroboros-network.cabal file
  • Moved ouroboros-network-testing to ouroboros-network
  • Moved ouroboros-network-api to ouroboros-newtork
  • ouroboros-network:api - moved NodeTo{Node,Client} under Cardano name space
  • ouroboros-network:api-tests - moved NodeTo{Client,Node}.Version tests
  • ouroboros-network:api-tests - moved Test.Cardano.Network.Version
  • ouroboros-network:mock - moved its last module to protocols-tests-lib
  • cardano-diffusion package
  • peer-selection: reorganised exports
  • Updated nix & GHA
  • Added changelog
  • Updated network-spec

Checklist

Quality

  • Commit sequence makes sense and have useful messages, see ref.
  • New tests are added and existing tests are updated.
  • Self-reviewed the PR.

Maintenance

  • Linked an issue or added the PR to the current sprint of ouroboros-network project.
  • Added labels.
  • Updated changelog files.
  • The documentation has been properly updated, see ref.

coot added 10 commits September 18, 2025 16:05
* `ouroboros-network-protocols`         -> `ouroboros-network:protocols` in `protocols/lib`
* `ouroboros-network-protocols:testlib` -> `ouroboros-network:protocols-tests-lib` in `protocols/tests-lib`
* `ouroboros-network-protocols:test`    -> `ouroboros-network:protocols-tests` in `protocols/tests`
* `ouroboros-network-protocols:bench`   -> `ouroboros-network:protocols-bench` in `protocols/bench`
* `ouroboros-network-framework`                         -> `ouroboros-network:framework`           in `framework/lib`
* `ouroboros-network-framework:testlib`                 -> `ouroboros-network:framework-tests-lib` in `framework/tests-lib`
* `ouroboros-network-framework:sim-tests`               -> `ouroboros-network:framework-sim-tests` in `framework/sim-tests`
* `ouroboros-network-framework:io-tests`                -> `ouroboros-network:framework-io-tests`  in `framework/io-tests`
* `ouroboros-network-framework:demo-connection-manager` -> `ouroboros-network:demo-connection-manager` in `demo`
* `ouroboros-network-framework:demo-ping-pong`          -> `ouroboros-network:demo-ping-pong`          in `demo`
* `ouroboros-newtork-mock` -> `ouroboros-network:mock` in `mock`
ouroboros-network tests moved / renamed:
* `ouroboros-network:testlib`   -> `ouroboros-network:ouroboros-network-tests-lib` in `tests/lib`
* `ouroboros-network:sim-tests` -> `ouroboros-network:ouroboros-network-sim-tests` in `tests/sim`
* `ouroboros-network:io-tests`  -> `ouroboros-network:ouroboros-network-io-tests`  in `tests/io`
* `ouroboros-network-testing`      -> `ouroboros-network:tests-lib` in `tests-lib/lib`
* `ouroboros-network-testing:test` -> `ouroboros-network:tests-lib` in `tests-lib/tests`
* `ouroboros-network-api`                         -> `ouroboros-network:api`       in `ouroboros-network/api/lib`
* `ouroboros-network-api:test`                    -> `ouroboros-network:api-tests` in `ouroboros-network/api/tests`
* `ouroboros-network-api:bench-anchored-fragment` -> `ouroboros-network:api-bench` in `ouroboros-network/api/bench`
@coot coot requested review from a team as code owners September 22, 2025 15:04
@github-project-automation github-project-automation bot moved this to In Progress in Ouroboros Network Sep 22, 2025
@coot coot self-assigned this Sep 22, 2025
coot and others added 5 commits September 22, 2025 17:43
Introduced `cardano-diffusion` package.

Some things are hidden inside of it because that's how we are testing
things now, in particular `PeerSelection` and `Testnet` tests depend on
`Cardano` constructs.  In the future we could split them into general
test & cardano specific tests, this will be in particularly useful for
another non-trivial extension of `ouroboros-network`, but also might
organise tests better.
Expanded `Ouroboros.Network.PeerSelection` and added
`Cardano.Network.PeerSelection` which re-export all the useful APIs.
This helps organise imports in tests and hopefully also in downstream
dependencies.
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant