<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Process subdirectories correctly and handle .files appropriately</title> 
  <pubDate>Fri, 10 Apr 2026 07:55:24 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8760</link> 
  <atom:link rel="self" type="application/rss+xml" title="Process subdirectories correctly and handle .files appropriately" href="https://bugs.horde.org/ticket/8760/rss" /> 
  <description>Process subdirectories correctly and handle .files appropriately</description> 
 
   
   
  <item> 
   <title>The attached diff patches a failing in the current /ansel/sc</title> 
   <description>The attached diff patches a failing in the current /ansel/scripts/recursive_import.php where if you specify a subdirectory, it won&#039;t process the directory correctly. This is due to slightly faulty logic in the code where it manually traverses the tree, rather than searching the tree relatively. Without re-engineering the import process, I have created this slightly cludgy patch which will only work on *nix based systems.

This looks for a / at the start of the path, and if that doesn&#039;t exist, do a `pwd` and add that to the beginning of the path. There&#039;s probably a much more efficient way of doing this, but off-hand I couldn&#039;t think of it.

There&#039;s also included in this diff (which again, only works on *nix file systems) which looks for hidden dotfiles and  discards them. This is particularly useful if you moving your photos from a Subversion repository into ansel. Sadly, this part will currently *always* discard dotfiles because I can&#039;t work out how to make the option-matching code accept -s or --secret as options, like -k or --keep currently does.</description> 
   <pubDate>Tue, 08 Dec 2009 22:20:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8760#t57063</link> 
  </item> 
   
  <item> 
   <title>&gt; This looks for a / at the start of the path, and if that d</title> 
   <description>&gt; This looks for a / at the start of the path, and if that doesn&#039;t 
&gt; exist, do a `pwd` and add that to the beginning of the path. There&#039;s 
&gt; probably a much more efficient way of doing this, but off-hand I 
&gt; couldn&#039;t think of it.

Use Util::realPath() for that instead.</description> 
   <pubDate>Tue, 08 Dec 2009 23:51:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8760#t57071</link> 
  </item> 
   
  <item> 
   <title>&gt; Sadly, this part will currently 
&gt; *always* discard dotfi</title> 
   <description>&gt; Sadly, this part will currently 
&gt; *always* discard dotfiles because I can&#039;t work out how to make the 
&gt; option-matching code accept -s or --secret as options, like -k or 
&gt; --keep currently does.

I don&#039;t think we&#039;d *want* ever want to look at dotfiles anyway, so not a big deal.</description> 
   <pubDate>Wed, 09 Dec 2009 00:02:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8760#t57074</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Get the cano</title> 
   <description>Changes have been made in CVS for this ticket:

Get the canonical path to import.
Bug: 8760
http://cvs.horde.org/diff.php/ansel/scripts/recursive_import.php?rt=horde&amp;r1=1.11&amp;r2=1.11.2.1&amp;ty=u</description> 
   <pubDate>Sat, 13 Feb 2010 17:47:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8760#t57978</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

MFB - use re</title> 
   <description>Changes have been made in Git for this ticket:

MFB - use realPath here. Bug: 8760

http://git.horde.org/diff.php/ansel/scripts/recursive_import.php?rt=horde-git&amp;r1=54a26e22e01a369372381a50d79eb655339c0956&amp;r2=4f93f6eda3179871fad2a882fbdff0a367e9dfb9
http://git.horde.org/diff.php/ansel/scripts/remote_import.php?rt=horde-git&amp;r1=54a26e22e01a369372381a50d79eb655339c0956&amp;r2=4f93f6eda3179871fad2a882fbdff0a367e9dfb9</description> 
   <pubDate>Sat, 13 Feb 2010 17:52:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8760#t57979</link> 
  </item> 
   
  <item> 
   <title>Fixed by simply running $dir through Util::realPath (in CVS)</title> 
   <description>Fixed by simply running $dir through Util::realPath (in CVS) and Horde_Util::realPath (in Git)

Thanks for the report.</description> 
   <pubDate>Sat, 13 Feb 2010 17:53:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8760#t57980</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
