cloudnative-pg / cloudnative-pg/postgres-extensions-containers
[New Extension]: pglinter
- Lenguaje dominante
- Go
- Estrellas
- 56
- Forks
- 40
- Merge medio
- 4 d 1 h
- PR fusionados (30 d)
- 15
Descripción
### Is there an existing issue for this extension request?
- [x] I have searched for an existing issue, and could not find a duplicate request.
### Extension Name
pglinter
### Project Repository URL
https://github.com/pmpetit/pglinter
### Extension Website URL (Optional)
[pglinter](https://pglinter.readthedocs.io/en/stable/)
### Short Description
Linter for database design.
for example, create a table with:
- one pk on a column "id"
- then, create an index on it
- then add unicity constraint on it.
This will create some duplicated indexes.
other example:
- create a table order in a schema "orders"
- create an other order_details in an other schema "public" with a fk on orders.order
it is not strictly forbidden by pg, but recognize it will be quite tricky to maintain (refresh,dumps....)
pglinter is here to create a sarif report about those wrong design.
### Main LICENSE Link
https://github.com/pmpetit/pglinter/blob/main/LICENSE
### License Compliance
- [x] The extension's license (linked above) complies with the list of allowed licenses.
### Known Dependent Extensions
n/a
### Component Owner and Maintenance Commitment
- [x] I/My organization commit to becoming the Component Owner and maintaining the extension image in the future.
### Additional Notes (Optional)
_No response_
### GitHub Handles of Component Owners
pmpetit
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Guía de contribución
Línea de trabajo
Comienza leyendo el flujo de trabajo existente para imágenes de extensiones del repositorio postgres-extensions-containers y la documentación enlazada de pglinter. Compara cómo se empaquetan otras extensiones de PostgreSQL y, a continuación, determina qué se necesita para una imagen de pglinter y cómo debe validarse. La tarea está terminada cuando la extensión está empaquetada de forma coherente y su owner puede mantener la imagen.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- postgresql
- Área
- databases, devops
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100