Add an updater

Open
#314 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
bash, docker, php, symfony
Domain
devops

Research direction

Inspect the repo's Docker and Symfony setup (e.g. docker-compose.yml, deployment docs) to learn the release steps. Create a bash updater that pulls new code, keeps .env.local, backs up the DB and runs the upgrader. Done means a cron-runnable script that upgrades Davis with minimal downtime.

Written by the indexing model from the issue text.

Description

feature request
Problem / motivation

I try to update davis each time a new version is available.
But I am not really efficient on this : my last update was end of 2025...

Is there a way to always install the last version ? In some other softwares, we can run an "updater" file which do all the process. This "updater" can be run once a day by cron.

Proposed solution

I try a Bash script which download the new code if needed, copy the .env.local in the extract, create a DB backup, then push the new version in place, run the DB upgrader.

Alternatives considered

No response

Area

Without Docker - deployment

Dominant language
PHP
Stars
761
Forks
45
Avg merge
9h 45m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tchapi/davis

All issues in tchapi/davis

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.