<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/pkgutil/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/pkgutil/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/pkgutil/bugs/</id><updated>2014-10-17T12:34:58.405000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#24 bldcat should cleanup temp dir after each package is inspected</title><link href="https://sourceforge.net/p/pkgutil/bugs/24/?limit=25#a0c5" rel="alternate"/><published>2014-10-17T12:34:58.405000Z</published><updated>2014-10-17T12:34:58.405000Z</updated><author><name>Peter Bonivart</name><uri>https://sourceforge.net/u/bonivart/</uri></author><id>https://sourceforge.netca6412589bfba13afb9eab9424d5d9ee4224e282</id><summary type="html">&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;</summary></entry><entry><title>#24 bldcat should cleanup temp dir after each package is inspected</title><link href="https://sourceforge.net/p/pkgutil/bugs/24/?limit=25#4c12" rel="alternate"/><published>2014-10-16T20:07:24.463000Z</published><updated>2014-10-16T20:07:24.463000Z</updated><author><name>Peter Bonivart</name><uri>https://sourceforge.net/u/bonivart/</uri></author><id>https://sourceforge.net079e9b14e56ae8e48087f81fee8bb0923f0394cf</id><summary type="html">&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;</summary></entry><entry><title>bldcat should cleanup temp dir after each package is inspected</title><link href="https://sourceforge.net/p/pkgutil/bugs/24/" rel="alternate"/><published>2014-10-15T18:46:38.978000Z</published><updated>2014-10-15T18:46:38.978000Z</updated><author><name>Rob Wissmann</name><uri>https://sourceforge.net/u/robwiss/</uri></author><id>https://sourceforge.netef341cd1e8e4ddc73780794a800324a496682870</id><summary type="html">&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;</summary></entry><entry><title>bldcat should cleanup temp dir after each package is inspected</title><link href="https://sourceforge.net/p/pkgutil/bugs/24/" rel="alternate"/><published>2014-10-15T18:46:38.978000Z</published><updated>2014-10-15T18:46:38.978000Z</updated><author><name>Rob Wissmann</name><uri>https://sourceforge.net/u/robwiss/</uri></author><id>https://sourceforge.net2c6432ae6349d21789fbf86c6f62acf9efccc79c</id><summary type="html">&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;</summary></entry><entry><title>bldcat should cleanup temp dir after each package is inspected</title><link href="https://sourceforge.net/p/pkgutil/bugs/24/" rel="alternate"/><published>2014-10-15T18:46:38.978000Z</published><updated>2014-10-15T18:46:38.978000Z</updated><author><name>Rob Wissmann</name><uri>https://sourceforge.net/u/robwiss/</uri></author><id>https://sourceforge.netf5db1baf4e0dff1b3be516f68ba40147c80123d3</id><summary type="html">&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;</summary></entry><entry><title>Support for 304 Not Modified</title><link href="https://sourceforge.net/p/pkgutil/bugs/23/" rel="alternate"/><published>2014-05-24T11:45:49.306000Z</published><updated>2014-05-24T11:45:49.306000Z</updated><author><name>Maciej Bliziński</name><uri>https://sourceforge.net/u/wahwah/</uri></author><id>https://sourceforge.net6d724b343f1387e805809c4cf8a774e006593b40</id><summary type="html">&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;</summary></entry><entry><title>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)
Owner updated: None =&gt; u'bonivart'</title><link href="https://sourceforge.net/p/pkgutil/bugs/22/" rel="alternate"/><published>2012-09-22T13:26:03.428000Z</published><updated>2012-09-22T13:26:03.428000Z</updated><author><name>Peter Bonivart</name><uri>https://sourceforge.net/u/bonivart/</uri></author><id>https://sourceforge.net68e4d23470f4c7268f8386ab575356fcabf9dda1</id><summary type="html">Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)
Owner updated: None =&gt; u'bonivart'</summary></entry><entry><title>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)</title><link href="https://sourceforge.net/p/pkgutil/bugs/22/" rel="alternate"/><published>2012-09-22T13:25:46.594000Z</published><updated>2012-09-22T13:25:46.594000Z</updated><author><name>Peter Bonivart</name><uri>https://sourceforge.net/u/bonivart/</uri></author><id>https://sourceforge.net405c06e6c28f72e078525d354168f75ecb6fc35f</id><summary type="html">Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)</summary></entry><entry><title>Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)
Status updated: u'open' =&gt; u'closed'</title><link href="https://sourceforge.net/p/pkgutil/bugs/22/" rel="alternate"/><published>2012-09-22T13:24:59.356000Z</published><updated>2012-09-22T13:24:59.356000Z</updated><author><name>Peter Bonivart</name><uri>https://sourceforge.net/u/bonivart/</uri></author><id>https://sourceforge.netd1fb2e45ac79c50b80a352a3016b2583a7a328df</id><summary type="html">Ticket 22 has been modified: ssh fails 
Edited By: Peter Bonivart (bonivart)
Status updated: u'open' =&gt; u'closed'</summary></entry><entry><title>#22 ssh fails </title><link href="https://sourceforge.net/p/pkgutil/bugs/_discuss/thread/8b576dab/" rel="alternate"/><published>2012-09-22T13:24:59.351000Z</published><updated>2012-09-22T13:24:59.351000Z</updated><author><name>Peter Bonivart</name><uri>https://sourceforge.net/u/bonivart/</uri></author><id>https://sourceforge.net168645c8b49d3ba0f99ea035361de437c6fcd8f5</id><summary type="html">- **status**: open --&gt; closed
- **milestone**:  --&gt; 
</summary></entry></feed>