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

Project Reorganization #61

Merged
merged 3 commits into from
Feb 7, 2023
Merged

Project Reorganization #61

merged 3 commits into from
Feb 7, 2023

Conversation

solomon-b
Copy link
Member

@solomon-b solomon-b commented Dec 1, 2022

IN PROGRESS

Breaks up the file into 3 cabal projects:

  • chat-bots: the core chat bot library
  • chat-bots-contrib: the various bot behaviors and servers
  • cofree-bot: our chat-bot executable

Breaking up the project like this means reduced dependencies in the core chat bot library when we post it to Hackage.

➜ tree -L 2      
.
├── cabal.project
├── chat-bots
│   ├── chat-bots.cabal
│   └── src
├── chat-bots-contrib
│   ├── chat-bots-contrib.cabal
│   ├── src
│   └── test
├── cofree-bot
│   ├── app
│   ├── cofree-bot.cabal
│   ├── src
│   └── test
├── deploy.sh
├── docker-compose.yaml
├── flake.lock
├── flake.nix
├── hie.yaml
├── nix
│   ├── docker.nix
│   └── scripts.nix
├── README.md
├── stack.yaml
└── stack.yaml.lock

@solomon-b solomon-b changed the base branch from main to feature/xdg-config-files December 1, 2022 05:21
@solomon-b solomon-b force-pushed the feature/breakup-bot-module branch 6 times, most recently from b29d99d to 264a1ec Compare December 2, 2022 21:00
@solomon-b solomon-b marked this pull request as ready for review December 4, 2022 06:54
@solomon-b solomon-b force-pushed the feature/breakup-bot-module branch 4 times, most recently from 79795ce to 310a0dd Compare December 5, 2022 05:39
@solomon-b solomon-b self-assigned this Dec 8, 2022
@solomon-b solomon-b force-pushed the feature/breakup-bot-module branch 11 times, most recently from 57952d3 to dcb5507 Compare December 11, 2022 09:07
@@ -50,8 +47,6 @@ import System.FilePath

--------------------------------------------------------------------------------

type KBot = (Type -> Type) -> Type -> Type -> Type -> Type
Copy link
Member

Choose a reason for hiding this comment

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

Sorry to be a stickler, but is it possible to redo this PR keeping any changes of this sort out of it?

@masaeedu
Copy link
Member

I think this is good, provided we can ensure nothing else is happening in this PR besides creating three new cabal components and distributing the existing modules amongst them. If anything besides that is happening, can we please separate that out into another PR?

@solomon-b solomon-b force-pushed the feature/xdg-config-files branch 2 times, most recently from bb3bf17 to afb9579 Compare December 20, 2022 06:41
@solomon-b solomon-b force-pushed the feature/xdg-config-files branch 2 times, most recently from 695f54f to d65130e Compare December 20, 2022 06:47
@solomon-b solomon-b force-pushed the feature/breakup-bot-module branch 2 times, most recently from 241261b to 93a0385 Compare December 20, 2022 07:51
@solomon-b solomon-b changed the base branch from feature/xdg-config-files to main December 20, 2022 07:51
@solomon-b solomon-b force-pushed the feature/breakup-bot-module branch 5 times, most recently from 126303f to d329cb5 Compare February 7, 2023 07:34
@solomon-b solomon-b merged commit c39af7f into main Feb 7, 2023
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.

2 participants