<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Python-RPM</title>
	<atom:link href="http://www.sharms.org/blog/2009/05/python-rpm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharms.org/blog/2009/05/python-rpm/</link>
	<description>Life, Linux and Technology</description>
	<lastBuildDate>Thu, 26 Jan 2012 02:40:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: puzzled</title>
		<link>http://www.sharms.org/blog/2009/05/python-rpm/comment-page-1/#comment-1171</link>
		<dc:creator>puzzled</dc:creator>
		<pubDate>Thu, 03 Dec 2009 19:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharms.org/blog/?p=444#comment-1171</guid>
		<description>If you&#039;re going to publish helpful code for people to use, it might be worth doing so in a way that people can readily extract it. You posted a screenshot FFS!</description>
		<content:encoded><![CDATA[<p>If you&#8217;re going to publish helpful code for people to use, it might be worth doing so in a way that people can readily extract it. You posted a screenshot FFS!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Sundaram</title>
		<link>http://www.sharms.org/blog/2009/05/python-rpm/comment-page-1/#comment-1170</link>
		<dc:creator>Rahul Sundaram</dc:creator>
		<pubDate>Sat, 23 May 2009 22:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharms.org/blog/?p=444#comment-1170</guid>
		<description>Shams,

The createrepo in Fedora 11 actually can generate deltarpms. Feel free to take a look.  The developer who wrote the originally bindings is no longer with Red Hat and yes, there is a lack of good documentation in there but yum source code is a valuable starting point. There is a effort to rewrite the python bindings for RPM as well

Direct your questions to

http://lists.rpm.org/pipermail/rpm-python/</description>
		<content:encoded><![CDATA[<p>Shams,</p>
<p>The createrepo in Fedora 11 actually can generate deltarpms. Feel free to take a look.  The developer who wrote the originally bindings is no longer with Red Hat and yes, there is a lack of good documentation in there but yum source code is a valuable starting point. There is a effort to rewrite the python bindings for RPM as well</p>
<p>Direct your questions to</p>
<p><a href="http://lists.rpm.org/pipermail/rpm-python/" rel="nofollow">http://lists.rpm.org/pipermail/rpm-python/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharms</title>
		<link>http://www.sharms.org/blog/2009/05/python-rpm/comment-page-1/#comment-1169</link>
		<dc:creator>sharms</dc:creator>
		<pubDate>Sat, 23 May 2009 16:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharms.org/blog/?p=444#comment-1169</guid>
		<description>Dennis - yeah the problem is createrepo doesn&#039;t deal with SUSE patch / delta rpms, there is a separate tool needed to generate that data, so thats when I went to grab python-rpm and try and solve it.</description>
		<content:encoded><![CDATA[<p>Dennis &#8211; yeah the problem is createrepo doesn&#8217;t deal with SUSE patch / delta rpms, there is a separate tool needed to generate that data, so thats when I went to grab python-rpm and try and solve it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://www.sharms.org/blog/2009/05/python-rpm/comment-page-1/#comment-1168</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Sat, 23 May 2009 15:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharms.org/blog/?p=444#comment-1168</guid>
		<description>The &#039;createrepo&#039; application also deals with rpms. Especially the older versions in debian/ubuntu are good sources for learning to use this horrible thing :)</description>
		<content:encoded><![CDATA[<p>The &#8216;createrepo&#8217; application also deals with rpms. Especially the older versions in debian/ubuntu are good sources for learning to use this horrible thing <img src='http://www.sharms.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nixternal</title>
		<link>http://www.sharms.org/blog/2009/05/python-rpm/comment-page-1/#comment-1167</link>
		<dc:creator>nixternal</dc:creator>
		<pubDate>Fri, 22 May 2009 06:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharms.org/blog/?p=444#comment-1167</guid>
		<description>I had a bunch of really great RPM tools I created in Python for my last job. They are all GPLv3, but that company has refused to release them in their open source releases. I am going to push them and grab our common lawyer to force them. The good thing is, I put all of the code copyrighted to me and not them, so if there is stuff that is missing or they deleted I will shit a brick. If I can get them, I will publish them. I used a lot of them for a custom distro (CentOS) that we used and created all of the tools and features that ubuntuwire.com has for the custom distro. Python RPM is a pita. I wrote docs for it as well and I will try to get all of that too. Thanks for reminding me :)</description>
		<content:encoded><![CDATA[<p>I had a bunch of really great RPM tools I created in Python for my last job. They are all GPLv3, but that company has refused to release them in their open source releases. I am going to push them and grab our common lawyer to force them. The good thing is, I put all of the code copyrighted to me and not them, so if there is stuff that is missing or they deleted I will shit a brick. If I can get them, I will publish them. I used a lot of them for a custom distro (CentOS) that we used and created all of the tools and features that ubuntuwire.com has for the custom distro. Python RPM is a pita. I wrote docs for it as well and I will try to get all of that too. Thanks for reminding me <img src='http://www.sharms.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharms</title>
		<link>http://www.sharms.org/blog/2009/05/python-rpm/comment-page-1/#comment-1166</link>
		<dc:creator>sharms</dc:creator>
		<pubDate>Fri, 22 May 2009 00:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharms.org/blog/?p=444#comment-1166</guid>
		<description>The point is someone has to read that code and use it, so you might as well name it so it can be picked up more intuitively.  The name matters as this was showing how to actually use the python-rpm.  I am trying to phrase this in a decent way, maybe in summary it was for illustrative purposes of what the dictionary was actually containing.

The fdno was cut and pasted straight from the powerpoint that I linked to, and in no way reflects a finished or released library function, just shows usage.</description>
		<content:encoded><![CDATA[<p>The point is someone has to read that code and use it, so you might as well name it so it can be picked up more intuitively.  The name matters as this was showing how to actually use the python-rpm.  I am trying to phrase this in a decent way, maybe in summary it was for illustrative purposes of what the dictionary was actually containing.</p>
<p>The fdno was cut and pasted straight from the powerpoint that I linked to, and in no way reflects a finished or released library function, just shows usage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefano F. (tacone)</title>
		<link>http://www.sharms.org/blog/2009/05/python-rpm/comment-page-1/#comment-1165</link>
		<dc:creator>Stefano F. (tacone)</dc:creator>
		<pubDate>Thu, 21 May 2009 21:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharms.org/blog/?p=444#comment-1165</guid>
		<description>not tested, by the way:
def getRPMInformation (rpmPath):
  long_variable_name = rpm.ts();
  try:
    file_descriptor_number = os.open(rpmPath, os.O_RDONLY)
    rpmInfo = long_variable_name.hdrFromFdno(file_descriptor_number);
    os.close(file_descriptor_number)
  except:
    return False
  return rpmInfo

I don&#039;t get the point of your post. I don&#039;t also get the name of returning a var with one name or another, since the name itself doesn&#039;t get returned.</description>
		<content:encoded><![CDATA[<p>not tested, by the way:<br />
def getRPMInformation (rpmPath):<br />
  long_variable_name = rpm.ts();<br />
  try:<br />
    file_descriptor_number = os.open(rpmPath, os.O_RDONLY)<br />
    rpmInfo = long_variable_name.hdrFromFdno(file_descriptor_number);<br />
    os.close(file_descriptor_number)<br />
  except:<br />
    return False<br />
  return rpmInfo</p>
<p>I don&#8217;t get the point of your post. I don&#8217;t also get the name of returning a var with one name or another, since the name itself doesn&#8217;t get returned.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

