Hello Martin, % I have created a bash script for syncing Ubuntu Channels to SpaceWalk.. % % The script has been written to resemble the "satellite-sync" and "mgr-ncc-sync" on Red Hat Satellite and SuSE Manager.. % % The script is definitely NOT perfect, and could do with a rewrite in python/perl.. But it works, and thats the main reason I'm releasing it...
Your sync script looks good. If you really think about rewriting it into python I'd point you to spacewalk-repo-sync command. It is currently able to download packages only from yum repos but you can extend it with new repo plugin (see ./backend/satellite_tools/repo_plugins in spacewalk.git). So you have to write code only for fetching package list and packages itself and rest of the infrastructure is already there. Regards, -- Michael Mráka Satellite Engineering, Red Hat _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel