This is the script the repository server runs to update the entire Manjaro-ARM repo.
I'm working on a solution to create a list of newly downloaded packages and then only running repo-add command for those packages.
Because right now the script tries to add all packages in the repo at once, making the repo-add part take around 20 minutes.
If I can do the change I'm thinking of, I could reduce that repo-add time to a couple of minutes.
There. The version that's up now is only taking packages from the last 2 hours and adds them, resulting in the entire script only taking around 3-4 minutes to run.
Seems to be a simple approach, but can be improved a lot ... Will look into it and maybe add boxit support for Manjaro ARM.