16 Aug
2007
16 Aug
'07
00:38
I had some trouble with the obs_mirror_project in the new build of obs-server, so I rewrote it in Python. It's called exactly the same way but it differs in the following ways: - Uses the osc library directly to perform api operations - Instead of downloading every single RPM on every invocation, it only downloads RPMs that have not already been downloaded - RPMs are downloaded to a temporary directly and moved to the local project once completed. If a download fails, there won't be any half-downloaded RPMs causing buildroot failures - RPMs that are no longer on the api server are cleaned up - Download progress is displayed -- James Oakley jfunk@funktronics.ca