<?xml version="1.0"?>
<?xml-stylesheet 
 href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/13691/bug">
    <title>PEAR Bug #13691</title>
    <link>http://pear.php.net/bugs/13691</link>
    <description>[Closed] Pear doesn't remove old directories on upgrade</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bugs/13691"/>
      <rdf:li rdf:resource="http://pear.php.net/bugs/13691/2008-05-13+17%3A28%3A32#2008-05-13+17%3A28%3A32"/>
      <rdf:li rdf:resource="http://pear.php.net/bugs/13691/2008-04-22+11%3A17%3A56#2008-04-22+11%3A17%3A56"/>
      <rdf:li rdf:resource="http://pear.php.net/bugs/13691/2008-04-22+09%3A33%3A32#2008-04-22+09%3A33%3A32"/>
      <rdf:li rdf:resource="http://pear.php.net/bugs/13691/2008-04-16+02%3A36%3A32#2008-04-16+02%3A36%3A32"/>
     </rdf:Seq>
    </items>
  </channel>
    <item rdf:about="http://pear.php.net/bugs/13691">
      <title>alexandertumanovsky</title>
      <link>http://pear.php.net/bugs/13691</link>
      <description><![CDATA[<pre>PEAR Bug
Reported by alexandertumanovsky
2008-04-16T06:25:34-00:00
PHP: 5.2.3 OS: Windows XP, Linux Package Version: 1.7.1

Description:
------------
I've made two versions of a test package for this test case.
First version:
SamplePackage
SamplePackage/admin1/1.php

Second version:
SamplePackage
SamplePackage/admin2/2.php

Test script:
---------------
--------------------------------------------------
C:\pearTest&gt;pear install SamplePackage-1.0.4snapshot1207834335.tar
install ok: channel://__uri/SamplePackage-1.0.4snapshot1207834335

C:\php\PEAR\pear\SamplePackage&gt;dir /s
 Directory of C:\php\PEAR\pear\SamplePackage
16.04.2008  09:04    &lt;DIR&gt;          admin1

 Directory of C:\php\PEAR\pear\SamplePackage\admin1
16.04.2008  09:04                66 1.php
--------------------------------------------------
Upgrade:
--------------------------------------------------
C:\pearTest&gt;pear install SamplePackage-1.0.4snapshot1207834335.tar
install ok: channel://__uri/SamplePackage-1.0.4snapshot1207834335

C:\php\PEAR\pear\SamplePackage&gt;dir /s
 Directory of C:\php\PEAR\pear\SamplePackage
16.04.2008  09:04    &lt;DIR&gt;          admin1

 Directory of C:\php\PEAR\pear\SamplePackage\admin1
16.04.2008  09:04                66 1.php
--------------------------------------------------


Expected result:
----------------
SamplePackage/admin2/2.php (file installed with upgraded version)

Actual result:
--------------
SamplePackage/admin1/ (empty directory)
SamplePackage/admin2/2.php (file installed with upgraded version)</pre>]]></description>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by alexandertumanovsky
2008-04-16T06:25:34-00:00
PHP: 5.2.3 OS: Windows XP, Linux Package Version: 1.7.1

Description:
------------
I've made two versions of a test package for this test case.
First version:
SamplePackage
SamplePackage/admin1/1.php

Second version:
SamplePackage
SamplePackage/admin2/2.php

Test script:
---------------
--------------------------------------------------
C:\pearTest&gt;pear install SamplePackage-1.0.4snapshot1207834335.tar
install ok: channel://__uri/SamplePackage-1.0.4snapshot1207834335

C:\php\PEAR\pear\SamplePackage&gt;dir /s
 Directory of C:\php\PEAR\pear\SamplePackage
16.04.2008  09:04    &lt;DIR&gt;          admin1

 Directory of C:\php\PEAR\pear\SamplePackage\admin1
16.04.2008  09:04                66 1.php
--------------------------------------------------
Upgrade:
--------------------------------------------------
C:\pearTest&gt;pear install SamplePackage-1.0.4snapshot1207834335.tar
install ok: channel://__uri/SamplePackage-1.0.4snapshot1207834335

C:\php\PEAR\pear\SamplePackage&gt;dir /s
 Directory of C:\php\PEAR\pear\SamplePackage
16.04.2008  09:04    &lt;DIR&gt;          admin1

 Directory of C:\php\PEAR\pear\SamplePackage\admin1
16.04.2008  09:04                66 1.php
--------------------------------------------------


Expected result:
----------------
SamplePackage/admin2/2.php (file installed with upgraded version)

