Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.5.1 (2026-10-03)

- docker: the scheduled sync ran twice at once; the crontab was written to `/etc/cron.d`, which dcron reads by itself, and then installed again with `crontab` ([#29](https://github.com/katbyte/ghp-sync/pull/29))

## v0.5.0 (2026-09-23)

- add `Last Reviewer` PR field, who left the most recent submitted review; refreshed on open PRs too ([#27](https://github.com/katbyte/ghp-sync/pull/27))
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.6"
services:
ghp-sync:
# published on release; `docker compose pull` picks up a new build of this tag
image: ghcr.io/katbyte/ghp-sync:v0.5.0
image: ghcr.io/katbyte/ghp-sync:v0.5.1
container_name: ghp-sync
environment:
- "TZ=America/Vancouver"
Expand Down
8 changes: 4 additions & 4 deletions scripts/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#copy env
env >> /etc/profile

#setup cron
echo "$SYNC_CRON /app/scripts/run.sh 2>&1 | tee -a /var/log/ghp-sync.log" > /etc/cron.d/crontab
chmod 0644 /etc/cron.d/crontab
crontab /etc/cron.d/crontab
#setup cron: the file stays out of /etc/cron.d, which dcron reads on its own - a crontab written
# there and then installed with crontab is registered twice, and every sync runs twice at once
echo "$SYNC_CRON /app/scripts/run.sh 2>&1 | tee -a /var/log/ghp-sync.log" > /app/crontab
crontab /app/crontab
touch /var/log/cron.log

# start cron
Expand Down
Loading