[PR #105] [MERGED] Moved synology_abfb_log_parser to PyPi and improved the examples #423

Closed
opened 2026-03-14 01:20:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/community-scripts/pull/105
Author: @NiceGuyIT
Created: 12/18/2022
Status: Merged
Merged: 12/18/2022
Merged by: @silversword411

Base: mainHead: script/synology_activebackuplogs


📝 Commits (2)

  • 79e1efd Moved synology_abfb_log_parser to PyPi and improved the examples
  • 69cd89b Add auto_update script and fix comments in other scripts

📊 Changes

8 files changed (+829 additions, -641 deletions)

View changed files

scripts_wip/synology_abfb_auto_update.py (+98 -0)
scripts_wip/synology_abfb_backup_days_ago.py (+261 -0)
scripts_wip/synology_abfb_error_check.py (+227 -0)
scripts_wip/synology_abfb_not_complete.py (+243 -0)
scripts_wip/synology_activebackuplogs-example-1.py (+0 -68)
scripts_wip/synology_activebackuplogs-example-2.py (+0 -85)
scripts_wip/synology_activebackuplogs-example-3.py (+0 -84)
scripts_wip/synology_activebackuplogs_snippet.py (+0 -404)

📄 Description

  • Replace pyparsing with regex resulting in ~70% speed increase (about 35 seconds down to 10 to scan all log files).
  • Moved the snippet to PyPi: https://pypi.org/project/synology-abfb-log-parser/
  • Automatically install synology-abfb-log-parser if it's not already installed.
  • Add --auto-update flag to update synology-abfb-log-parser on each run. This should be set as a separate check to be run once daily/weekly.
  • Renamed the scripts to reflect what they do. They are no longer "examples".
  • Use command line parameters instead of static variables for added flexibility.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/community-scripts/pull/105 **Author:** [@NiceGuyIT](https://github.com/NiceGuyIT) **Created:** 12/18/2022 **Status:** ✅ Merged **Merged:** 12/18/2022 **Merged by:** [@silversword411](https://github.com/silversword411) **Base:** `main` ← **Head:** `script/synology_activebackuplogs` --- ### 📝 Commits (2) - [`79e1efd`](https://github.com/amidaware/community-scripts/commit/79e1efd7a262725c7e37fb16d9863ab5643db8a0) Moved synology_abfb_log_parser to PyPi and improved the examples - [`69cd89b`](https://github.com/amidaware/community-scripts/commit/69cd89b23c0429625612464ec866d57cf47f0307) Add auto_update script and fix comments in other scripts ### 📊 Changes **8 files changed** (+829 additions, -641 deletions) <details> <summary>View changed files</summary> ➕ `scripts_wip/synology_abfb_auto_update.py` (+98 -0) ➕ `scripts_wip/synology_abfb_backup_days_ago.py` (+261 -0) ➕ `scripts_wip/synology_abfb_error_check.py` (+227 -0) ➕ `scripts_wip/synology_abfb_not_complete.py` (+243 -0) ➖ `scripts_wip/synology_activebackuplogs-example-1.py` (+0 -68) ➖ `scripts_wip/synology_activebackuplogs-example-2.py` (+0 -85) ➖ `scripts_wip/synology_activebackuplogs-example-3.py` (+0 -84) ➖ `scripts_wip/synology_activebackuplogs_snippet.py` (+0 -404) </details> ### 📄 Description - Replace pyparsing with regex resulting in ~70% speed increase (about 35 seconds down to 10 to scan all log files). - Moved the snippet to PyPi: <https://pypi.org/project/synology-abfb-log-parser/> - Automatically install `synology-abfb-log-parser` if it's not already installed. - Add `--auto-update` flag to update `synology-abfb-log-parser` on each run. This should be set as a separate check to be run once daily/weekly. - Renamed the scripts to reflect what they do. They are no longer "examples". - Use command line parameters instead of static variables for added flexibility. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 01:20:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/community-scripts#423
No description provided.