The OSINT investigator's workbench. One case, one folder, every tool. Local-first: your media and your investigations never leave your machine.
JavaScript
Ask contributors to sign a CLA before a merge (#118)
OsintMeThat268b089d791a
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdnew file mode 100644index 0000000..fdba936--- /dev/null+++ b/.github/pull_request_template.md@@ -0,0 +1,12 @@+## What this changes++<!-- One or two sentences. -->++## How it was tested++<!-- The tests added or run. -->++---++First pull request here? Read [CONTRIBUTING.md](https://github.com/OsintMeThat/azimut/blob/main/CONTRIBUTING.md):+every author signs the [CLA](https://github.com/OsintMeThat/azimut/blob/main/CLA.md) once before a merge.diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.ymlnew file mode 100644index 0000000..060b24d--- /dev/null+++ b/.github/workflows/cla.yml@@ -0,0 +1,49 @@+name: CLA++# Asks every pull request author to sign CLA.md once, by posting a fixed+# comment, and records the signature on the unprotected `cla-signatures`+# branch. The check it reports is what keeps an unsigned contribution out of+# main once branch protection requires it.+#+# pull_request_target runs with a write token on pull requests from forks, so+# this workflow never checks out or runs the pull request's code. The action is+# pinned by commit for the same reason.++on:+ issue_comment:+ types: [created]+ pull_request_target:+ types: [opened, closed, synchronize]++permissions:+ actions: write+ contents: write+ pull-requests: write+ statuses: write++jobs:+ cla:+ name: CLA+ runs-on: ubuntu-latest+ timeout-minutes: 5+ if: >-+ github.event_name == 'pull_request_target' ||+ (github.event.issue.pull_request &&+ (github.event.comment.body == 'recheck' ||+ github.event.comment.body == 'I have read the Azimut CLA and I hereby sign it.'))+ steps:+ - uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ with:+ path-to-signatures: signatures/cla.json+ path-to-document: https://github.com/OsintMeThat/azimut/blob/main/CLA.md+ branch: cla-signatures+ allowlist: OsintMeThat,dependabot[bot]+ custom-pr-sign-comment: I have read the Azimut CLA and I hereby sign it.+ custom-notsigned-prcomment: >-+ Thanks for the pull request. Before it can be merged, please read the+ [Contributor License Agreement](https://github.com/OsintMeThat/azimut/blob/main/CLA.md)+ and sign it by posting the comment below. You only do this once.+ custom-allsigned-prcomment: Every author has signed the CLA.+ lock-pullrequest-aftermerge: falsediff --git a/CLA.md b/CLA.mdnew file mode 100644index 0000000..797a5c9--- /dev/null+++ b/CLA.md@@ -0,0 +1,64 @@+# Azimut Contributor License Agreement++Version 1.0++This agreement is between you and the maintainer of Azimut, the person who+publishes the project as OsintMeThat, together with any successor or any legal+entity the maintainer transfers the project to (together, "the Maintainer").+It covers every Contribution you submit to Azimut. Read it before you sign: you+sign by posting the comment the CLA bot asks for on your pull request.++## 1. Definitions++- **"You"** means the person or the legal entity signing this agreement. If+ you sign on behalf of an employer, "You" means that employer too.+- **"Contribution"** means any work of authorship (code, documentation,+ images, translations, tests or other material) that You submit to the+ Maintainer for inclusion in Azimut, through a pull request, an issue, a patch+ or any other channel the project uses.++## 2. Copyright license++You grant the Maintainer a perpetual, worldwide, non-exclusive, royalty-free,+irrevocable copyright license to reproduce, adapt, prepare derivative works+of, publicly display, publicly perform, distribute and sublicense Your+Contributions and such derivative works.++This includes the right to license Your Contributions, alone or as part of+Azimut, under any terms the Maintainer chooses, open source or proprietary,+in addition to the license Azimut is published under at the time.++## 3. Patent license++You grant the Maintainer, and everyone who receives Azimut, a perpetual,+worldwide, non-exclusive, royalty-free, irrevocable patent license to make,+have made, use, sell, offer to sell, import and otherwise transfer Your+Contributions, where such license applies only to the patent claims You can+license that are necessarily infringed by Your Contribution alone or by its+combination with Azimut.++## 4. What You keep++You keep the copyright in Your Contributions. Nothing here stops You from+using them in any other way. Where moral rights cannot be waived or+licensed, this agreement does not affect them, and You agree not to assert+them in a way that prevents the uses licensed above.++## 5. Your representations++- Each Contribution is Your original work, or You have the right to submit it+ under this agreement and You say where it comes from and under which+ license.+- If an employer or anyone else has rights in work You create, You have their+ permission to make the Contribution, or they have waived those rights.+- You will tell the Maintainer if any of this stops being true.++## 6. No obligation, no warranty++The Maintainer may use a Contribution or not. You provide Contributions "as+is", without warranty of any kind, and You are not expected to support them.++## 7. Transfer++The Maintainer may assign this agreement, and the rights it grants, to a+successor or to a legal entity that takes over Azimut.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdnew file mode 100644index 0000000..345689a--- /dev/null+++ b/CONTRIBUTING.md@@ -0,0 +1,21 @@+# Contributing to Azimut++Issues and pull requests are welcome.++## Before your first pull request++Every contributor signs the [Contributor License Agreement](CLA.md) once. When+you open a pull request, a bot posts a comment asking you to sign: reply with+the sentence it gives you and the check turns green. A pull request is not+merged until every author on it has signed.++The CLA lets the maintainer keep Azimut's licensing in one hand: the project+stays published under the [AGPL-3.0-only](LICENSE), and may also be offered+under other terms. You keep the copyright in your work.++## What a pull request needs++- Tests covering the change. CI runs the backend suite, the frontend tests,+ svelte-check, ruff and mypy, and a red check blocks the merge.+- English for code, comments, commit messages and docs.+- Docs updated in the same change when the behaviour they describe moves.diff --git a/README.md b/README.mdindex 29627a5..9e7158b 100644--- a/README.md+++ b/README.md@@ -425,5 +425,8 @@ Full spec: [docs/SPEC.md](docs/SPEC.md).## License+Copyright © 2026 the Azimut maintainer.+[AGPL-3.0-only](LICENSE): free and open source; hosted or modified versions-must share their source.+must share their source. Contributions are welcome under the+[Contributor License Agreement](CLA.md); see [CONTRIBUTING.md](CONTRIBUTING.md).diff --git a/docs/SPEC.md b/docs/SPEC.mdindex fb37080..9fe5cc2 100644--- a/docs/SPEC.md+++ b/docs/SPEC.md@@ -410,7 +410,9 @@ stops making sense.localhost, the hash-verified scraper updater, the release workflow's publish jobrunning `softprops/action-gh-release` and `pypa/gh-action-pypi-publish` on mutablerefs while it holds the PyPI OIDC identity (the branch ref is the form PyPA- documents; every other action in both workflows is pinned by tag or by commit),+ documents; every other action in the workflows is pinned by tag or by commit),+ the CLA workflow's write token on `pull_request_target` (it never checks out the+ pull request's code, and its one action is pinned by commit),tile/media URL fetches (SSRFonly matters if the localhost assumption breaks), and a download that failssaying only that the content is unavailable being retried with the storeddiff --git a/src/azimut/__init__.py b/src/azimut/__init__.pyindex 6890c00..e76ce41 100644--- a/src/azimut/__init__.py+++ b/src/azimut/__init__.py@@ -1,4 +1,8 @@-"""Azimut, a local OSINT workspace."""+"""Azimut, a local OSINT workspace.++Copyright (C) 2026 the Azimut maintainer. Licensed under the GNU Affero General+Public License, version 3 only (AGPL-3.0-only); see LICENSE.+"""import warnings