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

Monorepo structure and cleanup #383

Merged
merged 2,800 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2800 commits
Select commit Hold shift + click to select a range
5ef0250
Fix dependendencies and build.
qnikst Nov 25, 2017
c865323
support GHC 8.2
agentm Dec 9, 2017
63671ac
Using the latest stackage lts
lorenzo Jan 9, 2018
53429e2
Fix doc
OlivierSohn Feb 1, 2018
121e40c
Merge pull request #39 from OlivierSohn/master
facundominguez Feb 1, 2018
d11b7f4
Fix link to lifted-base
qrilka Feb 7, 2018
31b4268
Merge pull request #42 from qrilka/patch-1
facundominguez Feb 8, 2018
73c6a01
Fixed link for distributed-process-async
qrilka Feb 11, 2018
40fb48c
Merge pull request #6 from lorenzo/latest-lts
hyperthunk Feb 22, 2018
b681027
Merge pull request #5 from agentm/master
hyperthunk Feb 22, 2018
3d36de6
Merge pull request #43 from qrilka/patch-2
hyperthunk Feb 23, 2018
8392088
Merge pull request #38 from Abhiroop/master
hyperthunk Feb 23, 2018
4c5f284
Merge pull request #33 from teh/contact-slack
hyperthunk Feb 23, 2018
ba95020
Merge branch 'master' into master
qnikst Feb 27, 2018
7fd3c4e
Merge pull request #13 from agentm/master
qnikst Feb 27, 2018
6a67f49
Merge tag 'v0.6.0' into HEAD
facundominguez Apr 13, 2018
735cf1c
Update cabal bug-reports
Apr 22, 2018
7a33303
update min GHC version
qnikst Apr 28, 2018
57c87db
Merge pull request #21 from haskell-distributed/qnikst-patch-1
facundominguez Apr 30, 2018
253878d
Update dependencies
Acentelles Jun 1, 2018
14b75d7
Use distributed-process-systest-0.2.0
Acentelles Jun 1, 2018
4db4c0d
Update dependencies
Acentelles Jun 1, 2018
c1133b4
Remove extra dependency
Acentelles Jun 1, 2018
b9b2304
Bump version
Acentelles Jun 1, 2018
edeaa4b
Update dependencies
Acentelles Jun 1, 2018
57dca3a
Change distributed-process dep upper and lower bound
Acentelles Jun 1, 2018
cccf008
Change distributed-process dep upper and lower bound
Acentelles Jun 1, 2018
8db4a79
Merge pull request #1 from adjoint-io/update-deps
sdiehl Jun 1, 2018
fbfce30
Merge pull request #1 from adjoint-io/update-deps
sdiehl Jun 1, 2018
1651ffa
Merge pull request #1 from adjoint-io/update-deps
sdiehl Jun 1, 2018
52b08e4
Merge pull request #16 from adjoint-io/master
qnikst Jun 8, 2018
c36bd6b
Loosen HUnit dependency.
qnikst Nov 25, 2017
0889409
Update stack.yaml
qnikst Jun 9, 2018
3d10f85
add CI tests.
qnikst Jun 9, 2018
b4a6b64
Remove compilation warnings.
qnikst Jun 9, 2018
1b9795c
Merge pull request #29 from adjoint-io/master
qnikst Jun 10, 2018
e760bf3
Merge branch 'master' into pretty/primitives
qnikst Jun 10, 2018
63a7549
Merge branch 'pretty/primitives'
qnikst Jun 10, 2018
3fb4fd3
Update d-p dependency.
qnikst Jun 10, 2018
1166678
fixup! Update d-p dependency.
qnikst Jun 10, 2018
4b548c8
Drop ghc-7.10
qnikst Jun 10, 2018
7e70546
Add correct dependencies to stack.yaml to support d-p-0.7.3
Jun 13, 2018
095c2db
use upstream version of d-p in CI
qnikst Jun 13, 2018
d0e9963
Version bump.
qnikst Jun 13, 2018
84cdbcb
Fix CI
qnikst Jun 8, 2018
f6a36ee
Export documented functions.
qnikst Jun 10, 2018
417b715
Bump to 0.2.6
qnikst Jun 14, 2018
feb229b
Remove unused flag declaration.
qnikst Jun 14, 2018
ab2194e
Update README.md
vaibhavsagar Jun 21, 2017
ac1dbac
Merge pull request #21 from adjoint-io/master
qnikst Jun 14, 2018
2fd4672
Remove unnecessary extra-deps
Jun 14, 2018
f60343b
Fix dep bounds
Jun 14, 2018
fb34b16
Fix CI (#23)
qnikst Jun 14, 2018
daff36d
Merge branch 'master' of https://github.com/adjoint-io/distributed-pr…
qnikst Jun 14, 2018
7c8bca4
Merge branch 'adjoint-io-master'
qnikst Jun 14, 2018
dab2534
Version bump 0.2.5
qnikst Jun 14, 2018
efc9bc2
Fix typo.
qnikst Jun 14, 2018
53aa947
Support old exceptions package.
qnikst Jun 14, 2018
f80a329
Version bump.
qnikst Jun 14, 2018
8693af1
Fix version bounds of deps & cleanup
Jun 14, 2018
29f1583
fix CI, removing support for ghc-7.10.3 and ghc-8.0.X
Jun 14, 2018
d88e22f
Stop running CI tests with nightly resolver; instead use resolver spe…
Jun 14, 2018
8e9c556
Merge pull request #11 from adjoint-io/master
qnikst Jun 14, 2018
e7eb8a9
Update README.md
vaibhavsagar Jun 21, 2017
af105f0
Release 0.2.1
qnikst Jun 14, 2018
c338bc9
Merge pull request #72 from coot/github-issues
qnikst Jul 25, 2018
ee9b508
Relax upper bounds
hyperthunk Nov 10, 2018
c51e6aa
add stack.yaml
hyperthunk Nov 10, 2018
d87d6f5
relax upper bounds
hyperthunk Nov 10, 2018
b7a10ff
relax upper bounds
hyperthunk Nov 10, 2018
55dc26d
relax upper bounds and update stack configuration
hyperthunk Nov 10, 2018
2eb72f2
bump version, update changelog, and add badges to readme
hyperthunk Nov 10, 2018
d43a6ee
even less restrictive upper bounds
hyperthunk Nov 10, 2018
82ad112
Allow package to be built with ghc-8.6.1
qnikst Nov 10, 2018
79c9e10
Merge pull request #20 from haskell-distributed/dep-bump
facundominguez Nov 12, 2018
b759192
Merge pull request #21 from haskell-distributed/ghc-8.6.1
facundominguez Nov 12, 2018
d58250e
Merge pull request #76 from haskell-distributed/relax-deps
facundominguez Nov 12, 2018
0ce9792
Merge pull request #23 from haskell-distributed/update-deps
facundominguez Nov 12, 2018
19bf1aa
Update maintainer field in .cabal
facundominguez Nov 21, 2018
fd786b8
fixed broken tests
Apr 28, 2019
6b3dc02
travis build with ghc 8.6.4
Apr 28, 2019
48a38ff
travis fixed cabal version
Apr 28, 2019
aedf135
revert tests
Apr 28, 2019
a014815
added GHC version switch
Apr 28, 2019
d7ffdf1
rtfm for GHC version numbering
Apr 28, 2019
af34730
Merge pull request #23 from chisui/master
facundominguez Apr 29, 2019
692d87a
Fix possible endless waiting on the 'crossed' MVar
andriytk May 10, 2019
434e029
Merge pull request #81 from andriytk/crossed-mvar-stuck-fix
facundominguez May 10, 2019
d34b513
Bump version to 0.3.9 and update ChangeLog.
facundominguez May 12, 2019
54501db
Relax upper bound of hashable.
facundominguez May 12, 2019
f260229
Bump version to 0.5.3.
facundominguez May 12, 2019
5801754
Bump version to 0.5.4.
facundominguez May 13, 2019
bb21752
Addon for the 'crossed' MVar waiting fix
andriytk May 13, 2019
5a08e32
Merge pull request #83 from andriytk/crossed-mvar-stuck-fix
facundominguez May 13, 2019
6cc18ca
Fix possible msg corruption on a busy network
andriytk May 14, 2019
b738345
Merge pull request #86 from andriytk/msg-corruption-fix
facundominguez May 23, 2019
cc5a414
Edit comments.
facundominguez May 23, 2019
030f3ea
Style changes to sendOn.
facundominguez May 23, 2019
d914ebe
Bumped dependencies
davidsd Jul 24, 2019
1f24648
Loosen async dependency.
qnikst Nov 13, 2019
1d23719
Merge pull request #87 from qnikst/master
facundominguez Nov 13, 2019
588b797
Relax upper bound on containers.
facundominguez Dec 31, 2019
db27516
Bump version to 0.2.4.3
facundominguez Dec 31, 2019
9d374b4
Bump version to 0.7.0
facundominguez Dec 31, 2019
6fe2aab
Release 0.6.1
facundominguez Dec 31, 2019
2bd25b9
Fix link to tutorial-NT2.
facundominguez Jan 10, 2020
bfb2a15
Got working with GHC 8.8.3
davidsd Jun 13, 2020
4014905
Move to network 3.
facundominguez Oct 6, 2020
0b848cd
Merge pull request #90 from haskell-distributed/fd/network-3
facundominguez Oct 6, 2020
3c7c665
Update ghc versions in CI.
facundominguez Oct 6, 2020
291dde7
Provide a way to choose which tests to run.
facundominguez Oct 8, 2020
4bdcf6a
Bump version to 0.3.0.
facundominguez Oct 8, 2020
f01678a
Fix cabal errors.
facundominguez Oct 8, 2020
0494db1
Stop running flaky tests. #91 #92
facundominguez Oct 8, 2020
2cb34ba
Bump version to 0.8.0
facundominguez Oct 8, 2020
46e5e61
Stop testing ghc-7.10.3 in CI and test with ghc-8.8.4.
facundominguez Oct 24, 2020
2e1c57a
Bump version to 0.4.1.
facundominguez Oct 24, 2020
d6740b2
Fix cabal file warnings.
facundominguez Oct 24, 2020
6823cea
Allow bytestring-0.11
TristanCacqueray Aug 8, 2022
57269d8
Allow hashable-1.4
TristanCacqueray Aug 8, 2022
9ec1c04
Merge pull request #40 from TristanCacqueray/bytestring-0.11
facundominguez Aug 9, 2022
e4fbe23
Bump version to 0.5.5
facundominguez Aug 9, 2022
086a9aa
Fix cabal warnings
facundominguez Aug 9, 2022
696f609
Allow bytestring-0.11 for ghc-9.2
TristanCacqueray Aug 21, 2022
03604c7
Merge pull request #23 from TristanCacqueray/ghc924
facundominguez Aug 22, 2022
a8abbc4
Fix testing with ghc-9.2
TristanCacqueray Aug 22, 2022
60edd69
Merge pull request #27 from TristanCacqueray/ghc-9.2
facundominguez Aug 26, 2022
53c5453
Fix tests with ghc-9.0.2
facundominguez Aug 26, 2022
cd9570b
Fix extension fields in the cabal file
facundominguez Aug 30, 2022
dc8157f
Merge pull request #41 from haskell-distributed/fd/fix-cabal-extensio…
facundominguez Aug 30, 2022
091ce1d
Update ChangeLog and bump version to 0.5.6
facundominguez Aug 30, 2022
16a4156
Fix deprecated bytestring module name to compile with latest Stack
matt2718 Oct 12, 2022
d0b2964
CI for GHC 9.0.1 (latest in hvr-ghc)
matt2718 Oct 12, 2022
b8bf605
Merge pull request #93 from matt2718/deprecated-fix
facundominguez Oct 12, 2022
130405e
Update dependency bounds in cabal file
facundominguez Oct 12, 2022
a6732df
Bump version to 0.8.1
facundominguez Oct 12, 2022
9d9fc08
Update dependency bounds
facundominguez Oct 12, 2022
437fabc
Bump version to 0.3.1
facundominguez Oct 12, 2022
bab06c5
Compiled with ghc-9.4.5
davidsd May 2, 2023
0013798
update transformers version to 0.6
epoberezkin Aug 22, 2023
6137453
Merge pull request #42 from simplex-chat/master
facundominguez Sep 9, 2023
fbcb151
Restore lowerbound of transformers
facundominguez Sep 9, 2023
709ddf0
docs: Fix link to haskell-distributed.github.io
414owen Sep 27, 2023
4b1bfcf
Updated bounds and support for network-3
LaurentRDC Mar 24, 2024
7cdfccd
Removed CPP code associated with network < 3
LaurentRDC Mar 24, 2024
5bcfd3d
Updated test executable
LaurentRDC Mar 24, 2024
cabcecb
Merge pull request #26 from LaurentRDC/master
davidsd Mar 25, 2024
06ce2e9
Bulk improvements (#27)
LaurentRDC Mar 25, 2024
08ea6f7
Fix redundant import warning
davidsd Mar 25, 2024
dc9176c
Bump bytestring; fix redundant import warning
davidsd Mar 25, 2024
09bad0b
Bump bytestring and deepseq versions; fix Control.Applicative warnings
davidsd Mar 25, 2024
e979392
Bump bytestring version
davidsd Mar 25, 2024
7a98331
Bump bytestring bound
davidsd Mar 25, 2024
c10ed55
Update Cabal version and add default language
davidsd Mar 25, 2024
0ec263c
Merge pull request #22 from davidsd/master
davidsd Mar 25, 2024
68a1461
Use published distributed-process version instead of source from github
LaurentRDC Mar 25, 2024
62e436f
Bump dependencies to build with ghc 9.8. Fix a redundant import warning.
davidsd Mar 25, 2024
b242a95
Appease case analysis checker
LaurentRDC Mar 25, 2024
e6e3156
Clean-up unused imports
LaurentRDC Mar 25, 2024
a0a43d5
Bump mtl and bytestring bounds
davidsd Mar 26, 2024
d43e5f6
Bump dependencies to build with ghc-9.8
davidsd Mar 26, 2024
800f36e
Added upper bounds for distributed-static, exceptions, stm
davidsd Mar 26, 2024
8f81651
Bumped bounds in test suite
davidsd Mar 26, 2024
a600a1c
Bump version number
davidsd Mar 26, 2024
4ce6722
Update changelog
davidsd Mar 26, 2024
093dd93
Disable testCheckPeerHostResolve for now
davidsd Mar 27, 2024
83e3a9a
Bump version
davidsd Mar 27, 2024
5043c2d
Update changelog
davidsd Mar 27, 2024
abc2618
Expanded gitignore
LaurentRDC Mar 27, 2024
bc83553
Continuous integration via Github Actions
LaurentRDC Mar 27, 2024
2474f42
Cleanup of unused imports
LaurentRDC Mar 27, 2024
ef05fd4
Preparation for release 0.3.0
LaurentRDC Mar 27, 2024
5401e2a
Added a CI pipeline based on Github Actions
LaurentRDC Apr 2, 2024
13e474e
Update upper bound on `containers`
LaurentRDC Apr 2, 2024
018aebe
Updated gitignore
LaurentRDC Apr 2, 2024
3f12ac0
CI pipeline in Github Actions
LaurentRDC Apr 2, 2024
56d8430
Updated upper bound on `containers`
LaurentRDC Apr 2, 2024
1140354
Update documentation link
LaurentRDC Apr 4, 2024
95c0675
Merge pull request #43 from 414owen/os/fix-link-to-docs
LaurentRDC Jun 12, 2024
69012eb
Allow network-3.2 (#94)
LaurentRDC Jul 9, 2024
456f406
Set TCP_NODELAY by default (#66).
LaurentRDC Jul 9, 2024
1424040
Added GHC 9.10.1 to the test matrix
LaurentRDC Aug 28, 2024
1327b84
Removed Travis CI badge
LaurentRDC Aug 28, 2024
32925da
Basic monorepo structure for distributed-process and distributed-proc…
LaurentRDC Aug 31, 2024
24e6147
Move package into monorepo structure
LaurentRDC Aug 31, 2024
0830c1a
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
ad21288
Add distributed-process-async
LaurentRDC Aug 31, 2024
63d775d
Monorepo structure
LaurentRDC Aug 31, 2024
be3a92e
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
f6d6adc
Add distributed-process-azure
LaurentRDC Aug 31, 2024
2b1c5e2
Monorepo structure
LaurentRDC Aug 31, 2024
4be73fb
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
3506b2b
Add distributed-process-client-server
LaurentRDC Aug 31, 2024
0ac771d
remove distributed-process-azure
LaurentRDC Aug 31, 2024
9d2f3ad
Monorepo structure
LaurentRDC Aug 31, 2024
db12dd2
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
3e20c1d
Added distributed-process-execution
LaurentRDC Aug 31, 2024
ddec357
Monorepo structure
LaurentRDC Aug 31, 2024
6edb2de
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
dc0fda7
Added distributed-process-extras
LaurentRDC Aug 31, 2024
99e45be
Monorepo structure
LaurentRDC Aug 31, 2024
e5bf2db
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
e530938
Added distributed-process-simplelocalnet
LaurentRDC Aug 31, 2024
37b5bfa
Monorepo structure
LaurentRDC Aug 31, 2024
48f3782
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
bd86f82
Added distributed-process-supervisor
LaurentRDC Aug 31, 2024
66938d4
Monorepo structure
LaurentRDC Aug 31, 2024
c5c365e
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
de2f925
Added distributed-static
LaurentRDC Aug 31, 2024
dfb0574
Remove unused extra-deps line
LaurentRDC Aug 31, 2024
bc1bc9e
Monorepo structure
LaurentRDC Aug 31, 2024
a7b0c26
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
0bc33c5
Added network-transport
LaurentRDC Aug 31, 2024
0aa9d56
Monorepo structure
LaurentRDC Aug 31, 2024
0e87268
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
105ed95
Added network-transport-inmemory
LaurentRDC Aug 31, 2024
0e8a630
Monorepo structure
LaurentRDC Aug 31, 2024
47c275e
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
c1aeb08
Monorepo structure
LaurentRDC Aug 31, 2024
e315d86
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
05b91cc
Added network-transport-tcp
LaurentRDC Aug 31, 2024
9fb3f1b
Added r ank1dynamic
LaurentRDC Aug 31, 2024
5191ece
Update dependencies to make everything build
LaurentRDC Aug 31, 2024
d4e5974
Bump upper bound on network
LaurentRDC Aug 31, 2024
2fd2e6f
Don't stop CI tests if some instances fails
LaurentRDC Aug 31, 2024
241d999
Update upper bound on network-transport-tcp
LaurentRDC Aug 31, 2024
76fb1f4
Update upper bound on network-transport
LaurentRDC Aug 31, 2024
cdf60b7
Monorepo structure
LaurentRDC Aug 31, 2024
4c95bdc
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
6351fc2
Harmonized dependency bounds across all packages
LaurentRDC Aug 31, 2024
0a25c0f
Added distributed-process-systest
LaurentRDC Aug 31, 2024
1f06017
Monorepo structure
LaurentRDC Aug 31, 2024
fb54582
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
77fd09d
Added network-transport-tests
LaurentRDC Aug 31, 2024
9e2c126
Show test details directly
LaurentRDC Aug 31, 2024
e038ca1
Disable flaky tests
LaurentRDC Aug 31, 2024
c5b6c1f
Monorepo structure
LaurentRDC Aug 31, 2024
6917b21
Merge branch 'monorepo-structure' of https://github.com/haskell-distr…
LaurentRDC Aug 31, 2024
0e571e2
Don't run CI when the website is modified
LaurentRDC Aug 31, 2024
aef4a6c
Upgrade all cabal files to version 3.0
LaurentRDC Aug 31, 2024
a2fc7c6
Cleanup based on minimum version of GHC (8.10) and associated librari…
LaurentRDC Aug 31, 2024
4a50db6
Harmonize the 'tested-with' clause in all cabal files
LaurentRDC Aug 31, 2024
6addd63
Top-level CONTRIBUTING.md file
LaurentRDC Aug 31, 2024
83f6b3f
Normalize maintainer tag
LaurentRDC Sep 2, 2024
afec2cc
Lower bound for base (4.14 = GHC 8.10.7)
LaurentRDC Sep 2, 2024
547fc4f
Set up default warnings for all packages
LaurentRDC Sep 2, 2024
e090ffe
Include Windows in CI testing
LaurentRDC Sep 2, 2024
f169b09
Comment out flaky test
LaurentRDC Sep 2, 2024
7946c2d
Disable Windows CI
LaurentRDC Sep 2, 2024
c84a34e
Added explicit rematch version to stack.yaml's to satisfy stack; remo…
davidsd Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 60 additions & 0 deletions .github/workflows/cabal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Continuous integration

on:
push:
paths-ignore:
- 'website/*/**'
- 'README.md'
pull_request:

jobs:
continuous-integration:
strategy:
fail-fast: false
matrix:
ghc-version:
- "8.10.7"
- "9.0.2"
- "9.2.8"
- "9.4.5"
- "9.6.4"
- "9.8.2"
- "9.10.1"
operating-system:
- "ubuntu-latest"

runs-on: ${{ matrix.operating-system }}

steps:
- uses: actions/checkout@v4

- name: Install cabal/ghc
uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc-version }}
cabal-version: '3.12.1.0'

- name: Generate freeze file
run: |
cabal configure --enable-tests --test-show-details=direct
cabal freeze --minimize-conflict-set

- name: Cache cabal work
uses: actions/cache@v4
with:
path: |
dist-newstyle
${{ steps.setup-haskell.outputs.cabal-store }}
# We are using the hash of 'cabal.project.local' so that different levels
# of optimizations are cached separately
key: ${{ runner.os }}-${{ hashFiles('cabal.project', 'cabal.project.local') }}-cabal-install

- name: Build dependencies only
run: cabal build all --only-dependencies

- name: Build all packages
run: cabal build all

- name: Run all tests
run: cabal test all
39 changes: 0 additions & 39 deletions .github/workflows/distributed-process-ci.yml

This file was deleted.

31 changes: 26 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
dist/
dist-newstyle/
.cabal-sandbox
dist
dist-*
cabal-dev
*.o
*.hi
*.hie
*.chi
*.chs.h
*.dyn_o
*.dyn_hi
.hpc
.hsenv
.cabal-sandbox/
cabal.sandbox.config
.stack*
stack.yaml.lock
*.prof
*.aux
*.hp
*.eventlog
.stack-work/
cabal.project.local
cabal.project.local~
.HTF/
.ghc.environment.*
.*.swo
.*.swp
_site
.DS_Store
58 changes: 57 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1,57 @@
See https://github.com/haskell-distributed/cloud-haskell/blob/master/CONTRIBUTING.md.
# Cloud Haskell contributor guidelines

## Building

After cloning, you should be able to build all packages in this repository like so:

```
$ cabal build all
```

You can also build a specific package like so:

```
cabal build <some-package>
```

You can have more control over the behavior of `cabal` by configuring, first. For example, if you want to disable optimizations for faster compilation:

```
$ cabal configure --disable-optimization
$ cabal build all
```

The allowed arguments for `cabal configure` are [documented here](https://cabal.readthedocs.io/en/stable/cabal-project-description-file.html#global-configuration-options).

Tests for all packages can be run with:

```
$ cabal test all
```

or again, you can test a specific package `<some-package>` using:

```
$ cabal test <some-package>
```

### Building with specific dependencies

Often, we want to build a package with a specific version of a dependency, for testing or debugging purposes. In this case, recall that you can always constrain cabal using the `--constraint` flag. For example, if I want to build `distributed-process-async` with `async==2.2.5`:

```
$ cabal build distributed-process-async --constraint="async==2.2.5"
```

## Contributing changes upstream

To contribute changes, you first need a fork. First, fork the `distributed-process` repository following the [instructions here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo).

Then publish branches:

```
$ cabal test all # Check that everything works before proceeding.
$ git push --set-upstream <username> <branch-name>
```

Then you can [create a pull-request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) to contribute changes back to `distributed-process`.
4 changes: 4 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packages: packages/*/**.cabal

package distributed-process-tests
flags: +tcp
1 change: 0 additions & 1 deletion distributed-process-tests/CONTRIBUTING.md

This file was deleted.

13 changes: 0 additions & 13 deletions distributed-process-tests/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions distributed-process-tests/Setup.hs

This file was deleted.

21 changes: 21 additions & 0 deletions packages/distributed-process-async/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
2024-03-25 David Simmons-Duffin <[email protected]> 0.2.7

* Bump dependencies to build with ghc-9.8.

2018-06-14 Alexander Vershilov <[email protected]> 0.2.6

* Update dependency bounds
* Export all documented functions (Issue #9)

2016-02-16 Facundo Domínguez <[email protected]> 0.2.3

* Update dependency bounds.

# HEAD

* Added initial GenServer module
* Added Timer Module
* Moved time functions into Time.hs
* Added Async API
* Added GenProcess API (subsumes lower level GenServer API)

30 changes: 30 additions & 0 deletions packages/distributed-process-async/LICENCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Copyright Tim Watson, 2012-2013.

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of the author nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22 changes: 22 additions & 0 deletions packages/distributed-process-async/NOTES
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MAJOR TODOs (in no particular order)

- implement Observable for Mailbox
- implement PCopy / pcopy :: PCopy a -> Process () and precv :: Process (Maybe (PCopy a))
- provide InputChannel for PCopy data, i.e.:

data InputChannel a = ReadChan (ReceivePort a) | ReadSTM (STM a)

read (ReadChan rp) = expectChan rp
read (ReadSTM stm) = liftIO $ atomically stm

offer

- implement RoundRobinRouter, ContentBasedRouter
- finish off ResourcePool
- double check we're using NFSerializable where possible/necessary

- implement LocalRegistry (?)
- possibly rationalise Registry with LocalRegistry (?)
- Health checks for services
- Service Monitoring

87 changes: 87 additions & 0 deletions packages/distributed-process-async/distributed-process-async.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
cabal-version: 3.0
name: distributed-process-async
version: 0.2.7
build-type: Simple
license: BSD-3-Clause
license-file: LICENCE
stability: experimental
Copyright: Tim Watson 2012 - 2016
Author: Tim Watson
maintainer: The Distributed Haskell team
Homepage: http://github.com/haskell-distributed/distributed-process-async
Bug-Reports: http://github.com/haskell-distributed/distributed-process-async/issues
synopsis: Cloud Haskell Async API
description: This package provides a higher-level interface over Processes, in which an Async a is a
concurrent, possibly distributed Process that will eventually deliver a value of type a.
The package provides ways to create Async computations, wait for their results, and cancel them.
category: Control
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1

source-repository head
type: git
location: https://github.com/haskell-distributed/distributed-process-async

common warnings
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
-fhide-source-paths
-Wpartial-fields

library
import: warnings
build-depends:
base >= 4.14 && < 5,
data-accessor >= 0.2.2.3,
distributed-process >= 0.6.1 && < 0.8,
exceptions >= 0.10 && < 1.0,
binary >= 0.8 && < 0.9,
deepseq >= 1.4 && < 1.6,
mtl,
containers >= 0.6 && < 0.8,
hashable >= 1.2.0.5 && < 1.6,
unordered-containers >= 0.2.3.0 && < 0.3,
fingertree < 0.2,
stm >= 2.4 && < 2.6,
time >= 1.9,
transformers
default-extensions: CPP
InstanceSigs
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Control.Distributed.Process.Async
other-modules:
Control.Distributed.Process.Async.Internal.Types

test-suite AsyncTests
import: warnings
type: exitcode-stdio-1.0
x-uses-tf: true
build-depends:
base >= 4.14 && < 5,
ansi-terminal >= 0.5 && < 0.9,
distributed-process,
distributed-process-async,
distributed-process-systest >= 0.2.0,
exceptions >= 0.10 && < 1.0,
network >= 2.5 && < 3.3,
network-transport >= 0.4 && < 0.6,
network-transport-tcp >= 0.6 && < 0.9,
binary >= 0.8 && < 0.9,
deepseq >= 1.4 && < 1.6,
-- HUnit >= 1.2 && < 2,
stm >= 2.3 && < 2.6,
test-framework >= 0.6 && < 0.9,
test-framework-hunit,
rematch >= 0.2.0.0,
transformers
hs-source-dirs:
tests
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
default-extensions: CPP
main-is: TestAsync.hs
3 changes: 3 additions & 0 deletions packages/distributed-process-async/profiling/configure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
cabal clean
cabal configure --enable-library-profiling --enable-executable-profiling
Loading
Loading