[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Stow-devel] Allowing Stow (version 2) to stow absolute links
From: |
Kahlil Hodgson |
Subject: |
Re: [Stow-devel] Allowing Stow (version 2) to stow absolute links |
Date: |
Sun, 29 Nov 2009 16:59:56 +1100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
Hi Troy,
You would also have to uncomment some code in the unstow_node routine.
I cant remember the rationale off-the-top-of-my-head, but there was
certainly some issue. It may have to do with tree-folding and the
find_stowed_path() function. Have you tried creating some test cases?
Especially some that involve tree folding?
I think we decided at the time that simply replacing the absolute
symlink with a relative one in the problematic package solved all the
problems (it may have been php5).
Does the absolute link point outside of the package tree? I think that
may be the problem. What package are you trying to stow anyway? I
think we definitely need some better documentation around this:-)
Kal
--
Kahlil (Kal) Hodgson GPG: C37B01F4
Head of Technology (m) +61 (0) 4 2573 0382
DealMax Pty Ltd (w) +61 (0) 3 9008 5281
Suite 1005
401 Docklands Drive
Docklands VIC 3008 Australia
"All parts should go together without forcing. You must remember that
the parts you are reassembling were disassembled by you. Therefore,
if you can't get them together again, there must be a reason. By all
means, do not use a hammer." -- IBM maintenance manual, 1925