Package Details: ente-server-git r1.7490199-5

Git Clone URL: https://aur.archlinux.org/ente-server-git.git (read-only, click to copy)
Package Base: ente-server-git
Description: Self hosted server for Ente (mobile) clients
Upstream URL: https://github.com/ente-io
Licenses: AGPL-3.0-only
Conflicts: ente-server
Provides: ente-server
Submitter: Object42
Maintainer: Object42
Last Packager: Object42
Votes: 0
Popularity: 0.000000
First Submitted: 2024-05-01 21:02 (UTC)
Last Updated: 2024-05-10 20:51 (UTC)

Latest Comments

Object42 commented on 2024-05-10 21:00 (UTC)

A small update: instead of a feature request, I create a pull request with the requested change to make the DeleteObjectQueue variable configurable via the config file: https://github.com/ente-io/ente/pull/1661

However, out of precaution they are not likely to merge this yet. Therefore, I've added this additional code as a patch file to this AUR package (like the Ente developer suggested).

If left uncommented, or at the default value, nothing will change. If modified this will apply, so make sure what you're doing when tweaking this configuration setting.

Object42 commented on 2024-05-05 21:57 (UTC)

I fully agree with making the dependencies optional, and was actually thinking about changing that as well, but didn't have time to update it yet.

However I've just update the package and applied this fix. FYI: I've also updated the accompanying Arch Wiki page I created, to reflect these changes.

I do not intend to clutter the makepkg to also include the ente-web package, since the ente-server does not need the ente-web package to be fully functional. Besides I've switched to a sparse git checkout, since I only needed the server git sub-directory and the LICENSE in the git root.

Regarding the modified DeleteObjectQueue: I agree that it's opinionated, but I did explain it in both the man page inside the package, as well as on the accompanying Arch Wiki page. But I'll create an upstream feature request, to make this configurable.

BlackLotus89 commented on 2024-05-05 09:15 (UTC) (edited on 2024-05-05 09:18 (UTC) by BlackLotus89)

Heyho thanks for your work. Maybe you can do a split PKGBUILD like here https://aur.archlinux.org/packages/ente-server and add the web part as well? Also consider adding minio and postgresql as optdepends since not everyone will setup a minio instance for this and not everyone has to use a local postgresql instance.

Also I guess that

sed -i 's@DeleteObjectQueue: 45 * 24 * 60, \/\/ 45 days in minutes@DeleteObjectQueue: 5, // 5 minutes@' "${srcdir}/${pkgname}/server/pkg/repo/queue.go"

is a bit opionated... Would maybe be a bit confusing for some people