This is an automated email from the ASF dual-hosted git repository.

ppkarwasz pushed a commit to branch fix/build-project
in repository https://gitbox.apache.org/repos/asf/logging-flume-rpc.git

commit 29fd58cf8a4761565d98eb505982d2d86ce0a703
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Wed Sep 2 20:07:48 2026 +0200

    Generate release notes with `log4j-changelog`
    
    Assisted-By: Claude Fable 5.1 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01F9NiqMnCccUGDtqt64uKe6
---
 src/changelog/.2.x.x/.release-notes.adoc.ftl | 25 +++++++++++++++++
 src/changelog/.2.x.x/add_rpc_modules.xml     |  8 ++++++
 src/changelog/.changelog.adoc.ftl            | 27 ++++++++++++++++++
 src/changelog/.index.adoc.ftl                | 42 ++++++++++++++++++++++++++++
 4 files changed, 102 insertions(+)

diff --git a/src/changelog/.2.x.x/.release-notes.adoc.ftl 
b/src/changelog/.2.x.x/.release-notes.adoc.ftl
new file mode 100644
index 0000000..decbaa6
--- /dev/null
+++ b/src/changelog/.2.x.x/.release-notes.adoc.ftl
@@ -0,0 +1,25 @@
+////
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         https://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+
+${"[#release-notes-" + release.version?replace("[^a-zA-Z0-9]", "-", "r") + "]"}
+== ${release.version}
+
+<#if release.date?has_content>Release date:: ${release.date}</#if>
+
+This is the first release of Apache Flume RPC, which contains the Avro and 
Thrift RPC components and the embedded agent moved out of the main Flume 
repository.
+
+<#include "../.changelog.adoc.ftl">
diff --git a/src/changelog/.2.x.x/add_rpc_modules.xml 
b/src/changelog/.2.x.x/add_rpc_modules.xml
new file mode 100644
index 0000000..120311e
--- /dev/null
+++ b/src/changelog/.2.x.x/add_rpc_modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns="https://logging.apache.org/xml/ns";
+       xsi:schemaLocation="https://logging.apache.org/xml/ns 
https://logging.apache.org/xml/ns/log4j-changelog-0.xsd";
+       type="added">
+  <issue id="431" link="https://github.com/apache/logging-flume/pull/431"/>
+  <description format="asciidoc">Add `flume-rpc-avro`, `flume-rpc-thrift` and 
`flume-embedded-agent`, moved out of the main Flume repository</description>
+</entry>
diff --git a/src/changelog/.changelog.adoc.ftl 
b/src/changelog/.changelog.adoc.ftl
new file mode 100644
index 0000000..b36ecf9
--- /dev/null
+++ b/src/changelog/.changelog.adoc.ftl
@@ -0,0 +1,27 @@
+<#--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<#if entriesByType?size gt 0>
+<#list entriesByType as entryType, entries>
+
+${"[#release-notes-" + release.version?replace("[^a-zA-Z0-9]", "-", "r") + "-" 
+ entryType?lower_case + "]"}
+=== ${entryType?capitalize}
+
+<#list entries as entry>
+* ${entry.description.text?replace("\\s+", " ", "r")}<#if 
entry.issues?has_content> (<#list entry.issues as 
issue>${issue.link}[${issue.id}]<#if issue?has_next>, </#if></#list>)</#if>
+</#list>
+</#list>
+</#if>
diff --git a/src/changelog/.index.adoc.ftl b/src/changelog/.index.adoc.ftl
new file mode 100644
index 0000000..c71482e
--- /dev/null
+++ b/src/changelog/.index.adoc.ftl
@@ -0,0 +1,42 @@
+////
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+
+////
+    ██     ██  █████  ██████  ███    ██ ██ ███    ██  ██████  ██
+    ██     ██ ██   ██ ██   ██ ████   ██ ██ ████   ██ ██       ██
+    ██  █  ██ ███████ ██████  ██ ██  ██ ██ ██ ██  ██ ██   ███ ██
+    ██ ███ ██ ██   ██ ██   ██ ██  ██ ██ ██ ██  ██ ██ ██    ██
+     ███ ███  ██   ██ ██   ██ ██   ████ ██ ██   ████  ██████  ██
+
+    IF THIS FILE IS CALLED `release-notes.adoc`, IT IS AUTO-GENERATED, DO NOT 
EDIT IT!
+
+    The release notes page is generated from `src/changelog/.index.adoc.ftl` 
during
+    the `pre-site` phase of the Maven build and is written to
+    `target/generated-site/antora/modules/ROOT/pages/release-notes.adoc`,
+    where the Antora site build picks it up.
+    Hence, you must always edit `.index.adoc.ftl` and never the generated file.
+////
+
+// Release notes index does not look nice with a deep sectioning, override it:
+:page-toclevels: 1
+
+${"[#release-notes]"}
+= Release notes
+<#list releases as release><#if release.changelogEntryCount gt 0>
+
+include::_release-notes/${release.version}.adoc[]
+</#if></#list>

Reply via email to