Commit Graph

6 Commits

Author SHA1 Message Date
千石
094fb11580
Update main.sh 2025-01-04 11:14:58 +08:00
c1e480004a style: format output for synchronization report
- Adjust formatting of the synchronization report output
- Change indentation and bullet points for better readability
- Ensure consistent presentation of start time, end time, and status

These changes improve the clarity and presentation of the synchronization
report, making it easier for users to read and understand the
synchronization statistics and details.
2025-01-03 17:56:20 +08:00
c5bb5ced10 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.
2025-01-03 17:32:21 +08:00
ca6a80da97 feat: add synchronization statistics logging
- Initialize statistics logging in the mirror script
- Update logging to include total, processed, skipped, success, and failed repositories
- Enhance summary report with detailed statistics after synchronization

This commit introduces a comprehensive logging mechanism for the
repository synchronization process. It tracks various metrics such as
total repositories, processed repositories, and their success or failure
status. This enhancement provides better visibility into the
synchronization process and helps in debugging and monitoring.
2025-01-03 17:26:32 +08:00
5821fefcae fix: simplify script execution command
- Remove unnecessary 'true ||' condition from the
  command that calls mirror.sh.
- This change clarifies the intent of the command and
  ensures that the script executes as expected.
2025-01-03 17:10:27 +08:00
534a9ab0e4 feat: add email notification and logging features
- Introduce email notification configuration options in the README
- Create a new config.sh file for managing environment variables
- Implement mail.sh for sending email notifications
- Add logging functionality to main.sh for tracking synchronization processes

These changes enhance the functionality of the script by allowing users to receive email notifications about the synchronization status and maintain logs of the operations performed. The new configuration options provide flexibility in managing email settings and improve the overall usability of the tool.
2025-01-03 17:03:01 +08:00