<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://bugs.maemo.com/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Maemo.org Infrastructure/docs/scripts/VM repo/package-remove.php - Revision history</title>
		<link>http://bugs.maemo.com/index.php?title=Maemo.org_Infrastructure/docs/scripts/VM_repo/package-remove.php&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-7</generator>
		<lastBuildDate>Sun, 12 Apr 2026 01:54:54 GMT</lastBuildDate>
		<item>
			<title>shawnjefferson:&amp;#32;/* Basic Mechanics of the script: */</title>
			<link>http://bugs.maemo.com/index.php?title=Maemo.org_Infrastructure/docs/scripts/VM_repo/package-remove.php&amp;diff=52099&amp;oldid=prev</link>
			<guid>http://bugs.maemo.com/index.php?title=Maemo.org_Infrastructure/docs/scripts/VM_repo/package-remove.php&amp;diff=52099&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Basic Mechanics of the script:&lt;/span&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:44, 29 July 2013&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;- the script doesn't delete from extras-devel fremantle-1.3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;- the script doesn't delete from extras-devel fremantle-1.3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;- Packages seem to exist in extras-devel fremantle-1.3 that don't exist in fremantle (Packages file is different between the two-this may be due to the fact that removing a package from extras-devel removes it only from fremantle and not fremantle-1.3 as well.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;- Packages seem to exist in extras-devel fremantle-1.3 that don't exist in fremantle (Packages file is different between the two-this may be due to the fact that removing a package from extras-devel removes it only from fremantle and not fremantle-1.3 as well.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-12 01:54:55 --&gt;
&lt;/table&gt;</description>
			<pubDate>Mon, 29 Jul 2013 04:44:30 GMT</pubDate>			<dc:creator>shawnjefferson</dc:creator>			<comments>http://bugs.maemo.com/Talk:Maemo.org_Infrastructure/docs/scripts/VM_repo/package-remove.php</comments>		</item>
		<item>
			<title>shawnjefferson:&amp;#32;Created page with &quot;== Basic Mechanics of the script: ==   ''Usage: php package-remove.php fremantle extras-devel packagename version''   1. Connects to midgard to determine if the repository exists…&quot;</title>
			<link>http://bugs.maemo.com/index.php?title=Maemo.org_Infrastructure/docs/scripts/VM_repo/package-remove.php&amp;diff=52098&amp;oldid=prev</link>
			<guid>http://bugs.maemo.com/index.php?title=Maemo.org_Infrastructure/docs/scripts/VM_repo/package-remove.php&amp;diff=52098&amp;oldid=prev</guid>
			<description>&lt;p&gt;Created page with &amp;quot;== Basic Mechanics of the script: ==   &amp;#39;&amp;#39;Usage: php package-remove.php fremantle extras-devel packagename version&amp;#39;&amp;#39;   1. Connects to midgard to determine if the repository exists…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Basic Mechanics of the script: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Usage: php package-remove.php fremantle extras-devel packagename version''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Connects to midgard to determine if the repository exists, if not found in midgard, the scripts dies with &amp;quot;No repository found.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Queries midgard for the package information.&lt;br /&gt;
&lt;br /&gt;
3. Parses the Packages file to find the package and the version passed in on the command line.  Source, Maintainer and Filename are parsed for the package matched.  If the package and version is not found, the script dies with &amp;quot;File not found, not removing anything.&amp;quot;  This is slightly misleading, as the script hasn't attempted to look for the ''file'' yet, it's just parsing the Packages file.&lt;br /&gt;
&lt;br /&gt;
4. The script then deletes the package from the filesystem location extracted in step 3 above.  If the arguments passed in were &amp;quot;fremantle&amp;quot; and &amp;quot;extras&amp;quot;, the script also tries to delete from &amp;quot;fremantle-1.2&amp;quot; and &amp;quot;fremantle-1.3&amp;quot;.  Note that the script doesn't do any special handling for extras-devel fremantle-1.3 directory.&lt;br /&gt;
&lt;br /&gt;
5. If the third argument was passed, some additional handling of fremantle extras and extras-testing is done for free and non-free by calling the queue-manager script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Problems:'''&lt;br /&gt;
&lt;br /&gt;
- the script doesn't delete from extras-devel fremantle-1.3&lt;br /&gt;
- Packages seem to exist in extras-devel fremantle-1.3 that don't exist in fremantle (Packages file is different between the two-this may be due to the fact that removing a package from extras-devel removes it only from fremantle and not fremantle-1.3 as well.)&lt;/div&gt;</description>
			<pubDate>Mon, 29 Jul 2013 04:14:38 GMT</pubDate>			<dc:creator>shawnjefferson</dc:creator>			<comments>http://bugs.maemo.com/Talk:Maemo.org_Infrastructure/docs/scripts/VM_repo/package-remove.php</comments>		</item>
	</channel>
</rss>