diff --git a/.gitea/ISSUE_TEMPLATE/bug.md b/.gitea/ISSUE_TEMPLATE/bug.md new file mode 100644 index 0000000..64afa23 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,19 @@ +--- +name: Bug report +about: Report behavior that differs from what you expected. +labels: + - kind/bug +--- + +## What happened? + + + +## How to reproduce + + + +## Environment + + diff --git a/.gitea/ISSUE_TEMPLATE/documentation.md b/.gitea/ISSUE_TEMPLATE/documentation.md new file mode 100644 index 0000000..9025063 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/documentation.md @@ -0,0 +1,14 @@ +--- +name: Documentation issue +about: Report unclear instructions or propose a documentation update. +labels: + - kind/docs +--- + +## Where is the gap? + + + +## What should the documentation cover? + + diff --git a/.gitea/ISSUE_TEMPLATE/feature.md b/.gitea/ISSUE_TEMPLATE/feature.md new file mode 100644 index 0000000..1077e58 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/feature.md @@ -0,0 +1,14 @@ +--- +name: Feature request +about: Propose a change to the panel or its services. +labels: + - kind/feature +--- + +## What do you need to do? + + + +## What would success look like? + + diff --git a/.gitea/ISSUE_TEMPLATE/maintenance.md b/.gitea/ISSUE_TEMPLATE/maintenance.md new file mode 100644 index 0000000..f5a9145 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/maintenance.md @@ -0,0 +1,14 @@ +--- +name: Maintenance task +about: Plan testing, tooling, packaging, or release work. +labels: + - kind/maintenance +--- + +## Goal + + + +## Acceptance criteria + + diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..afa5b20 --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,11 @@ +## Summary + + + +## Related issues + + + +## Verification + + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3478a7d..eb250e3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,13 +1,55 @@ # Contributing to Coulobre Panel -- Use Gitea issues for work items and milestones for release planning. +## Planning and releases + +- Use [Gitea issues][issues] for the backlog and [milestones][milestones] for + the roadmap. Search for existing work before opening an issue. Use a + template and describe the problem, the intended outcome, and how to verify + the result. +- During triage, apply one `kind/` label and the relevant `area/` labels. The + labels can also be used on pull requests. + +| Label | Use | +| --- | --- | +| `kind/bug` | Incorrect behavior or a regression. | +| `kind/feature` | New or expanded user-facing behavior. | +| `kind/docs` | Documentation, examples, or contributor guides. | +| `kind/maintenance` | Testing, tooling, packaging, or release preparation. | +| `area/panel` | The panel UI, authentication, and access control. | +| `area/hosting` | Accounts, plans, quotas, websites, domains, TLS, and SFTP. | +| `area/database` | MariaDB provisioning and database tools. | +| `area/mail` | Mailboxes, mail delivery, IMAP, and webmail. | +| `area/dns` | Zone management and DNS publication. | +| `area/backups` | Backup, retention, and restore workflows. | +| `area/migration` | Imports from other hosting panels. | +| `area/deployment` | Installation, configuration, upgrades, and operating systems. | + +- Maintainers assign accepted work to a milestone when it has a target + release. Issues without a milestone stay in the backlog. Add a due date + when a release date has been agreed. +- When a version is ready to ship, update the package version in + `pyproject.toml`, tag the tested commit on `main` with an annotated tag such + as `v0.1.0`, and publish the corresponding [Gitea release][releases]. Include + user-visible changes, installation or upgrade instructions, and any known + limitations. Use tags such as + `v0.1.0-rc.1` for release candidates and mark them as prereleases. Close the + milestone when its target version is published. + +## Pull requests + - Start changes on a dedicated branch from the default branch, named main. -- Reference the relevant issue in the pull request and describe what changed and - how it was verified. +- Group related commits in a pull request that can be reviewed as a whole. + Describe what changed and how it was verified. Use `Closes #123` when the + pull request completes an issue. Use `Refs #123` for related or partial work. - Submit changes for review before merging into main. -- Write code, comments, technical documentation, and commit messages in English. +- Write issues, pull requests, code, comments, technical documentation, and + commit messages in English. - Keep credentials, customer data, and local configuration out of commits. +[issues]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/issues +[milestones]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/milestones +[releases]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/releases + ## Code style - Follow PEP 8 with four spaces per indentation level, up to 79 characters diff --git a/README.md b/README.md index 88701d4..9258a98 100644 --- a/README.md +++ b/README.md @@ -10,18 +10,18 @@ See [Local development](docs/development.md) to run it. See [Single-server deployment](docs/deployment.md) to install it with Apache, MariaDB, and RabbitMQ. -## Planned scope +## Roadmap and releases -- Self-hosted installation on a single Ubuntu server, with Debian support planned. -- Hosting plans and self-service access for administrators, resellers, and customers. -- Customer impersonation with a dedicated write permission for administrators - and an audit trail that records who made each change and on whose behalf. -- Domains, TLS certificates, SFTP, and databases using Apache, PHP-FPM, and MariaDB. -- Mail and DNS on the hosting server or on separate servers. -- Account backups, restore, and migration from DirectAdmin. +Track planned releases in [Gitea milestones][milestones] and follow individual +work items in [Gitea issues][issues]. Published versions and their release +notes are available on [Gitea Releases][releases]. See [Contributing](CONTRIBUTING.md) for the project workflow. +[milestones]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/milestones +[issues]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/issues +[releases]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/releases + ## License Coulobre Panel is licensed under the [Apache License 2.0](LICENSE).