feat: add success repository logging

- Include logging for successful repositories in the output
- Enhance user feedback by listing both successful and failed repositories

This change improves the visibility of the repository mirroring process by
providing a clear distinction between successful and failed operations. Users
can now easily identify which repositories were successfully processed, thus
enhancing the overall usability of the script.
This commit is contained in:
songtianlun 2025-01-03 17:32:21 +08:00
parent b8b2ee6972
commit c5bb5ced10

View File

@ -82,6 +82,9 @@ $(cat "${LOG_FILE}")"
失败的仓库:
$(echo "$stats" | jq -r '.details.failed_repos[]' | sed 's/^/- /')
成功的仓库:
$(echo "$stats" | jq -r '.details.success_repos[]' | sed 's/^/- /')
详细日志 (最后 50):
$(tail -n 50 "$LOG_FILE")"
else