diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index bd665f1..76e57ff 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -20,7 +20,6 @@ Describe the purpose of this pull request and the changes introduced. ## Checklist * [ ] I have read `CONTRIBUTING.md` -* [ ] I agree to the terms of `CLA.md` * [ ] I confirm that I have the legal right to submit this contribution * [ ] My contribution does not knowingly include incompatible third-party code or assets diff --git a/.github/workflows/close-mirror-prs.yml b/.github/workflows/close-mirror-prs.yml new file mode 100644 index 0000000..ded78e9 --- /dev/null +++ b/.github/workflows/close-mirror-prs.yml @@ -0,0 +1,34 @@ +name: Close mirror pull requests + +on: + pull_request_target: + types: [opened, reopened] + +permissions: + pull-requests: write + issues: write + +jobs: + close: + if: vars.STELLAR_MIRROR == 'true' + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v7 + with: + script: | + const pr = context.payload.pull_request; + if (!pr) return; + + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: pr.number, + body: 'This repository is a generated mirror. Please open the change in the component repository instead.', + }); + + await github.rest.pulls.update({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: pr.number, + state: 'closed', + }); diff --git a/.github/workflows/restrict-master-prs.yml b/.github/workflows/restrict-master-prs.yml new file mode 100644 index 0000000..b07b852 --- /dev/null +++ b/.github/workflows/restrict-master-prs.yml @@ -0,0 +1,9 @@ +name: Restrict pull requests to the default branch + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + restrict: + uses: QuantumDevTeam/.github/.github/workflows/restrict-master-prs.yml@master diff --git a/CLA.md b/CLA.md deleted file mode 100644 index 52c1275..0000000 --- a/CLA.md +++ /dev/null @@ -1,98 +0,0 @@ -# Contributor License Agreement (CLA) - -Thank you for contributing to StellarEngine. - -By submitting any contribution (including code, documentation, assets, -configuration files, issue patches, pull requests, or other materials) -to the StellarEngine project, you agree to the following terms. - ---- - -## 1. Ownership of Contributions - -By submitting contributions to StellarEngine, you assign and transfer -to Timur Shestakov (the "Project Owner"), operating under the public -project identity "QuantumDevTeam", all rights, title, interest, a -nd associated intellectual property rights, including copyright and -related rights in and to your contributions, including all associated -intellectual property rights. - -If a future legal entity is established by the Project Owner for the -management, development, licensing, or distribution of StellarEngine, -these rights may be transferred or assigned to that entity. - -You acknowledge that your contributions become part of the -StellarEngine project and may be used, modified, relicensed, -commercialized, sublicensed, redistributed, or incorporated into -open-source or closed-source products without restriction by the -Project Owner. - -Contributions are provided "as is", without warranty of any kind, -express or implied. - ---- - -## 2. License Grant - -To the extent that any rights cannot be assigned or transferred under -applicable law, you grant Timur Shestakov (the "Project Owner"), -operating under the public project identity "QuantumDevTeam", as well -as any future legal entity established by the Project Owner for the -management, development, licensing, or distribution of StellarEngine, -a perpetual, irrevocable, worldwide, transferable, assignable, -non-exclusive, royalty-free license to: - -* use -* reproduce -* modify -* adapt -* distribute -* sublicense -* relicense -* publicly display -* commercially license - -your contributions as part of StellarEngine and any future versions, -editions, derivative works, or related products. - -This license applies to both open and closed-source distributions of -StellarEngine. - ---- - -## 3. Right to Contribute - -You confirm that: - -* you have the legal right to submit the contribution -* the contribution is your original work, or you have sufficient rights -to provide it -* the contribution does not knowingly violate the rights of any third -party - ---- - -## 4. Third-Party Content - -Do not submit code, assets, libraries, or content that: - -* you are not legally allowed to distribute -* is incompatible with the project license -* introduces legal or licensing conflicts into the project - ---- - -## 5. No Obligation - -Submitting a contribution does not guarantee that it will be accepted, -reviewed, merged, maintained, or included in future versions of -StellarEngine. - ---- - -## 6. Acceptance of Agreement - -Submitting a pull request, patch, or other contribution to StellarEngine -constitutes acceptance of this agreement. - -If you do not agree to these terms, do not submit contributions. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2943930..61b8d50 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -102,8 +102,7 @@ workflow and versioning rules. ## Licensing and Contributions -By submitting contributions, you agree to the terms described -in [CLA.md](CLA.md). +By submitting contributions, you agree to the project's contribution terms. Contributions are provided "as is", without warranty of any kind, express or implied. diff --git a/Docs/Engine/toc.yml b/Docs/Engine/toc.yml index 3365785..c47ba0b 100644 --- a/Docs/Engine/toc.yml +++ b/Docs/Engine/toc.yml @@ -22,5 +22,3 @@ href: Versioning.md - name: License href: ../../LICENSE.md - - name: CLA - href: ../../CLA.md diff --git a/NOTICE b/NOTICE index 644897c..72dd97b 100644 --- a/NOTICE +++ b/NOTICE @@ -1,12 +1,13 @@ StellarEngine Copyright (c) 2026 QuantumDevTeam -QuantumDevTeam is the name under which Timur Shestakov acts personally. It is a brand and a -trade name, not a legal entity: the copyright in StellarEngine, and in every module and tool -published under this name, belongs to Timur Shestakov, who is the licensor of the license -below and the "Project Owner" of CLA.md. If a legal entity is established later, the rights -may be assigned to it as CLA.md describes, and this notice will name it. +QuantumDevTeam is the name under which Timur Shestakov acts personally. It is a +brand and a trade name, not a legal entity. The copyright in StellarEngine and +in every part of it published under this name belongs to Timur Shestakov, who +is the Project Owner for the purposes of the CLA published at +https://github.com/QuantumDevTeam/.github/blob/master/licensing/CLA.md. If a +legal entity is established later, the rights may be assigned to it as that CLA +describes, and this notice will name it. -Licensed under the PolyForm Noncommercial License 1.0.0 -https://polyformproject.org/licenses/noncommercial/1.0.0 -See LICENSE.md and CLA.md. +Licensed under the PolyForm Noncommercial License 1.0.0. +See LICENSE.md. diff --git a/README.md b/README.md index 061cb6a..e6c5331 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # StellarEngine -Licensed under PolyForm Noncommercial 1.0.0. See [LICENSE.md](LICENSE.md) and [CLA.md](CLA.md). +Licensed under PolyForm Noncommercial 1.0.0. See [LICENSE.md](LICENSE.md). StellarEngine diff --git a/StellarEngine-Core.sln b/StellarEngine-Core.sln index ce30f4d..47fc277 100644 --- a/StellarEngine-Core.sln +++ b/StellarEngine-Core.sln @@ -96,7 +96,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".root", ".root", "{9CBB857E EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{4B2AC1C6-31E4-429A-8073-1A63FD20D65E}" ProjectSection(SolutionItems) = preProject - CLA.md = CLA.md CONTRIBUTING.md = CONTRIBUTING.md LICENSE.md = LICENSE.md NOTICE = NOTICE diff --git a/scripts/orchestra-site.ps1 b/scripts/orchestra-site.ps1 index 9594400..388b524 100644 --- a/scripts/orchestra-site.ps1 +++ b/scripts/orchestra-site.ps1 @@ -8,7 +8,7 @@ / the home of StellarEngine: getting started, what the orchestra is made of /guide/ the guide of the whole engine: Docs/Engine of the core (installing, architecture, - modules, the orchestra, the project), with README, CONTRIBUTING, LICENSE, CLA at / + modules, the orchestra, the project), with README, CONTRIBUTING, LICENSE at / /core/ the core as a component: the rest of its Docs/, /core/api/ its API reference /modules// the Docs/ of each module (each also has a site of its own) /tools// the same for tools @@ -69,7 +69,7 @@ $rows = [System.Collections.Generic.List[string]]::new() # ---- The guide of the engine ---- # Docs/Engine of the core: the pages about the engine as a whole live there, published here only $content.Add([ordered]@{ src = 'Docs/Engine'; dest = 'guide'; files = @('**/*.md', 'toc.yml') }) -$content.Add([ordered]@{ files = @('README.md', 'CONTRIBUTING.md', 'LICENSE.md', 'CLA.md') }) +$content.Add([ordered]@{ files = @('README.md', 'CONTRIBUTING.md', 'LICENSE.md') }) # ---- The core, a component ---- $content.Add([ordered]@{ src = 'Docs'; dest = 'core'; files = @('**/*.md', 'toc.yml'); exclude = @('Engine/**') })