Add an updater
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tchapi/davis
-
Run Doctrine migrations automatically on container startPossibly taken A pull request linked to this issue is open or already merged. Openfeature request
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
feature request
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
feature request
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
feature request
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
feature request
Difficulty 5/5 Over a week Newbie friendliness 30/100
Similar issues
-
cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
[Bug]: Detection::detectString() / detectContent() never use finfo – missing use finfo; (regression from #54077)Possibly taken A pull request linked to this issue is open or already merged. Open0. Needs triage 35-feedback bug
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
getgrav/grav-plugin-api#74 ·