Rebase to latest commit for which Gitlab CI has finished

Abierto
#95 3 comentarios 4 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
github, python
Área
ci-cd, devtools

Línea de trabajo

No files, tests, or entry points are named. Start by tracing how spackbot receives and dispatches commands such as @spackbot rebase pipeline, then investigate how it identifies GitLab CI completion and updates GitHub pull-request branches. Before implementation, resolve whether the target is the latest finished commit or the latest passing commit; done means both proposed commands perform their documented branch operation against that target.

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

Descripción

commands enhancement

GitHub has a button allowing PR authors and maintainers to rebase the PR branch on develop, or to merge develop into the PR branch. However, there is often a long delay between the tip of develop and the most recent commit for which Gitlab CI has passed. PRs cannot start their own CI until their base commit has finished.

Many core maintainers have their own tricks for rebasing their PR branches on the latest commit for which CI has completed (please share these here!). It would be great if spackbot could do this for me. I don't care too much about naming, but for now I'll propose two new commands:

@spackbot rebase pipeline
@spackbot merge pipeline

to rebase or merge the PR branch to the latest commit for which Gitlab CI has completed. Another question is whether it should be the latest finished commit or the latest passing commit.

Lenguaje dominante
Python
Estrellas
9
Forks
14
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 spack/spackbot

Todos los issues de spack/spackbot

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.