<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/pkgutil/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/pkgutil/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 17 Oct 2014 12:34:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pkgutil/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#24 bldcat should cleanup temp dir after each package is inspected</title><link>https://sourceforge.net/p/pkgutil/bugs/24/?limit=25#a0c5</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Bonivart</dc:creator><pubDate>Fri, 17 Oct 2014 12:34:58 -0000</pubDate><guid>https://sourceforge.netca6412589bfba13afb9eab9424d5d9ee4224e282</guid></item><item><title>#24 bldcat should cleanup temp dir after each package is inspected</title><link>https://sourceforge.net/p/pkgutil/bugs/24/?limit=25#4c12</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Peter Bonivart&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Priority&lt;/strong&gt;: 1 --&amp;gt; 3&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Bonivart</dc:creator><pubDate>Thu, 16 Oct 2014 20:07:24 -0000</pubDate><guid>https://sourceforge.net079e9b14e56ae8e48087f81fee8bb0923f0394cf</guid></item><item><title>bldcat should cleanup temp dir after each package is inspected</title><link>https://sourceforge.net/p/pkgutil/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;bldcat creates a tmp directory for unpacking packages into using the function File::Temp::tempdir with the CLEANUP flag set.&lt;/p&gt;
&lt;p&gt;According to the File::Temp docs, CLEANUP cleans up when the program exits:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Create a temporary directory using the supplied template, but attempt to remove it (and all files inside it) when the program exits.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;via &lt;a href="http://perldoc.perl.org/File/Temp.html" rel="nofollow"&gt;http://perldoc.perl.org/File/Temp.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Delaying cleanup of temporary directories containing expanded packages until bldcat has finished is not an ideal situation. It means that storage space required for generating a catalog is larger than the storage space required for the packages, which can become problematic when building a catalog containing a large number of packages.&lt;/p&gt;
&lt;p&gt;I could not find a particular reason for all packages to remain expanded until bldcat completes. It looks to me as if bldcat processes packages one at a time.&lt;/p&gt;
&lt;p&gt;To remedy the situation I placed a call to File::Temp::cleanup at the end of the main inspection loop. Docs for File::Temp::cleanup:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Calling this function will cause any temp files or temp directories that are registered for removal to be removed. This happens automatically when the process exits but can be triggered manually if the caller is sure that none of the temp files are required. This method can be registered as an Apache callback.&lt;br /&gt;
Note that if a temp directory is your current directory, it cannot be removed. C out of the directory first before calling C. (For the cleanup at program exit when the CLEANUP flag is set, this happens automatically.)&lt;br /&gt;
On OSes where temp files are automatically removed when the temp file is closed, calling this function will have no effect other than to remove temporary directories (which may include temporary files).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This call causes temporary directories to be cleaned up after each package is processed. Thus the issue of N storage space being used while building a catalog is alleviated.&lt;/p&gt;
&lt;p&gt;Attached is a patch.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Wissmann</dc:creator><pubDate>Wed, 15 Oct 2014 18:46:38 -0000</pubDate><guid>https://sourceforge.netef341cd1e8e4ddc73780794a800324a496682870</guid></item><item><title>bldcat should cleanup temp dir after each package is inspected</title><link>https://sourceforge.net/p/pkgutil/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 24 has been modified: bldcat should cleanup temp dir after each package is inspected&lt;br /&gt;
Edited By: Peter Bonivart (bonivart)&lt;br /&gt;
_priority updated: u'1' =&amp;gt; u'3'&lt;br /&gt;
Owner updated: None =&amp;gt; u'bonivart'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Wissmann</dc:creator><pubDate>Wed, 15 Oct 2014 18:46:38 -0000</pubDate><guid>https://sourceforge.net2c6432ae6349d21789fbf86c6f62acf9efccc79c</guid></item><item><title>bldcat should cleanup temp dir after each package is inspected</title><link>https://sourceforge.net/p/pkgutil/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 24 has been modified: bldcat should cleanup temp dir after each package is inspected&lt;br /&gt;
Edited By: Peter Bonivart (bonivart)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Wissmann</dc:creator><pubDate>Wed, 15 Oct 2014 18:46:38 -0000</pubDate><guid>https://sourceforge.netf5db1baf4e0dff1b3be516f68ba40147c80123d3</guid></item><item><title>Support for 304 Not Modified</title><link>https://sourceforge.net/p/pkgutil/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When run with -U, pkgutil always downloads the body of the catalog file.&lt;/p&gt;
&lt;p&gt;Conversation started in:&lt;br /&gt;
&lt;a href="http://lists.opencsw.org/pipermail/maintainers/2013-October/018763.html" rel="nofollow"&gt;http://lists.opencsw.org/pipermail/maintainers/2013-October/018763.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;One of the problems described in:&lt;br /&gt;
&lt;a href="http://lists.opencsw.org/pipermail/maintainers/2013-October/018768.html" rel="nofollow"&gt;http://lists.opencsw.org/pipermail/maintainers/2013-October/018768.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;...that -O is used, and -O is incompatible with -N (timestamping) in wget.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maciej Bliziński</dc:creator><pubDate>Sat, 24 May 2014 11:45:49 -0000</pubDate><guid>https://sourceforge.net6d724b343f1387e805809c4cf8a774e006593b40</guid></item><item><title>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)
Owner updated: None =&gt; u'bonivart'</title><link>https://sourceforge.net/p/pkgutil/bugs/22/</link><description>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)
Owner updated: None =&gt; u'bonivart'</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Bonivart</dc:creator><pubDate>Sat, 22 Sep 2012 13:26:03 -0000</pubDate><guid>https://sourceforge.net68e4d23470f4c7268f8386ab575356fcabf9dda1</guid></item><item><title>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)</title><link>https://sourceforge.net/p/pkgutil/bugs/22/</link><description>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Bonivart</dc:creator><pubDate>Sat, 22 Sep 2012 13:25:46 -0000</pubDate><guid>https://sourceforge.net405c06e6c28f72e078525d354168f75ecb6fc35f</guid></item><item><title>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)
Status updated: u'open' =&gt; u'closed'</title><link>https://sourceforge.net/p/pkgutil/bugs/22/</link><description>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)
Status updated: u'open' =&gt; u'closed'</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Bonivart</dc:creator><pubDate>Sat, 22 Sep 2012 13:24:59 -0000</pubDate><guid>https://sourceforge.netd1fb2e45ac79c50b80a352a3016b2583a7a328df</guid></item><item><title>#22 ssh fails </title><link>https://sourceforge.net/p/pkgutil/bugs/_discuss/thread/8b576dab/</link><description>- **status**: open --&gt; closed
- **milestone**:  --&gt; 
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Bonivart</dc:creator><pubDate>Sat, 22 Sep 2012 13:24:59 -0000</pubDate><guid>https://sourceforge.net168645c8b49d3ba0f99ea035361de437c6fcd8f5</guid></item></channel></rss>