mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-19 19:07:50 +00:00
Compare commits
1 Commits
8315749c62
...
v0.7.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af0d0d3f6e |
21
README.md
21
README.md
@@ -22,6 +22,15 @@
|
|||||||
___
|
___
|
||||||
## 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
|
||||||
@@ -36,18 +45,6 @@ ___
|
|||||||
- 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
|
|
||||||
___
|
___
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
13
dockcheck.sh
13
dockcheck.sh
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
VERSION="v0.7.1"
|
VERSION="v0.7.2"
|
||||||
# ChangeNotes: Add support for multiple notifications of the same type, output formatting, and file output
|
# ChangeNotes: Reformatted updates list, rewrote label logic to work globally when used with `-l`.
|
||||||
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,12 +342,13 @@ 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
|
# Numbered List function - pads with zero
|
||||||
# if urls.list exists add release note url per line
|
|
||||||
list_options() {
|
list_options() {
|
||||||
num=1
|
local total="${#Updates[@]}"
|
||||||
|
[[ ${#total} < 2 ]] && local pads=2 || local pads="${#total}"
|
||||||
|
local num=1
|
||||||
for update in "${Updates[@]}"; do
|
for update in "${Updates[@]}"; do
|
||||||
echo "$num) $update"
|
printf "%0*d - %s\n" $pads $num $update
|
||||||
((num++))
|
((num++))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user