Hello,
I am trying to use a newly set up instance of dockerised Gitea 1.24.6 to host Arch packages, which should be possible according to the documentation. Having followed the initial steps enumerated in the mentioned documentation, I have indeed managed to upload an Arch package named calc using the following command:
curl --user wediaklup:insecurepassword --upload-file calc-1.1-1-x86_64.pkg.tar.zst https://<domain>/api/packages/wediaklup/arch/giteawdk
According to the documentation, I should now be able to pull this package down using pacman if the following is added to /etc/pacman.conf:
[wediaklup.<domain>]
SigLevel = Required
Server = https://wediaklup:insecurepassword@<domain>/api/packages/wediaklup/arch/$repo/$arch
When attempting to do so using pacman -Sy calc, I get the following output
:: Synchronising package databases…
endeavouros is up to date
core is up to date
extra 8,0 MiB 5,90 MiB/s 00:01 [------------------------------------------------------------------] 100%
multilib is up to date
chaotic-aur 649,9 KiB 653 KiB/s 00:01 [------------------------------------------------------------------] 100%
wediaklup.<domain>.db failed to download
error: failed retrieving file ‘wediaklup.<domain>.db’ from <domain>: The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)
Are there any actions that I have foolishly missed and need take apart from uploading the package itself to make this work? The documentation — to me — strongly implies that this should be possible and that these are the only steps necessary to enable it.
This is also reproducible on the demo instance of Gitea.
Thanks for any help on this matter.