Compare commits

..

4 Commits

Author SHA1 Message Date
mag37
8315749c62 and --help message about label changed 2025-10-02 08:42:38 +02:00
mag37
e01080aedc label option active - message changed 2025-10-02 08:41:39 +02:00
mag37
054a4da06b Clarified readme and prune message 2025-10-02 08:40:13 +02:00
mag37
b0e92c9aab Moving the label logic to earlier in the process - at check level 2025-10-01 19:45:06 +02:00
2 changed files with 18 additions and 16 deletions

View File

@@ -22,15 +22,6 @@
___ ___
## Changelog ## Changelog
- **v0.7.2**:
- Label rework:
- Moved up label logic to work globally on the current run.
- Only iterating on labeled containers when used with `-l` option, not listing others.
- Clarified messaging and readme/help texts.
- List reformatting for "available updates" numbering to easier highlight and copy:
- Padded with zero, changed `)` to `-`, example: `02 - homer`
- Can be selected by writing `2,3,4` or `02,03,04`.
- **v0.7.1**: - **v0.7.1**:
- Added support for multiple notifications using the same template - Added support for multiple notifications using the same template
- Added support for notification output format - Added support for notification output format
@@ -45,6 +36,18 @@ ___
- Bugfix: snooze dockcheck.sh-self-notification and some config clarification. - Bugfix: snooze dockcheck.sh-self-notification and some config clarification.
- Added authentication support to Ntfy.sh. - Added authentication support to Ntfy.sh.
- Added suport for sendmail in the SMTP-template. - Added suport for sendmail in the SMTP-template.
- **v0.6.9**:
- Bugfix: label logic didn't skip recreation (skipped pulling).
- Added comma separated search filtering so you can selectively search exactly which containers to check/update.
- eg: `dockcheck.sh -yp homer,dozzle`
- **v0.6.8**:
- Bugfix: Unbound variable in notify_v2.sh
- New option: "DisplaySourcedFiles" *config* added to list what files get sourced
- **v0.6.7**: Snooze feature, curl, and consolidation
- Added snooze feature to delay notifications
- Added configurable default curl arguments
- Consolidated and standardized notify template update notifications
- Added curl error handling
___ ___

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERSION="v0.7.2" VERSION="v0.7.1"
# ChangeNotes: Reformatted updates list, rewrote label logic to work globally when used with `-l`. # ChangeNotes: Add support for multiple notifications of the same type, output formatting, and file output
Github="https://github.com/mag37/dockcheck" Github="https://github.com/mag37/dockcheck"
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh" RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
@@ -342,13 +342,12 @@ dependency_check() {
dependency_check "regctl" "regbin" "https://github.com/regclient/regclient/releases/latest/download/regctl-linux-TEMP" dependency_check "regctl" "regbin" "https://github.com/regclient/regclient/releases/latest/download/regctl-linux-TEMP"
dependency_check "jq" "jqbin" "https://github.com/jqlang/jq/releases/latest/download/jq-linux-TEMP" dependency_check "jq" "jqbin" "https://github.com/jqlang/jq/releases/latest/download/jq-linux-TEMP"
# Numbered List function - pads with zero # Numbered List function
# if urls.list exists add release note url per line
list_options() { list_options() {
local total="${#Updates[@]}" num=1
[[ ${#total} < 2 ]] && local pads=2 || local pads="${#total}"
local num=1
for update in "${Updates[@]}"; do for update in "${Updates[@]}"; do
printf "%0*d - %s\n" $pads $num $update echo "$num) $update"
((num++)) ((num++))
done done
} }