Rename sbt akka modules

Co-authored-by: Sean Glover <sean@seanglover.com>
This commit is contained in:
Matthew de Detrich 2023-01-05 11:10:50 +01:00 committed by GitHub
parent b92b749946
commit 24c03cde19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2930 changed files with 1466 additions and 1462 deletions

View file

@ -2,4 +2,4 @@
dependency-change: "/project/Dependencies.scala" dependency-change: "/project/Dependencies.scala"
't:stream': ["/akka-stream", "/akka-stream-testkit", "/akka-stream-tests", "/akka-stream-tests-tck", "/akka-stream-typed"] 't:stream': ["/stream", "/stream-testkit", "/stream-tests", "/stream-tests-tck", "/stream-typed"]

View file

@ -29,7 +29,7 @@ jobs:
- name: Enable jvm-opts - name: Enable jvm-opts
run: cp .jvmopts-ci .jvmopts run: cp .jvmopts-ci .jvmopts
- name: sbt akka-cluster-metrics/test - name: sbt cluster-metrics/test
run: |- run: |-
sbt \ sbt \
-Djava.security.egd=file:/dev/./urandom \ -Djava.security.egd=file:/dev/./urandom \
@ -44,7 +44,7 @@ jobs:
-Dmultinode.Xmx256M \ -Dmultinode.Xmx256M \
-Dmultinode.Xlog:gc \ -Dmultinode.Xlog:gc \
-Dmultinode.XX:+AlwaysActAsServerClassMachine \ -Dmultinode.XX:+AlwaysActAsServerClassMachine \
clean akka-cluster-metrics/test clean cluster-metrics/test
# comment out test report until an apache or GitHub published action (action-surefire-report) can be found or added allowlist from INFRA # comment out test report until an apache or GitHub published action (action-surefire-report) can be found or added allowlist from INFRA
# - name: Test Reports # - name: Test Reports
@ -80,9 +80,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
command: command:
- akka-cluster/test akka-distributed-data/test akka-cluster-tools/test akka-cluster-metrics/test - cluster/test distributed-data/test cluster-tools/test cluster-metrics/test
- akka-cluster-sharding/test - cluster-sharding/test
- akka-cluster-typed/test akka-cluster-sharding-typed/test - cluster-typed/test cluster-sharding-typed/test
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -240,8 +240,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
command: command:
- akka-remote/test akka-remote-tests/test - remote/test remote-tests/test
- akka-cluster/test akka-cluster-typed/test - cluster/test cluster-typed/test
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View file

@ -19,17 +19,17 @@ jobs:
strategy: strategy:
matrix: matrix:
command: command:
- akka-testkit/test akka-actor-tests/test - testkit/test actor-tests/test
- akka-actor-testkit-typed/test akka-actor-typed-tests/test - actor-testkit-typed/test actor-typed-tests/test
- akka-bench-jmh/test - bench-jmh/test
- akka-cluster/test akka-cluster-tools/test akka-cluster-typed/test akka-distributed-data/test akka-cluster-metrics/test akka-cluster-sharding/test akka-cluster-sharding-typed/test - cluster/test cluster-tools/test cluster-typed/test distributed-data/test cluster-metrics/test cluster-sharding/test cluster-sharding-typed/test
- akka-discovery/test akka-coordination/test - discovery/test coordination/test
- akka-persistence/test akka-persistence-shared/test akka-persistence-query/test akka-persistence-typed/test akka-persistence-testkit/test akka-persistence-tck/test akka-persistence-typed-tests/test - persistence/test persistence-shared/test persistence-query/test persistence-typed/test persistence-testkit/test persistence-tck/test persistence-typed-tests/test
- akka-pki/test akka-slf4j/test - pki/test slf4j/test
- akka-serialization-jackson/test - serialization-jackson/test
- akka-stream/test akka-stream-testkit/test akka-stream-tests/test akka-stream-typed/test - stream/test stream-testkit/test stream-tests/test stream-typed/test
- akka-stream-tests-tck/test - stream-tests-tck/test
- akka-remote/test akka-remote-tests/test akka-protobuf/test akka-protobuf-v3/test - remote/test remote-tests/test protobuf/test protobuf-v3/test
fail-fast: true fail-fast: true
steps: steps:
- name: Checkout - name: Checkout

