[tools] Request for having plugins for mrepo

apratyaksh apratyaksh at gmail.com
Fri Apr 4 22:01:31 CEST 2008


Ian Forde wrote:
> On Fri, 2008-04-04 at 19:09 +0100, apratyaksh wrote:
>   
>> Hello,
>>
>> I am using mrepo for hosting a lot of isos (mostly redhat based ones) 
>> and it has been a useful tool.
>> I would like to ask for a additional feature in mrepo. A lot of time I 
>> have to use some custom  scripts  on the mrepo
>> repositories to generate information base on the repository  like the 
>> yum/apt configuration files which can be downloaded by users
>> or a master boot image which can boot all available distros of a arch 
>> (unfortunately our environment cannot use PXE a lot of time) etc.
>>
>> Most of the time I have shell scripts ending up in cron jobs, so even 
>> after doing a regeneration  of repositories  with mrepo  all is not updated
>> as I have to run the cron jobs manually.
>>
>> Will it be possible to have some plugins to mrepo or some way to call a 
>> external script per repository ?
>>     
>
> Why not call your script from within the mrepo cron script to run right
> after mrepo itself?
>
> 	-I
>   
Yes this can be done but I was looking for something that can target a 
particular repository, like the way
mrepo does. So that I don't have to run the script on the whole repo but 
only where mrepo was run.

I see mrepo also does some checks to update repository only if required.

Do you think this will be good ?

Regards
apratyaksh joe



More information about the tools mailing list