Show ex-app image pull and register/update progress in the UI and the occ command
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- PHP
- Star
- 202
- Fork
- 30
- Merge trung bình
- 3 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 24
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextcloud/app_api
-
bug docker
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Daemon delete dialog: "Remove all ExApps" checkbox and `removeExApps` parameter have no effectĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Meta ex-app updates issueĐang mởdeploy discussion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
nextcloud/app_api#1236 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug deploy docker
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 62/100
nextcloud/app_api#1212 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nextcloud/app_api
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
enhancement priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
magicsunday/webtrees-statistics#664 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
sync-en
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
sync-en
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Перевод устарел
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày