Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .forbidden-words-allow
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@
scripts/forbidden_words.py | * | the check's own rule list, its documentation and the usage examples
scripts/set_byline.py | placeholder | prints the names of the placeholders to fill again after a brand swap
LICENSE | sell | the MIT licence grants the right to "sell copies" of the software
SETTINGS.md | hello@luminare.tech | the organization's one inbox, which the oss@, conduct@ and security@ aliases deliver to (section 5)
PLACEHOLDERS.md | hello@luminare.tech | names the one inbox that the role aliases deliver to
27 changes: 4 additions & 23 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
<!--
Thanks for contributing. Please read the contributing guide first:
https://github.com/luminare-dev/.github/blob/main/CONTRIBUTING.md

The pull request title becomes the squash commit message, so it must be a Conventional Commit,
for example "fix(backup): retry the upload after a timeout".
Never put secrets, tokens, licence keys, IP addresses, hostnames or player data in this
description, in commits, screenshots or test fixtures.
-->
<!-- The title becomes the squash commit, so use Conventional Commits, e.g. "fix(backup): retry the upload". -->

## What and why

<!-- What does this change, and why is it needed? -->

Closes #

## How it was tested

<!-- The commands you ran and what they showed. -->

## Checklist

- [ ] The title follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) (`feat:`, `fix:`, `docs:` …); breaking changes use `!`.
- [ ] Every commit is signed off (`git commit -s`, [DCO](https://developercertificate.org/)).
- [ ] Tests were added or updated, and the repository's test command passes locally.
- [ ] Documentation was updated where behaviour changed.
- [ ] Large changes were agreed in an issue first.
- [ ] No secrets, tokens, licence keys, IPs, hostnames or player data are included anywhere in this change.
- [ ] Title follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and every commit is signed off (`git commit -s`).
- [ ] Tests and docs updated where behaviour changed; the test command passes.
- [ ] No secrets, tokens, IPs, hostnames or user data in this change.
33 changes: 8 additions & 25 deletions ACCESSIBILITY.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
# Accessibility

This applies to every repository in [luminare-dev](https://github.com/luminare-dev) that does not
have its own `ACCESSIBILITY.md`.

The projects here are mostly command-line tools, configuration and documentation. The maintainers
want them to work with screen readers, keyboard-only use, zoom and high-contrast settings. This is
best effort, not a formal conformance claim.

## What the projects aim for

- Documentation in plain Markdown with real headings, lists and tables, so that it can be read
and navigated with assistive technology.
- Alt text for every image, and a text description of what every GIF or video demo shows.
- Dashboards, charts and terminal output that do not rely on colour alone: values, labels or
symbols carry the same information.
- Examples as copyable text, never only as screenshots.

## Reporting a barrier

- Open an issue in the affected repository (form "Bug report") and describe what you tried, the
assistive technology or setting you use, and what stopped you. If you are not sure which
repository it belongs to, start a [discussion](https://github.com/orgs/luminare-dev/discussions).
- If GitHub itself is the barrier, write to <oss@luminare.tech> instead.

Reports are handled like bug reports: the maintainers aim for a first reply within 7 days, best
effort.
The projects here should work with screen readers, keyboard-only use, zoom and high-contrast
settings: real headings in the docs, alt text for images, no information carried by colour alone,
and examples as copyable text. This is best effort, not a formal conformance claim.

If something gets in your way, open a bug report in the affected repository (or a
[discussion](https://github.com/orgs/luminare-dev/discussions) if unsure) and describe what you
tried and the assistive technology you use. If GitHub itself is the barrier, write to
<oss@luminare.tech>.
141 changes: 27 additions & 114 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,131 +1,44 @@
# Contributing

Thank you for helping. This guide applies to every repository in
[luminare-dev](https://github.com/luminare-dev) that does not have its own `CONTRIBUTING.md`.
If a repository has one, that file wins.
This applies to every [luminare-dev](https://github.com/luminare-dev) repository without its own
`CONTRIBUTING.md`.

## Before you start
- Questions and ideas go to [Discussions](https://github.com/orgs/luminare-dev/discussions).
Security problems go through [SECURITY.md](https://github.com/luminare-dev/.github/blob/main/SECURITY.md), never in public.
- Please open an issue before a large change (new feature, new dependency, changed behaviour or
interface). Small fixes can go straight to a pull request.
- Each repository's README explains how to run its tests. Run them before you push.

- **Questions and ideas** go to [Discussions](https://github.com/orgs/luminare-dev/discussions),
not to issues.
- **Security problems** are never reported in public. Follow [SECURITY.md](https://github.com/luminare-dev/.github/blob/main/SECURITY.md).
- **Search first.** Look through the open and closed issues of the repository before you open a new one.
- **Open an issue before a large pull request.** Large means a new feature, a change in behaviour,
a new dependency, a change to a public interface (variables, role defaults, metrics, file
formats), or more than about 100 changed lines. Agreeing on the approach first saves you work.
Typo fixes, documentation fixes and small, obvious bug fixes can go straight to a pull request.

## Development setup and tests

Every repository explains its own setup in the **Development** section of its `README.md` (or in
its own `CONTRIBUTING.md`, if it has one). That section names:

- the tools and versions you need;
- the one command that runs the linters and tests (the same command CI runs);
- any extra checks, for example Molecule scenarios or rule tests.

Run that command before you push. A pull request is reviewed once CI is green. For contributors
outside the organization, a maintainer starts the CI run after a first look.

## Commit messages: Conventional Commits
## Pull requests

Commit messages and pull request titles follow
[Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/). Release notes and
version numbers are generated from them, so the type matters.
Pull requests are squash-merged, so the title becomes the commit message and a changelog line.
It must follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/):
lower-case imperative summary, no full stop, at most 100 characters.

```text
<type>(<optional scope>): <short summary in the imperative>

<optional body: what and why>

Signed-off-by: Your Name <you@example.com>
fix(backup): retry the upload after a timeout
```

| Type | Use it for | Changelog section | Release effect |
|---|---|---|---|
| `feat` | a new feature | Added | minor version |
| `fix` | a bug fix | Fixed | patch version |
| `perf` | a performance improvement without a change in behaviour | Changed | patch version |
| `security` | the fix for a security problem, used once the advisory is public | Security | patch version |
| `revert` | reverting an earlier commit | Reverted | patch version |
| `docs` | documentation only | not listed | no release on its own |
| `refactor`, `test`, `style` | code changes that do not change behaviour | not listed | no release on their own |
| `build`, `ci`, `chore` | build system, CI, maintenance | not listed | no release on their own |

A breaking change adds `!` after the type (`feat!: drop support for …`) or a
`BREAKING CHANGE:` footer. It means a major version, or a minor version before 1.0.0. The
sections and release effects are those of the release tooling (release-please) in repositories
built from the organization's template.

Pull requests are squash-merged, so **the pull request title becomes the commit message** and must
follow the same format. The `pr / pr-title` check also requires:
`feat` makes a minor release, `fix`, `perf`, `security` and `revert` a patch release; `docs`,
`refactor`, `test`, `style`, `build`, `ci` and `chore` do not release on their own. A breaking
change adds `!` (`feat!: ...`). Do not edit `CHANGELOG.md`; release-please writes it.

- the summary starts with a lower-case letter (an acronym such as `TLS` is fine) and uses the
imperative: "add", not "added";
- no full stop at the end;
- at most 100 characters for the whole title;
- a scope, if any, in lower case;
- wording that describes the change only: the title becomes a line of the release notes, so it
goes through the same wording check as the repository's files.
Keep one topic per pull request. Add or update tests and docs for every behaviour change.

Do not edit `CHANGELOG.md` by hand; the release tooling writes it.
## Sign-off (DCO)

## Developer Certificate of Origin (DCO)

Every commit must be signed off. The sign-off certifies that you wrote the change or otherwise
have the right to submit it under the project's licence, as described in the
[Developer Certificate of Origin 1.1](https://developercertificate.org/).

```bash
git commit -s -m "fix(scope): correct the retry delay"
```
Every commit needs a `Signed-off-by` line (`git commit -s`), which certifies the
[Developer Certificate of Origin](https://developercertificate.org/). Forgot it? Run
`git rebase --signoff main` and force-push your branch. There is no CLA; your contribution is
licensed under the repository's licence.

`-s` adds a line like `Signed-off-by: Your Name <you@example.com>` with the name and email from
your Git configuration. Use your real name or a known identity; anonymous sign-offs cannot be
accepted. You may use your GitHub `noreply` email address.
## No secrets or personal data

- **Forgot the sign-off on the last commit?** `git commit --amend --no-edit -s`, then
`git push --force-with-lease` to your branch.
- **On several commits?** `git rebase --signoff main`, then `git push --force-with-lease`.

A DCO check runs on every pull request. There is no Contributor License Agreement.

**Inbound = outbound.** Your contribution is licensed under the same licence as the repository you
contribute to (see its `LICENSE` file). You keep your copyright.

You are responsible for everything you submit, including code produced with tools or generators.
Only submit code you have the right to license this way. Do not copy code from projects whose
licence is incompatible with the repository's licence.

## Pull requests

- One topic per pull request. Keep unrelated refactoring out.
- Add or update tests for every behaviour change, and update the documentation in the same pull
request.
- Fill in the pull request template. Link the issue it closes (`Closes #123`).
- Be ready for review comments. A maintainer may push small fixes to your branch if you allow edits
from maintainers.

## Never post secrets or personal data

Issues, discussions, pull requests, logs, screenshots and test fixtures are public. **Never
include:**

- passwords, API tokens, SSH or TLS private keys, licence keys or server keys;
- `.env` files, vault passwords or unredacted configuration files;
- public IP addresses, internal hostnames or tenant IDs;
- player or user data: names, account identifiers, IP addresses, chat logs.

Replace each value with a placeholder such as `<redacted>` or `203.0.113.10` (a documentation
address). If you posted a secret by accident, **revoke or rotate it at once**. Deleting or editing
the post does not remove copies that were already sent in notifications.
Issues, pull requests, logs and screenshots are public. Never post passwords, tokens, keys,
`.env` files, IP addresses, hostnames or user data; use placeholders like `<redacted>`. If you
leaked a secret, rotate it right away.

## Response times

Maintainers aim to give a first reply to new issues and pull requests within 7 days. This is best
effort, not a guarantee. Please do not ping repeatedly; a polite bump after 14 days is fine.

## Code of Conduct

Everyone who takes part follows the [Code of Conduct](https://github.com/luminare-dev/.github/blob/main/CODE_OF_CONDUCT.md). Report problems to
<conduct@luminare.tech>.
Replies are best effort, usually within a week. Everyone follows the
[Code of Conduct](https://github.com/luminare-dev/.github/blob/main/CODE_OF_CONDUCT.md).
22 changes: 0 additions & 22 deletions PLACEHOLDERS.md

This file was deleted.

Loading
Loading