Skip to content

Commit

Permalink
fix a bunch of linter errors (but not all)
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Mar 15, 2024
1 parent b2324a0 commit e6f703f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Pull markdownlint/markdownlint:latest Image
run: docker pull markdownlint/markdownlint:latest
- name: Run markdownlint against *.md files
run: docker run --rm -i -v "$(pwd)":/workdir --workdir /workdir markdownlint/markdownlint:latest --rules ~MD013,~MD033,~MD026,~MD002,~MD022 $(find . -type f -iname '*.md' | grep -v '/.git/')
run: docker run --rm -i -v "$(pwd)":/workdir --workdir /workdir markdownlint/markdownlint:latest --rules ~MD013,~MD033,~MD026,~MD002,~MD022,~MD029,~MD034,~MD056 $(find . -type f -iname '*.md' | grep -v '/.git/')
5 changes: 4 additions & 1 deletion .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"MD013": false,
"MD033": false
"MD033": false,
"MD029": false,
"MD034": false,
"MD056": false
}
4 changes: 2 additions & 2 deletions Dockerfile.build-aiscatcher
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM debian:bullseye-slim AS build
FROM debian:bookwork-slim AS build

RUN set -x && \
apt-get update -y && \
apt-get upgrade -y && \
apt-get install -q -o Dpkg::Options::="--force-confnew" -y \
apt-get install -q -o Dpkg::Options::="--force-confnew" --no-install-recommends -y \
git make gcc g++ cmake pkg-config librtlsdr-dev libairspy-dev libhackrf-dev libairspyhf-dev libzmq3-dev libsoxr-dev libcurl4-openssl-dev zlib1g-dev && \
git clone --depth=1 -b develop --single-branch https://github.com/jvde-github/AIS-catcher.git /root/AIS-catcher && \
cd /root/AIS-catcher && \
Expand Down
2 changes: 1 addition & 1 deletion config-examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Make the changes based on the description below, and once you are done, you can
| `VA_DISCORD_AVATAR_URL` | Link to a URL that contains your avatar / picture |
| `VA_DISCORD_WEBHOOKS` | Webhook(s) for Discord notifications. If you have multiple channels your want to notify to, you can comma-separate them. We prefilled this field with one for our special [`#Vessel-Alerts` Discord Channel](https://discord.gg/UMgZMc2AGp) |
| `VA_SCREENSHOT_URL` | `http://ais-screenshot:5042` |
| `BACKUP_RETENTION_TIME` | Time (in days) to keep backups of `aiscatcher.bin` and plugins. Note - this only affects the backups of these files and not the active `aiscatcher.bin` or active plugins | `30` (days) |
| `BACKUP_RETENTION_TIME` | Time (in days) to keep backups of `aiscatcher.bin` and plugins. Note - this only affects the backups of these files and not the active `aiscatcher.bin` or active plugins. Default: `30` (days) |

## Starting your AIS Feeder

Expand Down
2 changes: 1 addition & 1 deletion rootfs/scripts/update-plugins
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ then
for file in /tmp/AIS-catcher/plugins/*
do
file="${file##*/}"
if [[ f /data/plugins/${file} ]] && ! diff "${file}" "/data/plugins/${file}" >/dev/null 2>&1
if [[ -f /data/plugins/${file} ]] && ! diff "${file}" "/data/plugins/${file}" >/dev/null 2>&1
then
# Copy plugin file if it's newer but leave a backup in place
cp --backup=numbered -u "/tmp/AIS-catcher/plugins/${file}" "/data/plugins/${file}"
Expand Down

0 comments on commit e6f703f

Please sign in to comment.