Show ex-app image pull and register/update progress in the UI and the occ command
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start by reading the AppAPIService.php section linked in the issue and the referenced server pull request to understand how the update command and UI progress reporting interact. Then trace the Docker image pull response and the occ command steps; the issue gives app_api issue 1233 and context_chat’s Wipe.php as examples. Done means the UI and CLI both expose useful deployment progress while UI updates continue during the command.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe why it is important and where it will be useful
It would be nice in the UI and the occ command to see the progress of the deployment, with image pulls and the other steps.
For the UI updates, this change has also stopped the progress from being updated since before this change, app_api did not wait for the command to finish to move on to other parts to report the progress. Now the request from the frontend/appstore is waiting on the finish of the update command launched by app_api internally to get the status.
https://github.com/nextcloud/app_api/blob/634729d75dbca75a76dada69962e5bf99154a149/lib/Service/AppAPIService.php#L508-L522
Would be nice to maybe early return in this case, or do it some other way so the UI gets progress updates.
Also ref: https://github.com/nextcloud/server/pull/66565
Describe your proposed solution
The json lines streamed in the response of the docker pull request can be used to show the progress in the UI for example: https://github.com/nextcloud/app_api/issues/1233
And also in the CLI, but in the CLI it's also possible to show the current running step so the admin user has more insight in the process. Something like: https://github.com/nextcloud/context_chat/blob/0d526d1690fe162dfccaf0ed37fa8a1b260bb192/lib/Command/Wipe.php#L104-L106
It prints the lines:
Pausing the hand-out of queued files to context_chat_backend...
Checking for background jobs still queueing documents...
Checking for documents context_chat_backend is still indexing...
Removing the crawl jobs, clearing the files indexing queue and the file system events, resetting the indexing statistics...
Deleting the documents of files__default from the vector DB...
Resuming the hand-out of queued files...
Deleted all the indexed documents of files__default and cleared the queues.
Describe alternatives you've considered, if relevant
No response
Additional context
No response
- Lenguaje dominante
- PHP
- Estrellas
- 202
- Forks
- 30
- Merge medio
- 3 d 20 h
- PR fusionados (30 d)
- 24
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextcloud/app_api
-
bug docker
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Daemon delete dialog: "Remove all ExApps" checkbox and `removeExApps` parameter have no effectAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Meta ex-app updates issueAbiertodeploy discussion
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
nextcloud/app_api#1236 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug deploy docker
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 Medio día Aptitud para principiantes 62/100
nextcloud/app_api#1212 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de nextcloud/app_api
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
enhancement priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
magicsunday/webtrees-statistics#664 ·
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Перевод устарел
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día