diff options
Diffstat
| -rw-r--r-- | .github/workflows/build.yml | 10 | +10 −0 |
| -rw-r--r-- | .github/workflows/cla.yml | 30 | +0 −30 |
| -rw-r--r-- | .gitignore | 2 | +2 −0 |
| -rw-r--r-- | .mailmap | 7 | +7 −0 |
| -rw-r--r-- | Makefile | 6 | +5 −1 |
| -rw-r--r-- | README.md | 19 | +19 −0 |
| -rw-r--r-- | mise.toml | 13 | +13 −0 |
7 files changed, 56 insertions, 31 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0486df0..8e00dcd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + with: + fetch-depth: 0 + + - uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3 + with: + version: 2026.7.5 + experimental: true + + - name: Check contribution sign-off + run: make signoff - uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml deleted file mode 100644 --- a/.github/workflows/cla.yml +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 2026 Nikolay Govorov -# SPDX-License-Identifier: AGPL-3.0-or-later - -name: "CLA Assistant" - -on: - issue_comment: - types: [created] - pull_request_target: - types: [opened, closed, synchronize] - -jobs: - CLAAssistant: - runs-on: ubuntu-latest - permissions: - actions: write - contents: write - statuses: write - pull-requests: write - steps: - - name: "CLA Assistant" - 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' - uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - branch: "main" - allowlist: mrdimidium - path-to-signatures: "LICENSES/cla.json" - path-to-document: "https://github.com/dimidiumlabs/recluse/blob/main/CLA.md" diff --git a/.gitignore b/.gitignore index 88eb127..a46fdff 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ /target /dist /.recluse-state +mise.local.toml +mise.*.local.toml diff --git a/.mailmap b/.mailmap new file mode 100644 --- /dev/null +++ b/.mailmap @@ -0,0 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Nikolay Govorov +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# Add new entries in alphabetical order + +Nikolay Govorov <me@govorov.online> +Nikolay Govorov <mr@dimidiumlabs.io> diff --git a/Makefile b/Makefile index f4b25b7..8ae5937 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,11 @@ CARGO_DENY_VERSION = ^0.19 CARGO_LLVM_COV_VERSION = ^0.8 -all: fmt clippy test deps licenses +all: signoff fmt clippy test deps licenses + +.PHONY: signoff +signoff: + mise run signoff .PHONY: setup setup: diff --git a/README.md b/README.md index d8ed87f..d2d1df7 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,25 @@ sudo systemctl enable --now recluse 1. start systemd service: `sudo systemctl enable --now recluse` +## Contributing + +We welcome your contributions, including code, bug reports, ideas, and success +stories. + +If you are making a contribution for the first time or from a new email, please +add yourself to the `.mailmap`. + +### Contributor License Agreement + +To include your code, we ask that you read and agree to the [CLA](./CLA.md). To +sign, add a `Signed-off-by` trailer to every commit (`git commit -s`). Each +commit in a pull request must carry a valid `Signed-off-by` line matching the +commit author. Please use your real name or your public nickname. We cannot +include code from anonymous contributors. + +AI agents MUST NOT add Signed-off-by tags. Only humans can legally certify the +Contributor License Agreement. + ## License Copyright (C) 2026 Nikolay Govorov diff --git a/mise.toml b/mise.toml new file mode 100644 --- /dev/null +++ b/mise.toml @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: 2026 Nikolay Govorov +# SPDX-License-Identifier: AGPL-3.0-or-later + +min_version = "2026.7.5" + +[settings] +experimental = true + +[task_config] +dir = "{{cwd}}" +includes = [ + "git::https://github.com/dimidiumlabs/infra.git//tasks?ref=22410a5dae5ff53b54d1666db5c6009229fbaaa5", +] |
