From b383fc604c1838f1f1051d6bf89297b248eea42b Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 22 Mar 2024 15:03:00 +0100 Subject: [PATCH] Pekko becomes a TLP (#159) --- .github/workflows/format.yml | 2 +- .github/workflows/publish-1.0-docs.yml | 2 +- .github/workflows/publish-1.0-nightly.yml | 2 +- .github/workflows/publish-nightly.yml | 2 +- CONTRIBUTING.md | 6 +++--- DISCLAIMER | 10 ---------- NOTICE | 2 +- README.md | 4 ++-- build.sbt | 8 ++++---- project/ProjectAutoPlugin.scala | 13 +++++-------- project/project-info.conf | 8 ++++---- scripts/link-validator.conf | 2 +- 12 files changed, 24 insertions(+), 37 deletions(-) delete mode 100644 DISCLAIMER diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index fe8233d0..12ea8ae3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,7 +10,7 @@ jobs: build: name: Code is formatted runs-on: ubuntu-latest - if: github.repository == 'apache/incubator-pekko-persistence-jdbc' + if: github.repository == 'apache/pekko-persistence-jdbc' steps: - name: Checkout current branch (full) uses: actions/checkout@v4 diff --git a/.github/workflows/publish-1.0-docs.yml b/.github/workflows/publish-1.0-docs.yml index 9a0e9caa..8a607767 100644 --- a/.github/workflows/publish-1.0-docs.yml +++ b/.github/workflows/publish-1.0-docs.yml @@ -9,7 +9,7 @@ on: jobs: publish-docs: # runs on main repo only - if: github.repository == 'apache/incubator-pekko-persistence-jdbc' + if: github.repository == 'apache/pekko-persistence-jdbc' name: Publish runs-on: ubuntu-20.04 env: diff --git a/.github/workflows/publish-1.0-nightly.yml b/.github/workflows/publish-1.0-nightly.yml index cc78a0c9..1971a3ee 100644 --- a/.github/workflows/publish-1.0-nightly.yml +++ b/.github/workflows/publish-1.0-nightly.yml @@ -10,7 +10,7 @@ on: jobs: publish10: - if: github.repository == 'apache/incubator-pekko-persistence-jdbc' + if: github.repository == 'apache/pekko-persistence-jdbc' name: Publish runs-on: ubuntu-20.04 env: diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index 5871b229..e6873197 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -11,7 +11,7 @@ on: jobs: publish: # runs on main repo only - if: github.repository == 'apache/incubator-pekko-persistence-jdbc' + if: github.repository == 'apache/pekko-persistence-jdbc' name: Publish runs-on: ubuntu-20.04 env: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5e91d109..52c08ee1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,9 +5,9 @@ This is the process for committing code into main. 1. For non-trivial changes, you will be asked to sign the [CLA](https://www.apache.org/licenses/contributor-agreements.html) if you have not done so before. -2. Before starting to work on a feature or a fix, make sure that there is a ticket for your work in the [issue tracker](https://github.com/apache/incubator-pekko-persistence-jdbc/issues). If not, create it first. +2. Before starting to work on a feature or a fix, make sure that there is a ticket for your work in the [issue tracker](https://github.com/apache/pekko-persistence-jdbc/issues). If not, create it first. 3. Perform your work according to the [pull request requirements](#pull-request-requirements). -4. When the feature or fix is completed you should open a [Pull Request](https://help.github.com/articles/using-pull-requests) on [GitHub](https://github.com/apache/incubator-pekko-persistence-jdbc/pulls). +4. When the feature or fix is completed you should open a [Pull Request](https://help.github.com/articles/using-pull-requests) on [GitHub](https://github.com/apache/pekko-persistence-jdbc/pulls). 5. The Pull Request should be reviewed by other maintainers (as many as feasible/practical). Outside contributors are encouraged to participate in the review process, it is not a closed process. 6. After the review you should fix the issues (review comments, CI failures) by pushing a new commit for new review, iterating until the reviewers give their thumbs up and CI tests pass. 7. If the branch merge conflicts with its target, rebase your branch onto the target branch. @@ -84,6 +84,6 @@ Example: ## How To Enforce These Guidelines? -1. [Github Actions CI builds](https://github.com/apache/incubator-pekko-persistence-jdbc/actions) builds artifacts, runs the tests and sets Pull Request status accordingly of results in GitHub. +1. [Github Actions CI builds](https://github.com/apache/pekko-persistence-jdbc/actions) builds artifacts, runs the tests and sets Pull Request status accordingly of results in GitHub. 2. [Scalafmt](https://scalameta.org/scalafmt/) enforces some of the code style rules. 3. [sbt-header plugin](https://github.com/sbt/sbt-header) manages consistent copyright headers in every source file. diff --git a/DISCLAIMER b/DISCLAIMER deleted file mode 100644 index 6a31e0f4..00000000 --- a/DISCLAIMER +++ /dev/null @@ -1,10 +0,0 @@ -Apache Pekko (incubating) is an effort undergoing incubation at the Apache -Software Foundation (ASF), sponsored by the Apache Incubator PMC. - -Incubation is required of all newly accepted projects until a further review -indicates that the infrastructure, communications, and decision making process -have stabilized in a manner consistent with other successful ASF projects. - -While incubation status is not necessarily a reflection of the completeness -or stability of the code, it does indicate that the project has yet to be -fully endorsed by the ASF. diff --git a/NOTICE b/NOTICE index 33e50113..d2a95040 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ -Apache Pekko (Incubating) Persistence JDBC +Apache Pekko Persistence JDBC Copyright 2022-2024 The Apache Software Foundation This product includes software developed at diff --git a/README.md b/README.md index e4db200e..97816ba0 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,10 @@ Please note that the H2 database is not recommended to be used as a production d There are several ways to interact with the Pekko community: -- [GitHub discussions](https://github.com/apache/incubator-pekko-persistence-jdbc/discussions): for questions and general discussion. +- [GitHub discussions](https://github.com/apache/pekko-persistence-jdbc/discussions): for questions and general discussion. - [Pekko dev mailing list](https://lists.apache.org/list.html?dev@pekko.apache.org): for Pekko development discussions. - [Pekko users mailing list](https://lists.apache.org/list.html?users@pekko.apache.org): for Pekko user discussions. -- [GitHub issues](https://github.com/apache/incubator-pekko-persistence-jdbc/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-persistence-jdbc/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 diff --git a/build.sbt b/build.sbt index 2bcd7268..595699ce 100644 --- a/build.sbt +++ b/build.sbt @@ -14,7 +14,7 @@ import sbt.Keys._ ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec) sourceDistName := "apache-pekko-persistence-jdbc" -sourceDistIncubating := true +sourceDistIncubating := false val mimaCompareVersion = "1.0.0" @@ -55,7 +55,7 @@ lazy val migrator = project .dependsOn(core % "compile->compile;test->test") lazy val themeSettings = Seq( - pekkoParadoxGithub := Some("https://github.com/apache/incubator-pekko-persistence-jdbc")) + pekkoParadoxGithub := Some("https://github.com/apache/pekko-persistence-jdbc")) lazy val docs = project .enablePlugins(ProjectAutoPlugin, PekkoParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin) @@ -71,11 +71,11 @@ lazy val docs = project Paradox / siteSubdirName := s"docs/pekko-persistence-jdbc/${if (isSnapshot.value) "snapshot" else version.value}", Compile / paradoxProperties ++= Map( "project.url" -> "https://pekko.apache.org/docs/pekko-persistence-jdbc/current/", - "github.base_url" -> "https://github.com/apache/incubator-pekko-persistence-jdbc/", + "github.base_url" -> "https://github.com/apache/pekko-persistence-jdbc/", "canonical.base_url" -> "https://pekko.apache.org/docs/pekko-persistence-jdbc/current", "pekko.version" -> "current", "slick.version" -> Dependencies.SlickVersion, - "extref.github.base_url" -> s"https://github.com/apache/incubator-pekko-persistence-jdbc/blob/${if (isSnapshot.value) "main" + "extref.github.base_url" -> s"https://github.com/apache/pekko-persistence-jdbc/blob/${if (isSnapshot.value) "main" else "v" + version.value}/%s", // Slick "extref.slick.base_url" -> s"https://scala-slick.org/doc/${Dependencies.SlickVersion}/%s", diff --git a/project/ProjectAutoPlugin.scala b/project/ProjectAutoPlugin.scala index e94fc433..8d1642a1 100644 --- a/project/ProjectAutoPlugin.scala +++ b/project/ProjectAutoPlugin.scala @@ -11,7 +11,6 @@ import sbt.Keys._ import sbt._ import sbt.plugins.JvmPlugin import org.mdedetrich.apache.sonatype.ApacheSonatypePlugin -import ApacheSonatypePlugin.autoImport.apacheSonatypeDisclaimerFile import sbtdynver.DynVerPlugin import sbtdynver.DynVerPlugin.autoImport.dynverSonatypeSnapshots @@ -24,13 +23,13 @@ object ProjectAutoPlugin extends AutoPlugin { Seq( homepage := Some(url("https://pekko.apache.org/docs/pekko-persistence-jdbc/current/")), scmInfo := Some( - ScmInfo(url("https://github.com/apache/incubator-pekko-persistence-jdbc"), - "git@github.com:apache/incubator-pekko-persistence-jdbc.git")), + ScmInfo(url("https://github.com/apache/pekko-persistence-jdbc"), + "git@github.com:apache/pekko-persistence-jdbc.git")), developers += Developer( "contributors", "Contributors", "dev@pekko.apache.org", - url("https://github.com/apache/incubator-pekko-persistence-jdbc/graphs/contributors")), + url("https://github.com/apache/pekko-persistence-jdbc/graphs/contributors")), description := "A plugin for storing events in an event journal pekko-persistence-jdbc", startYear := Some(2022)) @@ -79,14 +78,12 @@ object ProjectAutoPlugin extends AutoPlugin { List("-skip-packages", "pekko.pattern") } ++ List("-doc-source-url", { val branch = if (isSnapshot.value) "main" else s"v${version.value}" - s"https://github.com/apache/incubator-pekko-persistence-jdbc/tree/${branch}€{FILE_PATH_EXT}#L€{FILE_LINE}" + s"https://github.com/apache/pekko-persistence-jdbc/tree/${branch}€{FILE_PATH_EXT}#L€{FILE_LINE}" }, "-doc-canonical-base-url", "https://pekko.apache.org/api/pekko-persistence-jdbc/current/"), // show full stack traces and test case durations - Test / testOptions += Tests.Argument("-oDF"), - resolvers += Resolver.jcenterRepo, - apacheSonatypeDisclaimerFile := Some((LocalRootProject / baseDirectory).value / "DISCLAIMER")) + Test / testOptions += Tests.Argument("-oDF")) override lazy val buildSettings = Seq( dynverSonatypeSnapshots := true) diff --git a/project/project-info.conf b/project/project-info.conf index 444fbc0f..3d222ebe 100644 --- a/project/project-info.conf +++ b/project/project-info.conf @@ -9,11 +9,11 @@ project-info { new-tab: false } issues: { - url: "https://github.com/apache/incubator-pekko-persistence-jdbc/issues" + url: "https://github.com/apache/pekko-persistence-jdbc/issues" text: "GitHub issues" } release-notes: { - url: "https://github.com/apache/incubator-pekko-persistence-jdbc/releases" + url: "https://github.com/apache/pekko-persistence-jdbc/releases" text: "GitHub releases" } forums: [ @@ -26,8 +26,8 @@ project-info { url: "https://lists.apache.org/list.html?users@pekko.apache.org" } { - text: "apache/incubator-pekko-persistence-jdbc discussion" - url: "https://github.com/apache/incubator-pekko-persistence-jdbc/discussions" + text: "apache/pekko-persistence-jdbc discussion" + url: "https://github.com/apache/pekko-persistence-jdbc/discussions" } ] } diff --git a/scripts/link-validator.conf b/scripts/link-validator.conf index b41af894..11d596e5 100644 --- a/scripts/link-validator.conf +++ b/scripts/link-validator.conf @@ -20,7 +20,7 @@ site-link-validator { ignore-prefixes = [ # GitHub will block with "429 Too Many Requests" - "https://github.com/apache/incubator-pekko-persistence-jdbc/" + "https://github.com/apache/pekko-persistence-jdbc/" # MVN repository forbids access after a few requests "https://mvnrepository.com/artifact/" ]