View file

@ -16,17 +16,17 @@ jobs:
strategy: strategy:
matrix: matrix:
command: command:
- akka-testkit/Test/compile akka-actor-tests/Test/compile - testkit/Test/compile actor-tests/Test/compile
- akka-actor-testkit-typed/Test/compile akka-actor-typed-tests/Test/compile - actor-testkit-typed/Test/compile actor-typed-tests/Test/compile
- akka-bench-jmh/Test/compile - bench-jmh/Test/compile
- akka-cluster/Test/compile akka-cluster-tools/Test/compile akka-cluster-typed/Test/compile akka-distributed-data/Test/compile akka-cluster-metrics/Test/compile akka-cluster-sharding/Test/compile akka-cluster-sharding-typed/Test/compile - cluster/Test/compile cluster-tools/Test/compile cluster-typed/Test/compile distributed-data/Test/compile cluster-metrics/Test/compile cluster-sharding/Test/compile cluster-sharding-typed/Test/compile
- akka-discovery/Test/compile akka-coordination/Test/compile - discovery/Test/compile coordination/Test/compile
- akka-persistence/Test/compile akka-persistence-shared/Test/compile akka-persistence-query/Test/compile akka-persistence-typed/Test/compile akka-persistence-testkit/Test/compile akka-persistence-tck/Test/compile akka-persistence-typed-tests/Test/compile - persistence/Test/compile persistence-shared/Test/compile persistence-query/Test/compile persistence-typed/Test/compile persistence-testkit/Test/compile persistence-tck/Test/compile persistence-typed-tests/Test/compile
- akka-pki/Test/compile akka-slf4j/Test/compile - pki/Test/compile slf4j/Test/compile
- akka-serialization-jackson/Test/compile - serialization-jackson/Test/compile
- akka-stream/Test/compile akka-stream-testkit/Test/compile akka-stream-tests/Test/compile akka-stream-typed/Test/compile - stream/Test/compile stream-testkit/Test/compile stream-tests/Test/compile stream-typed/Test/compile
- akka-stream-tests-tck/Test/compile - stream-tests-tck/Test/compile
- akka-remote/Test/compile akka-remote-tests/Test/compile akka-protobuf/Test/compile akka-protobuf-v3/Test/compile - remote/Test/compile remote-tests/Test/compile protobuf/Test/compile protobuf-v3/Test/compile
fail-fast: true fail-fast: true
steps: steps:
- name: Checkout - name: Checkout

4
.gitignore vendored
View file

