No, then it won't help. I can already clone now (if I want to do partial cloning I just insert grep in between sqlite3 and xargs):Iguleder wrote:I think full cloning is a good start. Updating sounds like something I'd leave for LFTP and rsync.
Code: Select all
sqlite3 /tmp/repo.sqlite3 "select file_name from packages" | xargs -I '{}' wget -c $REPO_URL/'{}'
Leaving the update to LFTP and rsync assumes that the repo is accessible by FTP and by rsync - which is a *big* assumption.
I think the best return/effort ratio is still just to add md5sum column in the database, and make sure that repodude does md5sum when it updates the database.
But I'll leave the decision to you