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-mongodb.git
commit d5daca5481ea96b78d1b77b3b7913121c57fe0c6 Author: Piotr P. Karwasz <[email protected]> AuthorDate: Wed Sep 2 18:09:17 2026 +0200 Generate release notes with `log4j-changelog` Bootstrap `src/changelog` with the templates used by the other Logging Services projects and a single entry for the upcoming first release, which adds the MongoDB sink. The hand-written `CHANGELOG` and `RELEASE-NOTES.txt` are superseded by the generated release notes. Remove `checkstyle-header.txt` and `findbugs-exclude-filter.xml`, which no plugin references: code style and SpotBugs are configured by `logging-parent`. Add `.gitattributes` from the main Flume repository, so that `mvnw.cmd` keeps its CRLF line endings. Assisted-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01F9NiqMnCccUGDtqt64uKe6 --- .gitattributes | 23 +++++++++++++++ CHANGELOG | 7 ----- RELEASE-NOTES.txt | 27 ------------------ checkstyle-header.txt | 16 ----------- findbugs-exclude-filter.xml | 31 -------------------- src/changelog/.2.x.x/.release-notes.adoc.ftl | 25 +++++++++++++++++ src/changelog/.2.x.x/add_mongodb_sink.xml | 7 +++++ src/changelog/.changelog.adoc.ftl | 27 ++++++++++++++++++ src/changelog/.index.adoc.ftl | 42 ++++++++++++++++++++++++++++ 9 files changed, 124 insertions(+), 81 deletions(-) diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..eaa5806 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +# 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. + +# All text files with LF line endings +* text=auto eol=lf +# PS1 files are Windows specific +*.ps1 eol=crlf +# Maven Wrapper cmd script +/mvnw.cmd eol=crlf +# Maven Wrapper need LF line endings +/.mvn/wrapper/maven-wrapper.properties eol=lf diff --git a/CHANGELOG b/CHANGELOG deleted file mode 100644 index 48cec67..0000000 --- a/CHANGELOG +++ /dev/null @@ -1,7 +0,0 @@ -Release Notes - Flume MongoDb - Version 2.0.0 - -** Improvement - * Initial version. - - - diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt deleted file mode 100644 index 0cbbad9..0000000 --- a/RELEASE-NOTES.txt +++ /dev/null @@ -1,27 +0,0 @@ -Apache Flume Kafka 2.0.0 - -CONTENTS -1. What is Apache Flume Kafka -2. Major changes in this Release -3. How to Get Involved -4. How to Report Issues - -1. What is Apache Flume Kafka -Flume is a distributed, reliable, and available service for -efficiently collecting, aggregating, and moving large amounts of event -data. Flume Kafka provides a Channel, Source, and Sink for publishing -and consuming events to and from Kafka. - -2. Major changes in this Release -For a detailed list of changes, please see the CHANGELOG file included -in this distribution. - -3. How to Get Involved -The Apache Flume project really needs and appreciates any contributions, -including documentation help, source code and feedback. If you are interested -in contributing, please visit: -https://cwiki.apache.org/confluence/display/FLUME/How+to+Contribute - -4. How to Report Issues -The Apache Flume Spring Boot project uses GitHub issues for issue tracking. Please see -https://github.com/apache/flume-spring-boot/issues diff --git a/checkstyle-header.txt b/checkstyle-header.txt deleted file mode 100644 index 4f33236..0000000 --- a/checkstyle-header.txt +++ /dev/null @@ -1,16 +0,0 @@ -/* - * 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. - */ diff --git a/findbugs-exclude-filter.xml b/findbugs-exclude-filter.xml deleted file mode 100644 index 327be31..0000000 --- a/findbugs-exclude-filter.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- - 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. ---> - -<!-- ===================================================================== --> -<!-- $Id: findbugs-exclude-filter.xml 773234 2009-05-09 15:27:59Z rgoers $ --> -<!-- ===================================================================== --> -<FindBugsFilter> - <!-- Enable only high priority warnings --> - <Match> - <Priority value="2"/> - </Match> - - <Match> - <Priority value="3"/> - </Match> -</FindBugsFilter> 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..941e571 --- /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 MongoDB, which provides a MongoDB sink for Apache Flume. + +<#include "../.changelog.adoc.ftl"> diff --git a/src/changelog/.2.x.x/add_mongodb_sink.xml b/src/changelog/.2.x.x/add_mongodb_sink.xml new file mode 100644 index 0000000..9978aa4 --- /dev/null +++ b/src/changelog/.2.x.x/add_mongodb_sink.xml @@ -0,0 +1,7 @@ +<?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"> + <description format="asciidoc">Writes Flume events to MongoDB</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>
