Commit Graph
12 Commits
Author SHA1 Message Date
Manuel Raynaud 600b28825d 🔧(docker) maintain a custom mime.types file
We want to add entries in the /etc/mime/types to add mapping between
extension and mimetype allowed in Drive
2026-02-16 11:02:25 +01:00
Manuel Raynaud 5c2a2eb957 🔧(docker) change mime.types url in Dockerfile
Change mime.types url in Dockerfile
2026-02-11 13:39:34 +01:00
Manuel Raynaud 0b4326aa8f ♻️(backend) save item to mirror in the database
In order to be more fault tolerant, to not lose data if the redis is
reset, etc. We decided to put the item to mirror in a new table and then
the task will manage the status in the database.
This is the first step to then add tasks in the admin to retry or check
why the task has failed and also implement a retry strategy.

The Dockerfile must also be modified, we need the libmagic library to
build the image at the collect stage because the magic module is
imported in the storage module and all tasks are imported when the
application starts.
2026-02-10 10:11:18 +01:00
Manuel Raynaud 84e7dba52e ♻️(backend) migrate from setuptool to uv_build as build backend
Recently a CVE present in a dependency of setuptool is blocking our CI.
The CVE is fixed, a new release of the dependency (jaraco.context) is
made but the setuptool project is not updating it. We already migrate
from pip to uv to manage our dependencies. We can also migrate the build
backend from setuptool to uv_build.
In the pyproject file, the readme property has been removed, because
uv_build try to read it, but the readme is at the root of the project
and not copied into the Dockerfile instructions. This readme can be used
when the package is published on pypi but it is not the case for Drive.
2026-01-20 18:53:06 +01:00
Manuel Raynaud 1a8b44aa3f 🔧(docker) force pip upgrade to avoid security issues
We have migrated to uv but pip is still installed in the python docker
image. We must upgrade it to avoid having an outdated version of it with
security issues.
2025-12-04 18:46:38 +01:00
Manuel Raynaud 125644bca7 🔥(docker) remove git in production layer
In the production layer git is kept but we don't need it. We can remove
it.
2025-11-25 11:53:32 +01:00
Manuel Raynaud 617a0643ff 🔧(backend) ignore .venv in compile messages command
We have to change the ignored files used in the compoilemessages
command. uv is using .venv directory and not venv
2025-11-25 09:51:15 +01:00
Manuel Raynaud 7772c7d32b 🏗️(core) migrate from pip to uv
We want to migrate our projects from pip to uv to take the benefits of
the lock file and have reproducible installations.
A first uv.lock file is comitted and the Dockerfile and compose are
modified to work with uv
2025-11-25 09:51:13 +01:00
Manuel Raynaud 65127ad60a ⬆️(backend) upgrade to python 3.13
we want to upgrade to python 3.13 before upgrading it to 3.14 in few
weeks
2025-11-19 16:45:13 +01:00
Manuel Raynaud 44ef464e22 ♻️(back) migrate from django_treebeard to native postgres ltree
Django has a native extension able to manage records in a hierchical way
combined with an index allowing to have high performance when querying
the database. The django_ltree lib is used, it adds some helper but is
really lightweight
2025-03-04 09:52:24 +01:00
Manuel Raynaud 7eed577278 (back) add first backend version
The first backend version is able to manage items object and their
lifecycle
2025-02-11 14:57:09 +01:00
Manuel Raynaud 2607d77153 🎉(core) shape of the project
Add all files we need to start the project. Only the `src` repository is
missing and will be added later by additional pull requests.
2025-01-29 17:08:23 +01:00