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

Migrate fs-api and fs-sim packages from ouroboros-network repo. #2

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

jorisdral
Copy link
Collaborator

@jorisdral jorisdral commented Mar 16, 2023

Part of IntersectMBO/ouroboros-network#4082.

This PR migrates the fs-api and fs-sim packages from the ouroboros-network repository to the current repository. The code is copied as-is from the ouroboros-network#0659e7b7ef66b01763cdf15c2f8777a9394c248d commit . We also add a GitHub Actions workflow file, and a script for running the stylish-haskell formatter.

Follow-up TODOs:

@jorisdral jorisdral requested a review from a team March 16, 2023 09:53
@jorisdral jorisdral self-assigned this Mar 16, 2023
@jorisdral jorisdral force-pushed the jdral/migrate-packages branch 2 times, most recently from 0549b1a to c02c687 Compare March 16, 2023 10:17
permissions:
contents: read

jobs:
Copy link
Contributor

Choose a reason for hiding this comment

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

Not for this PR, but I wonder if we want to invest time in abstracting away this CI setup we replicate in multiple repos.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I will create an issue for this

@@ -1,4 +1,4 @@
# Release process

See the [consensus release
process](https://github.com/input-output-hk/ouroboros-network/blob/master/ouroboros-consensus/docs/ReleaseProcess.md).
process](https://github.com/input-output-hk/ouroboros-consensus/blob/master/docs/ReleaseProcess.md).
Copy link
Contributor

Choose a reason for hiding this comment

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

💯

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to add a cabal formatter to our CI?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

, write
) where

import Prelude hiding (read, truncate)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to put all the imports together?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

iohk-bors bot added a commit to IntersectMBO/ouroboros-network that referenced this pull request Mar 17, 2023
4460: Migrate `fs-api` and `fs-sim` packages to the `fs-sim` repo. r=jorisdral a=jorisdral

# Description

Part of #4082.

This PR removes the `fs-api` and `fs-sim` packages from the `ouroboros-network` repository. The code is added to the `fs-sim` repository in this PR: input-output-hk/fs-sim#2.

For now, we will have a `source-repository-package` entry in the `cabal.project` file, which can be removed once both `fs-sim` and `fs-api` are published to the CHaP.



Co-authored-by: Joris Dral <joris@well-typed.com>
@jorisdral jorisdral merged commit 3f7c90f into main Mar 17, 2023
@jorisdral jorisdral deleted the jdral/migrate-packages branch March 17, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants