Skip to content

Commit

Permalink
Pekko becomes TLP (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Mar 22, 2024
1 parent c67d121 commit 811aced
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
dependency-graph:
name: Update Dependency Graph
runs-on: ubuntu-latest
if: github.repository == 'apache/incubator-pekko-projection'
if: github.repository == 'apache/pekko-projection'
steps:
- uses: actions/checkout@v4
- uses: scalacenter/sbt-dependency-submission@v2
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
name: Code is formatted
runs-on: ubuntu-latest
if: github.repository == 'apache/incubator-pekko-projection'
if: github.repository == 'apache/pekko-projection'
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
validate-links:
runs-on: ubuntu-20.04
if: github.repository == 'apache/incubator-pekko-projection'
if: github.repository == 'apache/pekko-projection'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
publish-docs:
name: Publish documentation to nightlies.apache.org
runs-on: ubuntu-latest
if: github.repository == 'apache/incubator-pekko-projection'
if: github.repository == 'apache/pekko-projection'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish:
# runs on main repo only
if: github.repository == 'apache/incubator-pekko-projection'
if: github.repository == 'apache/pekko-projection'
name: Publish
runs-on: ubuntu-20.04
env:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
publish-docs:
name: Publish documentation to nightlies.apache.org
runs-on: ubuntu-latest
if: github.repository == 'apache/incubator-pekko-projection'
if: github.repository == 'apache/pekko-projection'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
10 changes: 0 additions & 10 deletions DISCLAIMER

This file was deleted.

2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Apache Pekko (Incubating) Projections
Apache Pekko Projections
Copyright 2022-2024 The Apache Software Foundation

This product includes software developed at
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ To keep up with the latest releases check out [Pekko Projections releases](https

You can join these forums and chats to discuss and ask Pekko and Pekko connector related questions:

- [GitHub discussions](https://github.com/apache/incubator-pekko-projection/discussions): for questions and general discussion.
- [GitHub discussions](https://github.com/apache/pekko-projection/discussions): for questions and general discussion.
- [Pekko users mailing list](https://lists.apache.org/[email protected]): for Pekko usage discussions.
- [Pekko dev mailing list](https://lists.apache.org/[email protected]): for Pekko development discussions.
- [GitHub issues](https://github.com/apache/incubator-pekko-projection/issues): for bug reports and feature requests. Please search the existing issues before creating new ones. If you are unsure whether you have found a bug, consider asking in GitHub discussions or the mailing list first.
- [GitHub issues](https://github.com/apache/pekko-projection/issues): for bug reports and feature requests. Please search the existing issues before creating new ones. If you are unsure whether you have found a bug, consider asking in GitHub discussions or the mailing list first.

## Contributing

Contributions are very welcome. If you have an idea on how to improve Pekko, don't hesitate to create an issue or submit a pull request.

## License

Apache Pekko Projections is available under the Apache License, version 2.0. See [LICENSE](https://github.com/apache/incubator-pekko-projection/blob/main/LICENSE) file for details.
Apache Pekko Projections is available under the Apache License, version 2.0. See [LICENSE](https://github.com/apache/pekko-projection/blob/main/LICENSE) file for details.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.apache.pekko.projections.Dependencies

ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec)
sourceDistName := "apache-pekko-projection"
sourceDistIncubating := true
sourceDistIncubating := false

ThisBuild / pekkoInlineEnabled := false
ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo
Expand Down Expand Up @@ -174,7 +174,7 @@ lazy val docs = project
.dependsOn(core, testkit)
.settings(
name := "Apache Pekko Projections",
pekkoParadoxGithub := Some("https://github.com/apache/incubator-pekko-projection"),
pekkoParadoxGithub := Some("https://github.com/apache/pekko-projection"),
publish / skip := true,
makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value,
previewPath := (Paradox / siteSubdirName).value,
Expand All @@ -184,7 +184,7 @@ lazy val docs = project
Compile / paradoxProperties ++= Map(
"project.url" -> "https://pekko.apache.org/docs/pekko-projection/current/",
"canonical.base_url" -> "https://pekko.apache.org/docs/pekko-projection/current",
"github.base_url" -> "https://github.com/apache/incubator-pekko-projection",
"github.base_url" -> "https://github.com/apache/pekko-projection",
"pekko.version" -> Dependencies.Versions.pekko,
// Pekko
"extref.pekko.base_url" -> s"https://pekko.apache.org/docs/pekko/${Dependencies.PekkoVersionInDocs}/%s",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import pekko.annotation.InternalApi
case None =>
throw new IllegalStateException(
"Actor not started, please report issue at " +
"https://github.com/apache/incubator-pekko-projection/issues")
"https://github.com/apache/pekko-projection/issues")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import pekko.annotation.ApiMayChange
"Process called before previous CompletionStage completed. " +
"Did you share the same handler instance between several Projection instances? " +
"Otherwise, please report issue at " +
"https://github.com/apache/incubator-pekko-projection/issues")
"https://github.com/apache/pekko-projection/issues")

state = newState.thenCompose(s => process(s, envelope))
state.thenApply(_ => Done)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import pekko.annotation.ApiMayChange
"Process called before previous Future completed. " +
"Did you share the same handler instance between several Projection instances? " +
"Otherwise, please report issue at " +
"https://github.com/apache/incubator-pekko-projection/issues")
"https://github.com/apache/pekko-projection/issues")
}
state = newState.flatMap(s => process(s, envelope))
state.map(_ => Done)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/paradox/getting-started/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This example requires a Cassandra database to run.
If you do not have a Cassandra database then you can run one locally as a Docker container.
To run a Cassandra database locally you can use [`docker-compose`](https://docs.docker.com/compose/) to run the [`docker-compose.yaml`](https://raw.githubusercontent.com/apache/incubator-pekko-projection/main/docker-compose.yml) found in the Projections project root.
To run a Cassandra database locally you can use [`docker-compose`](https://docs.docker.com/compose/) to run the [`docker-compose.yaml`](https://raw.githubusercontent.com/apache/pekko-projection/main/docker-compose.yml) found in the Projections project root.
The `docker-compose.yml` file references the latest [Cassandra Docker Image](https://hub.docker.com/_/cassandra).

Change directory to the directory of the `docker-compose.yml` file and manage a Cassandra container with the following commands.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ object DurableStateSourceProvider {
case other =>
// FIXME case DeletedDurableState when that is added
throw new IllegalArgumentException(
s"DurableStateChange [${other.getClass.getName}] not implemented yet. Please report bug at https://github.com/apache/incubator-pekko-persistence-r2dbc/issues")
s"DurableStateChange [${other.getClass.getName}] not implemented yet. Please report bug at https://github.com/apache/pekko-persistence-r2dbc/issues")
}

override def getObject(persistenceId: String): CompletionStage[GetObjectResult[A]] =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ object DurableStateSourceProvider {
case other =>
// FIXME case DeletedDurableState when that is added
throw new IllegalArgumentException(
s"DurableStateChange [${other.getClass.getName}] not implemented yet. Please report bug at https://github.com/apache/incubator-pekko-persistence-r2dbc/issues")
s"DurableStateChange [${other.getClass.getName}] not implemented yet. Please report bug at https://github.com/apache/pekko-persistence-r2dbc/issues")
}

override def getObject(persistenceId: String): Future[GetObjectResult[A]] =
Expand Down
4 changes: 0 additions & 4 deletions project/AddMetaInfLicenseFiles.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,4 @@ object AddMetaInfLicenseFiles extends AutoPlugin {
override def trigger = allRequirements

override def requires = ApacheSonatypePlugin

override lazy val projectSettings = Seq(
apacheSonatypeDisclaimerFile := Some((LocalRootProject / baseDirectory).value / "DISCLAIMER"))

}
8 changes: 4 additions & 4 deletions project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ object Common extends AutoPlugin {
// apiURL defined in projectSettings because version.value is not correct here
scmInfo := Some(
ScmInfo(
url("https://github.com/apache/incubator-pekko-projection"),
"[email protected]:apache/incubator-pekko-projection.git")),
url("https://github.com/apache/pekko-projection"),
"[email protected]:apache/pekko-projection.git")),
developers += Developer(
"contributors",
"Contributors",
"[email protected]",
url("https://github.com/apache/incubator-pekko-projection/graphs/contributors")),
url("https://github.com/apache/pekko-projection/graphs/contributors")),
description := "Apache Pekko Projection.")

val mimaCompareVersion = "1.0.0"
Expand All @@ -55,7 +55,7 @@ object Common extends AutoPlugin {
(ThisBuild / baseDirectory).value.toString,
"-doc-source-url", {
val branch = if (isSnapshot.value) "main" else s"v${version.value}"
s"https://github.com/apache/incubator-pekko-projection/tree/${branch}€{FILE_PATH_EXT}#L€{FILE_LINE}"
s"https://github.com/apache/pekko-projection/tree/${branch}€{FILE_PATH_EXT}#L€{FILE_LINE}"
}) ++ (if (scalaBinaryVersion.value.startsWith("3")) {
Seq("-skip-packages:org.apache.pekko.pattern")
} else {
Expand Down
8 changes: 4 additions & 4 deletions project/project-info.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ project-info {
new-tab: false
}
issues: {
url: "https://github.com/apache/incubator-pekko-projection/issues"
url: "https://github.com/apache/pekko-projection/issues"
text: "GitHub issues"
}
release-notes: {
url: "https://github.com/apache/incubator-pekko-projection/releases"
url: "https://github.com/apache/pekko-projection/releases"
text: "GitHub releases"
}
api-docs: [
Expand All @@ -34,8 +34,8 @@ project-info {
url: "https://lists.apache.org/[email protected]"
}
{
text: "apache/incubator-pekko-projection discussion"
url: "https://github.com/apache/incubator-pekko-projection/discussions"
text: "apache/pekko-projection discussion"
url: "https://github.com/apache/pekko-projection/discussions"
}
]
}
Expand Down

0 comments on commit 811aced

Please sign in to comment.