Skip to content

Commit 87f629d

Browse files
authored
Merge pull request #5 from ding-labs/relicense-apache-2.0
Relicense from AGPL-3.0 to Apache-2.0 + add CLA
2 parents 7b834f0 + 2717b84 commit 87f629d

7 files changed

Lines changed: 370 additions & 666 deletions

File tree

.github/CLA.md

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
# DING Individual Contributor License Agreement
2+
3+
Thank you for your interest in contributing to DING (the "Project"), maintained
4+
by DING Contributors and the `ding-labs` organization (collectively, "We" or
5+
"Us"). To clarify the intellectual property license granted with Contributions
6+
from any person or entity, We must have a Contributor License Agreement
7+
("Agreement" or "CLA") on file that has been signed by each Contributor,
8+
indicating agreement to the license terms below.
9+
10+
This Agreement is for your protection as a Contributor as well as the
11+
protection of Us and Project users; it does not change your rights to use your
12+
own Contributions for any other purpose. By signing this CLA (which happens
13+
automatically the first time you open a pull request, by commenting on the PR
14+
with the sentence the CLA bot prompts you with), you accept and agree to the
15+
following terms and conditions for your present and future Contributions
16+
submitted to the Project.
17+
18+
If you are signing on behalf of your employer or another legal entity, you
19+
represent that you are authorized to bind that entity to the terms of this
20+
Agreement.
21+
22+
## 1. Definitions
23+
24+
**"You"** (or **"Your"**) means the copyright owner or legal entity authorized
25+
by the copyright owner that is making this Agreement with Us.
26+
27+
**"Contribution"** means any original work of authorship, including any
28+
modifications or additions to an existing work, that is intentionally submitted
29+
by You to the Project for inclusion in, or documentation of, any of the
30+
products owned or managed by Us. For the purposes of this definition,
31+
"submitted" means any form of electronic, verbal, or written communication sent
32+
to Us or our representatives, including but not limited to communication on
33+
electronic mailing lists, source code control systems, and issue tracking
34+
systems that are managed by, or on behalf of, Us for the purpose of discussing
35+
and improving the Project, but excluding communication that is conspicuously
36+
marked or otherwise designated in writing by You as "Not a Contribution."
37+
38+
## 2. Grant of Copyright License
39+
40+
Subject to the terms and conditions of this Agreement, You hereby grant to Us
41+
and to recipients of software distributed by Us a perpetual, worldwide,
42+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
43+
reproduce, prepare derivative works of, publicly display, publicly perform,
44+
**sublicense**, and distribute Your Contributions and such derivative works.
45+
46+
The right to sublicense includes the right for Us to license Your Contributions
47+
under licenses other than the license under which the Project is currently
48+
distributed, including for the avoidance of doubt under proprietary or
49+
commercial licenses.
50+
51+
## 3. Grant of Patent License
52+
53+
Subject to the terms and conditions of this Agreement, You hereby grant to Us
54+
and to recipients of software distributed by Us a perpetual, worldwide,
55+
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
56+
section) patent license to make, have made, use, offer to sell, sell, import,
57+
and otherwise transfer the Project, where such license applies only to those
58+
patent claims licensable by You that are necessarily infringed by Your
59+
Contribution(s) alone or by combination of Your Contribution(s) with the
60+
Project to which such Contribution(s) was submitted.
61+
62+
If any entity institutes patent litigation against You or any other entity
63+
(including a cross-claim or counterclaim in a lawsuit) alleging that Your
64+
Contribution, or the Project to which You have contributed, constitutes direct
65+
or contributory patent infringement, then any patent licenses granted to that
66+
entity under this Agreement for that Contribution or Project shall terminate as
67+
of the date such litigation is filed.
68+
69+
## 4. Representations
70+
71+
You represent that:
72+
73+
(a) You are legally entitled to grant the above license. If your employer(s)
74+
has rights to intellectual property that you create that includes your
75+
Contributions, you represent that you have received permission to make
76+
Contributions on behalf of that employer, that your employer has waived such
77+
rights for your Contributions to Us, or that your employer has executed a
78+
separate Corporate CLA with Us.
79+
80+
(b) Each of Your Contributions is Your original creation (see section 7 for
81+
submissions on behalf of others).
82+
83+
(c) Your Contribution submissions include complete details of any third-party
84+
license or other restriction (including, but not limited to, related patents
85+
and trademarks) of which you are personally aware and which are associated with
86+
any part of Your Contributions.
87+
88+
## 5. Disclaimer
89+
90+
You are not expected to provide support for Your Contributions, except to the
91+
extent You desire to provide support. You may provide support for free, for a
92+
fee, or not at all. Unless required by applicable law or agreed to in writing,
93+
You provide Your Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR
94+
CONDITIONS OF ANY KIND, either express or implied, including, without
95+
limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
96+
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
97+
98+
## 6. Notification
99+
100+
You agree to notify Us of any facts or circumstances of which you become aware
101+
that would make these representations inaccurate in any respect.
102+
103+
## 7. Submissions on Behalf of Others
104+
105+
Should You wish to submit work that is not Your original creation, You may
106+
submit it to Us separately from any Contribution, identifying the complete
107+
details of its source and of any license or other restriction (including, but
108+
not limited to, related patents, trademarks, and license agreements) of which
109+
You are personally aware, and conspicuously marking the work as "Submitted on
110+
behalf of a third-party: [named here]".
111+
112+
---
113+
114+
This Agreement is adapted from the
115+
[Apache Software Foundation Individual Contributor License Agreement v2.0](https://www.apache.org/licenses/icla.pdf)
116+
and is offered under the
117+
[Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).

.github/workflows/cla.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CLA Assistant
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_target:
7+
types: [opened, closed, synchronize]
8+
9+
# Required permissions for the bot to comment on PRs and update the
10+
# signatures file in this repository.
11+
permissions:
12+
actions: write
13+
contents: write
14+
pull-requests: write
15+
statuses: write
16+
17+
jobs:
18+
CLAAssistant:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: "CLA Assistant"
22+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
23+
uses: contributor-assistant/github-action@v2.6.1
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
path-to-signatures: 'signatures/version1/cla.json'
28+
path-to-document: 'https://github.com/ding-labs/ding/blob/main/.github/CLA.md'
29+
branch: 'cla-signatures'
30+
allowlist: zuchka,dependabot[bot],*[bot]
31+
custom-pr-sign-comment: 'I have read the CLA Document and I hereby sign the CLA'
32+
custom-allsigned-prcomment: 'All Contributors have signed the CLA.'

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM scratch
1111
LABEL org.opencontainers.image.title="ding"
1212
LABEL org.opencontainers.image.description="Stream-based alerting daemon"
1313
LABEL org.opencontainers.image.source="https://github.com/ding-labs/ding"
14-
LABEL org.opencontainers.image.licenses="MIT"
14+
LABEL org.opencontainers.image.licenses="Apache-2.0"
1515
LABEL org.opencontainers.image.url="https://ding.ing"
1616
COPY --from=builder /ding /ding
1717
EXPOSE 8080

Dockerfile.release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM scratch
22
LABEL org.opencontainers.image.title="ding"
33
LABEL org.opencontainers.image.description="Stream-based alerting daemon"
44
LABEL org.opencontainers.image.source="https://github.com/ding-labs/ding"
5-
LABEL org.opencontainers.image.licenses="MIT"
5+
LABEL org.opencontainers.image.licenses="Apache-2.0"
66
LABEL org.opencontainers.image.url="https://ding.ing"
77
COPY ding /ding
88
EXPOSE 8080

0 commit comments

Comments
 (0)