Actual result:
--------------
SamplePackage/admin1/ (empty directory)
SamplePackage/admin2/2.php (file installed with upgraded version)</pre>]]></content:encoded>
      <dc:date>2008-04-16T06:25:34-00:00</dc:date>
    </item>
    <item rdf:about="http://pear.php.net/bugs/13691/2008-05-13+17%3A28%3A32#2008-05-13+17%3A28%3A32">
      <title>cellog [2008-05-13 21:28]</title>
      <link>http://pear.php.net/bugs/13691#1210714112</link>
      <description><![CDATA[<pre>This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.</pre>]]></description>
      <content:encoded><![CDATA[<pre>This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.</pre>]]></content:encoded>
      <dc:date>2008-05-13T21:28:32-00:00</dc:date>
    </item>
    <item rdf:about="http://pear.php.net/bugs/13691/2008-04-22+11%3A17%3A56#2008-04-22+11%3A17%3A56">
      <title>alexandertumanovsky [2008-04-22 15:17]</title>
      <link>http://pear.php.net/bugs/13691#1208877476</link>
      <description><![CDATA[<pre>The admin2 folder was deleted after uninstall, but SamplePackage/admin1 still present.

C:\pearTest&gt;pear uninstall __uri/SamplePackage
uninstall ok: channel://__uri/SamplePackage-1.0.4snapshot1208273857

...
dir

 Directory of C:\php\PEAR\pear\SamplePackage

22.04.2008  18:13    &lt;DIR&gt;          .
22.04.2008  18:13    &lt;DIR&gt;          ..
16.04.2008  09:08    &lt;DIR&gt;          admin1
               0 File(s)              0 bytes
               3 Dir(s)   2 368 557 056 bytes free


After that I've installed again the first version of package, and then uninstalled it, and directory 
C:\php\PEAR\pear\SamplePackage
was removed after that.

So again - the problem is in upgrade process.</pre>]]></description>
      <content:encoded><![CDATA[<pre>The admin2 folder was deleted after uninstall, but SamplePackage/admin1 still present.

C:\pearTest&gt;pear uninstall __uri/SamplePackage
uninstall ok: channel://__uri/SamplePackage-1.0.4snapshot1208273857

...
dir

 Directory of C:\php\PEAR\pear\SamplePackage

22.04.2008  18:13    &lt;DIR&gt;          .
22.04.2008  18:13    &lt;DIR&gt;          ..
16.04.2008  09:08    &lt;DIR&gt;          admin1
               0 File(s)              0 bytes
               3 Dir(s)   2 368 557 056 bytes free


After that I've installed again the first version of package, and then uninstalled it, and directory 
C:\php\PEAR\pear\SamplePackage
was removed after that.

So again - the problem is in upgrade process.</pre>]]></content:encoded>
      <dc:date>2008-04-22T15:17:56-00:00</dc:date>
    </item>
    <item rdf:about="http://pear.php.net/bugs/13691/2008-04-22+09%3A33%3A32#2008-04-22+09%3A33%3A32">
      <title>doconnor [2008-04-22 13:33]</title>
      <link>http://pear.php.net/bugs/13691#1208871212</link>
      <description><![CDATA[<pre>What happens when you pear uninstall either package?</pre>]]></description>
      <content:encoded><![CDATA[<pre>What happens when you pear uninstall either package?</pre>]]></content:encoded>
      <dc:date>2008-04-22T13:33:32-00:00</dc:date>
    </item>
    <item rdf:about="http://pear.php.net/bugs/13691/2008-04-16+02%3A36%3A32#2008-04-16+02%3A36%3A32">
      <title>alexandertumanovsky [2008-04-16 06:36]</title>
      <link>http://pear.php.net/bugs/13691#1208327792</link>
      <description><![CDATA[<pre>The upgrade code was:

--------------------------------------------------
C:\pearTest&gt;pear upgrade SamplePackage-1.0.4snapshot1208273857.tar
upgrade ok: channel://__uri/SamplePackage-1.0.4snapshot1208273857

C:\php\PEAR\pear\SamplePackage&gt;dir /s
 Directory of C:\php\PEAR\pear\SamplePackage
16.04.2008  09:08    &lt;DIR&gt;          admin1
16.04.2008  09:08    &lt;DIR&gt;          admin2

 Directory of C:\php\PEAR\pear\SamplePackage\admin1

 Directory of C:\php\PEAR\pear\SamplePackage\admin2
16.04.2008  09:08                66 2.php
--------------------------------------------------</pre>]]></description>
      <content:encoded><![CDATA[<pre>The upgrade code was:

--------------------------------------------------
C:\pearTest&gt;pear upgrade SamplePackage-1.0.4snapshot1208273857.tar
upgrade ok: channel://__uri/SamplePackage-1.0.4snapshot1208273857

C:\php\PEAR\pear\SamplePackage&gt;dir /s
 Directory of C:\php\PEAR\pear\SamplePackage
16.04.2008  09:08    &lt;DIR&gt;          admin1
16.04.2008  09:08    &lt;DIR&gt;          admin2

 Directory of C:\php\PEAR\pear\SamplePackage\admin1

 Directory of C:\php\PEAR\pear\SamplePackage\admin2
16.04.2008  09:08                66 2.php
--------------------------------------------------</pre>]]></content:encoded>
      <dc:date>2008-04-16T06:36:32-00:00</dc:date>
    </item>
</rdf:RDF>