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:
parent
b8b2ee6972
commit
c5bb5ced10
3
main.sh
3
main.sh
@ -82,6 +82,9 @@ $(cat "${LOG_FILE}")"
|
|||||||
失败的仓库:
|
失败的仓库:
|
||||||
$(echo "$stats" | jq -r '.details.failed_repos[]' | sed 's/^/- /')
|
$(echo "$stats" | jq -r '.details.failed_repos[]' | sed 's/^/- /')
|
||||||
|
|
||||||
|
成功的仓库:
|
||||||
|
$(echo "$stats" | jq -r '.details.success_repos[]' | sed 's/^/- /')
|
||||||
|
|
||||||
详细日志 (最后 50 行):
|
详细日志 (最后 50 行):
|
||||||
$(tail -n 50 "$LOG_FILE")"
|
$(tail -n 50 "$LOG_FILE")"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user