Hi, Martin.

I would suggest splitting out such functionality.  The spacewalk-repo-sync 
functionality would be exactly as it is today, simply add support to use it for 
Channels with .deb Repositories.

The other functionality that you mention might be a new script or some parts of 
it might make more sense to be covered in the pre-defined channel sets.
--
Lamont Peterson
Sr. Systems Administrator | Unix Systems Operations
Office: 801.442.6497

[cid:image002.jpg@01CEC98D.A33033E0]<http://intermountainhealthcare.org/>

From: Martin Juhl <m...@casalogic.dk<mailto:m...@casalogic.dk>>
Reply-To: "spacewalk-devel@redhat.com<mailto:spacewalk-devel@redhat.com>" 
<spacewalk-devel@redhat.com<mailto:spacewalk-devel@redhat.com>>
Date: Monday, January 20, 2014 at 1:48 AM
To: "spacewalk-devel@redhat.com<mailto:spacewalk-devel@redhat.com>" 
<spacewalk-devel@redhat.com<mailto:spacewalk-devel@redhat.com>>
Subject: Re: [Spacewalk-devel] Ubuntu Sync Script

Hi Michael (and all others)

I have close to no experience writing python code.. ( I might learn in the 
future), so I hope that someone else will take the job of rewriting this 
script...

Besides of that, I'm not sure that all of the functionality of the script can 
be merged into spacewalk-repo-sync.. my script also contains functionality to 
check which distributions and sub-channels are available from Ubuntu..

Is there anything else I can do to help people rewrite/use this script for 
now???

Regards

Martin



________________________________
Fra: "Michael Mraka" <michael.mr...@redhat.com<mailto:michael.mr...@redhat.com>>
Til: spacewalk-devel@redhat.com<mailto:spacewalk-devel@redhat.com>
Sendt: torsdag, 9. januar 2014 16:00:31
Emne: Re: [Spacewalk-devel] Ubuntu Sync Script


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<mailto:Spacewalk-devel@redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-devel

<<inline: 43D9F316-7150-4FD9-97C0-94E6B1732B1F[94].png>>

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to