From 6025c86958622504d3918ee109d78d741b1f3761 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Thu, 12 Dec 2024 22:38:28 +0100 Subject: [PATCH 1/9] Create pr_lint --- .github/workflows/pr_lint | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/pr_lint diff --git a/.github/workflows/pr_lint b/.github/workflows/pr_lint new file mode 100644 index 000000000..04afdf2a0 --- /dev/null +++ b/.github/workflows/pr_lint @@ -0,0 +1,44 @@ +## Reference: https://github.com/amannn/action-semantic-pull-request +--- +name: "PR" + +on: + pull_request_target: + types: + - opened + - reopened + - edited + - synchronize + +permissions: + contents: read + +jobs: + pr_title: + permissions: + pull-requests: write + statuses: write + name: Validate & Label PR + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + # Configure which types are allowed (newline-delimited). + # From: https://github.com/commitizen/conventional-commit-types/blob/master/index.json + # listing all below + types: | + chore + ci + docs + feat + fix + perf + refactor + revert + test + break + - uses: release-drafter/release-drafter@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From a7fd21959afbdf39182ea99ac2a52c4a853bff4d Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Thu, 12 Dec 2024 22:48:27 +0100 Subject: [PATCH 2/9] Create DCO.md --- licenses/DCO.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 licenses/DCO.md diff --git a/licenses/DCO.md b/licenses/DCO.md new file mode 100644 index 000000000..49b8cb054 --- /dev/null +++ b/licenses/DCO.md @@ -0,0 +1,34 @@ +Developer Certificate of Origin +Version 1.1 + +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + + +Developer's Certificate of Origin 1.1 + +By making a contribution to this project, I certify that: + +(a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + +(b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + +(c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + +(d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all + personal information I submit with it, including my sign-off) is + maintained indefinitely and may be redistributed consistent with + this project or the open source license(s) involved. From 9cd2c9000c2707da1db06f09fee52a455374cb46 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Thu, 12 Dec 2024 22:50:45 +0100 Subject: [PATCH 3/9] Update CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 4faa7a4cc..1570f4b36 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -111,6 +111,18 @@ individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within the community. +## Developer Certificate of Origin +All contributions to the topoteretes codebase must be signed-off to indicate you have read and agreed to the Developer Certificate of Origin (DCO), which is in the root directory under name DCO. To sign the DCO, simply add -s after all commits that you make, to do this easily you can make a git alias from the command line, for example: + +$ git config alias.cos "commit -s" + +Will allow you to write git cos which will automatically sign-off your commit. By signing a commit you are agreeing to the DCO and agree that you will be banned from the topoteretes GitHub organisation and Discord server if you violate the DCO. + +We consider the following as violations to the DCO: + +Signing the DCO with a fake name or pseudonym, if you are registered on GitHub or another platform with a fake name then you will not be able to contribute to topoteretes before updating your name; +Submitting a contribution that you did not have the right to submit whether due to licensing, copyright, or any other restrictions. + ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], From e6b01e13f00acb22cf3018364ad102cfe390eaea Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:20:13 +0100 Subject: [PATCH 4/9] Update pr_lint --- .github/workflows/pr_lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_lint b/.github/workflows/pr_lint index 04afdf2a0..0bfc5b8aa 100644 --- a/.github/workflows/pr_lint +++ b/.github/workflows/pr_lint @@ -3,7 +3,7 @@ name: "PR" on: - pull_request_target: + pull_request: types: - opened - reopened From 8f737df0d8ad27f85607458f6ad1a386e8e8598f Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:20:43 +0100 Subject: [PATCH 5/9] Update pr_lint --- .github/workflows/pr_lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_lint b/.github/workflows/pr_lint index 0bfc5b8aa..f0e739813 100644 --- a/.github/workflows/pr_lint +++ b/.github/workflows/pr_lint @@ -1,6 +1,6 @@ ## Reference: https://github.com/amannn/action-semantic-pull-request --- -name: "PR" +name: lint | PR on: pull_request: From e329e7cc320db3e26d3a7602007d265dc7feb330 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:28:44 +0100 Subject: [PATCH 6/9] Create DCO.md --- DCO.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 DCO.md diff --git a/DCO.md b/DCO.md new file mode 100644 index 000000000..e2a2401c6 --- /dev/null +++ b/DCO.md @@ -0,0 +1,17 @@ +Developer Certificate of Origin Version 1.1 + +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Developer's Certificate of Origin 1.1 + +By making a contribution to this project, I certify that: + +(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or + +(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or + +(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. + +(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. From f8e9305d1e62344d2d04685fae0ed1fa99535c18 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:29:17 +0100 Subject: [PATCH 7/9] Delete licenses/DCO.md --- licenses/DCO.md | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 licenses/DCO.md diff --git a/licenses/DCO.md b/licenses/DCO.md deleted file mode 100644 index 49b8cb054..000000000 --- a/licenses/DCO.md +++ /dev/null @@ -1,34 +0,0 @@ -Developer Certificate of Origin -Version 1.1 - -Copyright (C) 2004, 2006 The Linux Foundation and its contributors. - -Everyone is permitted to copy and distribute verbatim copies of this -license document, but changing it is not allowed. - - -Developer's Certificate of Origin 1.1 - -By making a contribution to this project, I certify that: - -(a) The contribution was created in whole or in part by me and I - have the right to submit it under the open source license - indicated in the file; or - -(b) The contribution is based upon previous work that, to the best - of my knowledge, is covered under an appropriate open source - license and I have the right under that license to submit that - work with modifications, whether created in whole or in part - by me, under the same open source license (unless I am - permitted to submit under a different license), as indicated - in the file; or - -(c) The contribution was provided directly to me by some other - person who certified (a), (b) or (c) and I have not modified - it. - -(d) I understand and agree that this project and the contribution - are public and that a record of the contribution (including all - personal information I submit with it, including my sign-off) is - maintained indefinitely and may be redistributed consistent with - this project or the open source license(s) involved. From 86c586cce91d466ed109b15916f0e0c12c6dbb33 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:30:16 +0100 Subject: [PATCH 8/9] Update CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 1570f4b36..1f1b2ee8c 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -111,17 +111,6 @@ individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within the community. -## Developer Certificate of Origin -All contributions to the topoteretes codebase must be signed-off to indicate you have read and agreed to the Developer Certificate of Origin (DCO), which is in the root directory under name DCO. To sign the DCO, simply add -s after all commits that you make, to do this easily you can make a git alias from the command line, for example: - -$ git config alias.cos "commit -s" - -Will allow you to write git cos which will automatically sign-off your commit. By signing a commit you are agreeing to the DCO and agree that you will be banned from the topoteretes GitHub organisation and Discord server if you violate the DCO. - -We consider the following as violations to the DCO: - -Signing the DCO with a fake name or pseudonym, if you are registered on GitHub or another platform with a fake name then you will not be able to contribute to topoteretes before updating your name; -Submitting a contribution that you did not have the right to submit whether due to licensing, copyright, or any other restrictions. ## Attribution From 3de31219e832e0d227872a8d177b56c0f4f75991 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:31:01 +0100 Subject: [PATCH 9/9] Update CONTRIBUTING.md --- CONTRIBUTING.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d9824ee8b..eeafac6d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -71,11 +71,23 @@ You're on the verge of completion! It's time to showcase your hard work. 🌐 The project maintainers will review your work, possibly suggest improvements, or request further details. Once you receive approval, your contributions will become part of **cognee**! -## 5. 📜 Code of Conduct +## 5. Developer Certificate of Origin +All contributions to the topoteretes codebase must be signed-off to indicate you have read and agreed to the Developer Certificate of Origin (DCO), which is in the root directory under name DCO. To sign the DCO, simply add -s after all commits that you make, to do this easily you can make a git alias from the command line, for example: + +$ git config alias.cos "commit -s" + +Will allow you to write git cos which will automatically sign-off your commit. By signing a commit you are agreeing to the DCO and agree that you will be banned from the topoteretes GitHub organisation and Discord server if you violate the DCO. + +We consider the following as violations to the DCO: + +Signing the DCO with a fake name or pseudonym, if you are registered on GitHub or another platform with a fake name then you will not be able to contribute to topoteretes before updating your name; +Submitting a contribution that you did not have the right to submit whether due to licensing, copyright, or any other restrictions. + +## 6. 📜 Code of Conduct Ensure you adhere to the project's [Code of Conduct](https://github.com/topoteretes/cognee/blob/main/CODE_OF_CONDUCT.md) throughout your participation. -## 6. 📫 Contact +## 7. 📫 Contact If you need assistance or simply wish to connect, we're here for you. Contact us by filing an issue on the GitHub repository or by messaging us on our Discord server.