[Spacewalk-devel] [PATCH/RFC/WIP] manage symlinks in config management

Pradeep Kilambi pkilambi at redhat.com
Wed Aug 5 17:36:18 EDT 2009


On 08/04/2009 03:53 PM, Joshua Roys wrote:
> Hello all,
>
> Attached is a patch that lets you play around with symlinks through 
> the config management interface (rhbz#428190).  It's a bit of a hack 
> in the sense that it asks you to put the target of the symlink in the 
> file contents.  Also, a few things are unfinished or don't do what is 
> expected with this patch.
>
> Things to do/fix:
> - asking for a diff dereferences the symlink.  move the code from 
> transaction.py to file_utils.py/process?
> - integrate with deploy/rollback.  pretend symlinks are files in 
> transaction.py?  necessary with symlinks?
> - hide the owner:group/mode fields?  always root:root/0777?
> - when you click on "Symbolic link" in the web interface, hide the 
> "File Contents" box and have a "Destination" input field appear?
> - on the Channel overview page, the incorrect count of files appears. 
> where is this number calculated from?  (how does it get into 
> ConfigChannelDto.java?)
>
> Anyone have some advice on the last one?  Or any suggestions on the 
> other ones, too.
>
> Thanks,
>
> Joshua Roys


I'll go ahead and take this for review as well. But I vote to include 
this for 0.7 as its already too late for inclusion into spacewalk-0.6 at 
this point.

Thanks,
~ Prad




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


-- 
--
Pradeep Kilambi
Senior Software Engineer
RHN Satellite Engineering
Phone: +1 919 754 4285
RHCE # 805008680430554


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/spacewalk-devel/attachments/20090805/9e340472/attachment.html>


More information about the Spacewalk-devel mailing list