myasnikovdaniil 04b7426706 chore(codeowners): don't gate per-app generated files on architect review (#3507)
## What this PR does

`.github/CODEOWNERS` scopes `/api/` to the architects (`@kvaps
@lllamnyp`), meant for hand-authored API surface: the aggregated
apiserver, the registry, the core API types. But
`api/apps/v1alpha1/<name>/types.go` and
`api/apps/v1alpha1/<name>/zz_generated.deepcopy.go` are entirely
produced by `make generate` from each app's own
`values.yaml`/`values.schema.json` — 23 of the 32 packages under
`packages/apps/` and `packages/extra/` wire this into their `generate`
target. Since CODEOWNERS applies the last matching pattern and nothing
more specific overrode `/api/` for these paths, any PR that edits an
app's `values.yaml` documentation and reruns `make generate` (mandatory
per the contributing guide) ends up requiring an architect review, no
matter which area actually changed — even though the app's own reviewers
already cover the source file that produced the diff.
`packages/system/<name>-rd/cozyrds/<name>.yaml` has the same problem in
a milder form: it isn't scoped by CODEOWNERS at all, so it falls through
to the generic `/packages/` owners instead of the app's own team, again
just because it's a generated mirror.

This adds a CODEOWNERS entry with no owner for these three generated
paths, so touching them alone does not pull in any codeowner requirement
beyond what the source `values.yaml` already needs. This is intentional
and safe: both are verified by the existing pre-commit CI
(`run-make-generate` / `run-make-generate-root`), which reruns the
generator and fails the check if the committed output does not match — a
stronger, mechanical guarantee against drift or hand-tampering than a
human skim of a generated diff would be.

While in there: `api/.gitattributes` had a stale `linguist-generated`
pattern (`zz_generated_deepcopy.go`) that has never matched any real
file in this repo — the actual generated files are named
`zz_generated.deepcopy.go` (dot, not underscore, matching the standard
controller-gen output). Fixed the pattern and added the same treatment
for the per-app `types.go` files and for
`packages/system/*/cozyrds/*.yaml`, so all of them collapse in the PR
diff view instead of just some.

### Screenshots

Not applicable — no UI change.

### Downstream repositories

- [x] No downstream repository is affected by this change

This only touches `.github/CODEOWNERS` and `.gitattributes` files; it
changes neither the `values.schema.json` contract, generated CRDs,
version enums, nor anything else in the trigger map in
`docs/agents/contributing.md`.

### Release note

```release-note
chore(codeowners): per-app generated API type mirrors and cozyrds manifests no longer require architect review on their own — only the source values.yaml they're generated from does, with the existing make-generate CI check guarding against drift.
```


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Updated repository metadata to better identify generated API and
application artifacts.
* Added ownership exceptions for generated files and
application-specific configuration directories.
* Marked generated CozyRDS configuration files for improved repository
classification.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-03 16:29:28 +05:00
2025-10-08 09:43:34 +05:00
2025-04-01 18:48:14 +02:00
2024-02-08 12:04:32 +01:00

Cozystack Cozystack

Open Source Apache-2.0 License Support Active GitHub Release GitHub Commit OpenSSF Best Practices OpenSSF Scorecard

Cozystack

Cozystack is a free platform and framework for building clouds.

Cozystack is a CNCF Sandbox Level Project that was originally built and sponsored by Ænix.

With Cozystack, you can transform a bunch of servers into an intelligent system with a simple REST API for spawning Kubernetes clusters, Database-as-a-Service, virtual machines, load balancers, HTTP caching services, and other services with ease.

Use Cozystack to build your own cloud or provide a cost-effective development environment.

Cozystack user interface

Use-Cases

Documentation

The documentation is located on the cozystack.io website.

Read the Getting Started section for a quick start.

If you encounter any difficulties, start with the troubleshooting guide and work your way through the process that we've outlined.

Versioning

Versioning adheres to the Semantic Versioning principles.
A full list of the available releases is available in the GitHub repository's Release section.

Contributions

Contributions are highly appreciated and very welcomed!

In case of bugs, please check if the issue has already been opened by checking the GitHub Issues section. If it isn't, you can open a new one. A detailed report will help us replicate it, assess it, and work on a fix.

You can express your intention to on the fix on your own. Commits are used to generate the changelog, and their author will be referenced in it.

If you have a concrete feature request, open an issue. For a cross-cutting or architectural change, open a design proposal in the community repo. For questions or early ideas, use GitHub Discussions. See CONTRIBUTING.md for the full routing.

Community

You are welcome to join our Telegram group and come to our weekly community meetings. Add them to your Google Calendar or iCal for convenience.

License

Cozystack is licensed under Apache 2.0.
The code is provided as-is with no warranties.

Commercial Support

A list of companies providing commercial support for this project can be found on official site.

Languages
Go 48%
Shell 37%
TypeScript 6.9%
Go Template 5.3%
Makefile 1.4%
Other 1.2%