From 929be2290aeb633fee341d53bb79048039d33ac4 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Tue, 8 Nov 2022 08:51:55 +0000
Subject: [PATCH] contributing: Add section for Eclipse Contributor Agreement

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 contributing/CONTRIBUTING.sh |  1 +
 contributing/eca.rst         | 21 +++++++++++++++++++++
 contributing/index.rst       |  1 +
 3 files changed, 23 insertions(+)
 create mode 100644 contributing/eca.rst

diff --git a/contributing/CONTRIBUTING.sh b/contributing/CONTRIBUTING.sh
index d096bdf..7ef6757 100755
--- a/contributing/CONTRIBUTING.sh
+++ b/contributing/CONTRIBUTING.sh
@@ -100,6 +100,7 @@ log "Converting to markdown..."
 pandoc -s --toc --markdown-headings=atx --wrap=none -t gfm \
     --lua-filter="$SCRIPT_PATH/CONTRIBUTING.lua" \
     "$SCRIPT_PATH/../definitions.rst" \
+    "$SCRIPT_PATH/eca.rst" \
     "$SCRIPT_PATH/gitlab.rst" \
     "$SCRIPT_PATH/reuse.rst" \
     "$SCRIPT_PATH/dco.rst" \
diff --git a/contributing/eca.rst b/contributing/eca.rst
new file mode 100644
index 0000000..c79ba91
--- /dev/null
+++ b/contributing/eca.rst
@@ -0,0 +1,21 @@
+.. SPDX-FileCopyrightText: Huawei Inc.
+..
+.. SPDX-License-Identifier: CC-BY-4.0
+
+.. include:: ../definitions.rst
+
+Eclipse Contributor Agreement
+#############################
+
+Before your contribution can be accepted by the project team, contributors must
+electronically sign the
+`Eclipse Contributor Agreement (ECA) <http://www.eclipse.org/legal/ECA.php>`_.
+
+Commits must have a Signed-off-by field in the footer indicating that the
+author is aware of the terms by which the contribution has been provided to the
+project. Also, an associated Eclipse Foundation account needs to be in place
+with a signed Eclipse Contributor Agreement on file. These requirements
+are enforced by the Eclipse Foundation infrastructure tooling.
+
+For more information, please see the
+`Eclipse Committer Handbook <https://www.eclipse.org/projects/handbook/#resources-commit>`_.
diff --git a/contributing/index.rst b/contributing/index.rst
index 0fed847..6378007 100644
--- a/contributing/index.rst
+++ b/contributing/index.rst
@@ -17,6 +17,7 @@ requirements.
    :maxdepth: 1
    
    quick-start-contribution-onboarding
+   eca
    gitlab
    reuse
    dco
-- 
GitLab