@ -48,7 +48,7 @@ activemq-data
docs/_build/ docs/_build/
docs/exts/ docs/exts/
docs/rst_preprocessed/ docs/rst_preprocessed/
akka-osgi/src/main/resources/*.conf osgi/src/main/resources/*.conf
akka.sublime-project akka.sublime-project
akka.sublime-workspace akka.sublime-workspace
akka.tmproj akka.tmproj
@ -64,7 +64,7 @@ metals.sbt
mongoDB/ mongoDB/
multiverse.log multiverse.log
out out
project/akka-build.properties project/pekko-build.properties
project/boot/* project/boot/*
project/plugins/project project/plugins/project
redis/ redis/

View file

@ -217,8 +217,8 @@ The Pekko build includes a special task called `validatePullRequest`, which inve
(uncommitted changes) in your local working directory and figures out which projects are impacted by those changes, (uncommitted changes) in your local working directory and figures out which projects are impacted by those changes,
then running tests only on those projects. then running tests only on those projects.
For example, changing something in `akka-actor` would cause tests to be run in all projects which depend on it For example, changing something in `actor` would cause tests to be run in all projects which depend on it
(e.g. `akka-actor-tests`, `akka-stream`, `docs` etc.). (e.g. `actor-tests`, `stream`, `docs` etc.).
To use the task, simply type `validatePullRequest`, and the output should include entries like shown below: To use the task, simply type `validatePullRequest`, and the output should include entries like shown below:
@ -258,7 +258,7 @@ PR fails due to binary compatibility issues, you may see an error like this:
In such situations it's good to consult with a core team member whether the violation can be safely ignored or if it would indeed In such situations it's good to consult with a core team member whether the violation can be safely ignored or if it would indeed
break binary compatibility. If the violation can be ignored add exclude statements from the mima output to break binary compatibility. If the violation can be ignored add exclude statements from the mima output to
a new file named `<module>/src/main/mima-filters/<last-version>.backwards.excludes/<pr-or-issue>-<issue-number>-<description>.excludes`, a new file named `<module>/src/main/mima-filters/<last-version>.backwards.excludes/<pr-or-issue>-<issue-number>-<description>.excludes`,
e.g. `akka-actor/src/main/mima-filters/2.6.0.backwards.excludes/pr-12345-rename-internal-classes.excludes`. Make sure to add a comment e.g. `actor/src/main/mima-filters/2.6.0.backwards.excludes/pr-12345-rename-internal-classes.excludes`. Make sure to add a comment
in the file that describes briefly why the incompatibility can be ignored. in the file that describes briefly why the incompatibility can be ignored.
Situations when it may be acceptable to ignore a MiMa issued warning include: Situations when it may be acceptable to ignore a MiMa issued warning include:
@ -424,8 +424,8 @@ For first time contributors, the workflow will be run after an approval from a c
To speed up PR validation times the Akka build contains a special sbt task called `validatePullRequest`, To speed up PR validation times the Akka build contains a special sbt task called `validatePullRequest`,
which is smart enough to figure out which projects should be built if a PR only has changes in some parts of the project. which is smart enough to figure out which projects should be built if a PR only has changes in some parts of the project.
For example, if your PR only touches `akka-persistence`, no `akka-remote` tests need to be run, however the task For example, if your PR only touches `persistence`, no `remote` tests need to be run, however the task
will validate all projects that depend on `akka-persistence` (including samples). will validate all projects that depend on `persistence` (including samples).
Also, tests tagged as `PerformanceTest`, `TimingTest`, `LongRunningTest`, and all multi-node tests are excluded from PR validation. Also, tests tagged as `PerformanceTest`, `TimingTest`, `LongRunningTest`, and all multi-node tests are excluded from PR validation.
You can exclude the same kind of tests in your local build by starting sbt with: You can exclude the same kind of tests in your local build by starting sbt with:
@ -494,7 +494,7 @@ There are a number of ways timeouts can be defined in Pekko tests. The following
Special care should be given to `expectNoMessage` calls, which indeed will wait for the entire timeout before continuing. Therefore a shorter timeout should be used in those, for example `200.millis` or `300.millis`. Prefer the method without timeout parameter, which will use the configured `expect-no-message-default` timeout. Special care should be given to `expectNoMessage` calls, which indeed will wait for the entire timeout before continuing. Therefore a shorter timeout should be used in those, for example `200.millis` or `300.millis`. Prefer the method without timeout parameter, which will use the configured `expect-no-message-default` timeout.
You can read up on `remaining` and friends in [TestKit.scala](https://github.com/apache/incubator-pekko/blob/main/akka-testkit/src/main/scala/akka/testkit/TestKit.scala). You can read up on `remaining` and friends in [TestKit.scala](https://github.com/apache/incubator-pekko/blob/main/testkit/src/main/scala/org/apache/pekko/testkit/TestKit.scala).
### Contributing modules ### Contributing modules

View file

@ -207,6 +207,6 @@ Licenses for dependency projects can be found here:
--------------- ---------------
akka-protobuf contains the sources of Google protobuf 2.5.0 runtime support, pekko-protobuf contains the sources of Google protobuf 2.5.0 runtime support,
moved into the source package `akka.protobuf` so as to avoid version conflicts. moved into the source package `org.apache.pekko.protobuf` so as to avoid version conflicts.
For license information see COPYING.protobuf For license information see COPYING.protobuf

Some files were not shown because too many files have changed in this diff Show more