Skip to content
Snippets Groups Projects
Commit d46d8dcc authored by Pavel Zhukov's avatar Pavel Zhukov
Browse files

Upstream communication policy.

Upstream communication policy describe a way we communicate with
upstream projects. It doesn't cover all cases because upstreams are
different (some use local files/tarballs instead of VCS) but it aims
to cover common cases and principles.

Related to https://git.ostc-eu.org/OSTC/OHOS/governance/ip-policy/-/issues/17



Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
parent ddfd6828
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,8 @@ This could be done automatically in the ``git`` submission:
git commit --signoff -m "comment"
.. _docs_dco:
Developer Certificate of Origin
*******************************
......
......@@ -19,5 +19,6 @@ requirements.
gitlab
reuse
dco
upstream_contribution_process
devtool
bug_policy
.. SPDX-FileCopyrightText: Huawei Inc.
..
.. SPDX-License-Identifier: CC-BY-4.0
.. include:: ../definitions.rst
.. _sec_upstream_contrib:
Contributing to projects not maintained by |main_project_name| team
###################################################################
.. _sec_upstream_contrib_overview:
Overview
********
In order to comply with :ref:`Upstream first<sec-upstream>` rule and Open Source licenses requirements, |main_project_name| developers collaborate with several upstream projects to submit fixes, improvements, bug reports, problem investigation results etc. Contribution must be made in accordance with upstream project policy using the tooling upstream project prefers such as mailing list, github/gitlab pull/merge requests, etc.
.. _sec_upstream_contrib_signoff:
Signing off contribution
************************
All contributions must be signed off by the |main_project_name| developer using their email account associated with the copyright owner of the work (in most cases it will be the corporate email address). This does not apply if the upstream project policy says otherwise or signing off of the contribution is not possible due to upstream project's limitation. It is recommended to use corporate email address as a sender address in case of email communication.
In case the |main_project_name| developer contributes code written by someone else (provided by partner, end user, third-party contributor etc) original author's copyright must be kept and entire contribution must be signed off with "Author:" tag unless the author explicitly asks otherwise. This could be done in the ``git`` submission:
.. code-block:: text
git commit --signoff --author="Foo Bar <foo.bar@example.com>" -m "comment"
By doing this |main_project_name| developer states that they agree to the terms of :ref:`DCO<docs_dco>`
The developer must make sure that they have rights to submit on behalf of the original author according to the license and/or author's permission.
It is |main_project_name| developer's responsibility to check license compatibility between the contribution and the upstream project.
.. _sec_upstream_contrib_cla:
Contribution agreement
**********************
In case the upstream project requires signing of contribution agreement of any kind, the |main_project_name| developer must review it carefully before submitting the contribution. In case of any doubt they must contact their manager or legal team for further guidance.
.. _sec_upstream_contrib_security:
Security-related contribution and sensitive data
************************************************
It is the |main_project_name| developer's responsibility to verify the data they share with upstream counterpart to prevent leak of sensitive information.
Special attention must be given in the case of security issues or issues which can be potentially rated as security-related in the future. Such cases must be handled separately according to upstream policy (using private channels or directly with the Security Officer if upstream has one).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment