Commit graph

125 commits

Author SHA1 Message Date
sudo-kraken
89e26c512e Fix Quadlet container detection
- Remove compose-only filtering from check_image() function
- Restore v0.6.0 behavior of checking ALL containers
- Filtering now happens only during update phase, not check phase
- Fixes issue where Quadlet containers were skipped with 'no compose file'
2025-09-16 12:28:37 +01:00
sudo-kraken
6f1d63b47c feat: sync with dockcheck v0.7.1 upstream features
- Added advanced notification system with notify_v2.sh wrapper
- Implemented async processing with xargs support (-x option)
- Added comprehensive configuration system (default.config)
- Enhanced command line options: -F, -I, -M, -u, -x
- Added snooze functionality for notifications
- Improved dependency management with auto-downloads
- Added helper functions: releasenotes(), list_options(), progress_bar()
- Updated README to match dockcheck style and documentation
- Fixed label references to use sudo-kraken.podcheck namespace
- Enhanced logo styling with rounded corners and cropped display
- Maintained podman-specific functionality for compose and systemd units

Brings podcheck to feature parity with dockcheck v0.7.1 while preserving
podman ecosystem compatibility including Quadlet support.
2025-09-16 10:24:29 +01:00
Joe Harrison
a7dcd975b2
Upstream patches and additional patching (#2)
* Ensures DSM GUI refreshes its updates

* Removed whale icon and changed verbosity

* Added addon for Prometheus+node_exporter

* Changed local image check to check on image ID rather than name

* Update podcheck.sh

changed docker->podman, typo

* - **v0.6.0**:
    - **Grafana & Prometheus Integration:**
      - Added a detailed Prometheus metrics exporter that now reports not only the number of containers with updates, no-updates, and errors, but also the total number of containers checked, the duration of the update check, and the epoch timestamp of the last check.
      - Enhanced documentation with instructions on integrating these metrics with Grafana for visual monitoring.
    - **Improved Error Handling & Code Refactoring:**
      - Introduced `set -euo pipefail` and local variable scoping within functions to improve reliability and prevent unexpected behaviour.
      - Standardised container name handling and refined the Quadlet detection logic.
    - **Self-Update Enhancements:**
      - Updated the self-update mechanism to support both Git-based and HTTP-based updates, with an automatic restart that preserves the original arguments.
    - **Miscellaneous Improvements:**
      - Enhanced dependency installer to support both package manager and static binary installations for `jq` and `regctl`.
      - General code refactoring across the project for better readability and maintainability.

* Update podcheck.sh

* increment version

* Update Quadlet detection logic 

Update Quadlet detection logic to support flexible service naming

- Modified the quadlet update block to first try an exact match for "$i.service".
- If no exact match is found, build a regex pattern from the container name (allowing underscores and hyphens interchangeably) and search user service units.
- When multiple candidate units are found, the script attempts to choose the one that exactly matches (ignoring case) or defaults to the first candidate.
- This update allows containers like "containera" to match service units named "container_a.service" and supports scenarios with multiple counterparts (e.g., matrix-a, matrix-b, matrix_db).

* search name fix

* fixes to arg parsing

* Logic overhaul, verbose output and better syntax

* Added support for prometheus

---------

Co-authored-by: mag37 <robin.ivehult@gmail.com>
2025-02-25 14:12:01 +00:00
mag37
053c587bf5
changelog bump 2024-11-25 15:22:04 +01:00
mag37
fb076c2912 Dependency downloader rewrite.
jq logic added, package manager + static.
Added function to check for distribution.
Added function to grab static binary.
2024-11-25 14:05:30 +01:00
Joe Harrison
6f0ec97373
Update README.md - Added linkage to dockcheck 2024-11-19 20:35:34 +00:00
Joe Harrison
61a38ad6c1 Podcheck Initial Release 2024-11-16 18:42:39 +00:00
mag37
119932aa19
Update README.md
added Discord to the notifications list.
2024-10-13 22:28:39 +02:00
mag37
18e467274e edited changenotes 2024-10-13 17:11:10 +02:00
mag37
6db92be627 getting ready for merge 2024-10-12 13:13:11 +02:00
mag37
85ee721cd1 typo 2024-10-04 23:09:45 +02:00
mag37
a550994659 tweaks + version info 2024-10-04 23:07:01 +02:00
mag37
999694985a
Added sponsorlist - section. 2024-09-28 14:24:34 +02:00
mag37
a79de24bcc Cleanups + info to readme 2024-09-18 16:44:32 +02:00
mag37
923736c413 version bump+info 2024-08-17 23:00:41 +02:00
Chris Funderburg
588c22afc9
style: Add pre-commit checks and code cleanup
This change adds an optional pre-commit configuration that can be used
to keep the code style clean.  I've also run it across all files and
fixed numerous whitespaces issues.

To use it, if wanted, just clone / pull the repo as normal, go into the
folder and run:

```
pre-commit install
```

From that point on, when running `git commit`, it will run the checks
on any changed files.

Feel free to ignore this PR if you're not interested.
2024-08-17 08:50:39 -04:00
mag37
39c69b7648
Update README.md 2024-07-26 07:54:46 +02:00
mag37
35e33b3997
Release info + notification edits. 2024-07-24 20:49:23 +02:00
mag37
3d122f2b86
Update README.md
Notifications updates
2024-06-21 06:25:06 +02:00
mag37
33fc647cb1 compat.changes due to busybox 2024-06-16 19:37:18 +02:00
mag37
8521280070 compat-fixes to arrays 2024-06-12 20:50:10 +02:00
mag37
bbe9164554
versionbump 2024-06-03 22:53:10 +02:00
mag37
35f460ed61 timeout info 2024-06-03 22:19:07 +02:00
mag37
b1b7f048a3
Update README.md 2024-04-24 19:46:49 +02:00
mag37
959f636152
Update README.md 2024-03-31 20:41:38 +02:00
mag37
5513e13109
Update README.md 2024-03-27 21:49:23 +01:00
mag37
f0b2f7eab7
added matrix. 2024-02-11 16:13:23 +01:00
mag37
b86df76fb6
tidying some
Rephrased and reordered readme.

Removed "coded by human" - I cant know what contributors use :)
2024-02-04 21:15:21 +01:00
mag37
b8450aa774
added telegram 2024-02-02 21:39:00 +01:00
mag37
f853bfd318
typos 2024-02-02 21:21:56 +01:00
mag37
292b3e1a32 Version bump + readme 2024-02-02 21:18:19 +01:00
mag37
904cd508d1 --env-file version bump 2024-01-27 09:39:37 +01:00
mag37
8ecc354663
Update README.md
link formatting
2024-01-24 19:49:41 +01:00
mag37
ae8a232a1a
Merge branch 'main' into new_labels-force 2024-01-24 19:44:29 +01:00
mag37
abbb924867 labels and -f option 2024-01-24 19:37:15 +01:00
mag37
05d21a707a added readme about labels 2024-01-21 20:30:05 +01:00
mag37
32f6d428d3 pushbullet info 2024-01-21 20:30:05 +01:00
mag37
4a8afde790 Added pushbullet template.
Suggested and contributed by [@arpanghosh8453](https://github.com/arpanghosh8453)
2024-01-21 20:30:05 +01:00
mag37
722fb90ce2
pushbullet info 2024-01-20 10:36:41 +01:00
mag37
18947a462d Added pushbullet template.
Suggested and contributed by [@arpanghosh8453](https://github.com/arpanghosh8453)
2024-01-20 10:33:32 +01:00
mag37
e331dda080 Added a simple progress bar 2024-01-17 20:26:18 +01:00
mag37
5b87072b11 version bump, ntfy.sh and errors on registry fail 2024-01-15 20:53:51 +01:00
mag37
e1b26fb772
cleanup.md 2024-01-14 20:32:46 +01:00
mag37
9e4b445c50
Added url 2024-01-13 20:34:34 +01:00
mag37
55323b7562 added apprise quickstart 2024-01-13 19:53:50 +01:00
mag37
6a3c78d907 cleanup 2024-01-07 14:26:35 +01:00
mag37
e00bfb1d21
typo 2024-01-06 20:52:03 +01:00
mag37
82f6442933 modified apprise-notify 2024-01-06 20:33:21 +01:00
mag37
b540ffa119 fixed link 2024-01-06 08:44:07 +01:00
mag37
edf6d5bd72 added architecture workaround 2024-01-06 08:40:26 +01:00