Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[RFC] script to save time for "nothing to do" modules

Abierto
#6,004 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
devtools

Línea de trabajo

The issue describes a proposed script but does not name a file or test; first read the Odoo migration coverage files, dependency status conventions, and existing OpenUpgrade scripts to understand the workflow. The thread asks for feedback on whether to run the script at scale, so clarify the proposal with maintainers before starting. Done would mean an agreed, safe workflow for identifying eligible modules and creating their coverage updates and pull requests.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

Hi all,

Each years, there are a lot of modules with absolutely 0 changes. For such modules, creating a new branch, edit the coverage.rst file, commit, make a PR, call ocabot takes time with 0 value.

So I decided to use IA to handle such situation and burn through the planet's resources.

So I wrote a little script that :

  • enumerate all modules in odoo base code with the dependencies
  • parse the modulesX-Y.rst file
  • parse the body of the "Migration to version Y" issue.

If no upgrade_analysis.txt exists (or even if no folder exists in openupgrade_scripts/scripts) and if all the dependencies are marked as "done" (or "nothing to do"), the script creates a new branch, make the change in the coverage file, commits, creates a new PR and call ocabot.

here is the result for 10 modules of 18.0 : A list of PR quickly mergeable.

Image
  • WDYT ?
  • If you think it's OK, I can run the script more massively, for 16 / 17 / 18 / 19 versions.

Thanks for your feedback.

CC : @pedrobaeza, @hbrunn, @StefanRijnhart, @

Lenguaje dominante
Python
Estrellas
995
Forks
837
Merge medio
2 d 8 h
PR fusionados (30 d)
12

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OCA/OpenUpgrade

Todos los issues de OCA/OpenUpgrade

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.