Show ex-app image pull and register/update progress in the UI and the occ command
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- PHP
- Sterne
- 202
- Forks
- 30
- Ø Merge
- 3 T. 20 Std.
- Gemergte PRs (30 T.)
- 24
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus nextcloud/app_api
-
bug docker
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Daemon delete dialog: "Remove all ExApps" checkbox and `removeExApps` parameter have no effectOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
deploy discussion
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
nextcloud/app_api#1236 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug deploy docker
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 62/100
nextcloud/app_api#1212 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in nextcloud/app_api
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
-
enhancement priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
magicsunday/webtrees-statistics#664 ·
Maintainer antworten meist innerhalb von 1 Tag
-
sync-en
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
sync-en
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Перевод устарел
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag