<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1076: Improve revision and package purge system</title>
    <link>http://localhost/ticket/1076</link>
    <description>&lt;h2 id="PurgingRevisions"&gt;Purging Revisions&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;Delete button displayed on:
&lt;ul&gt;&lt;li&gt;/revision/list
&lt;/li&gt;&lt;li&gt;&lt;del&gt;(/package/history)&lt;/del&gt;
&lt;ul&gt;&lt;li&gt;/package/history is problematic because html does not allow nested forms and we already have form for doing diff/comparison.
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;/revision/{id}
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Delete button submits to delete action on revision and changes revision state to 'deleted'.
&lt;ul&gt;&lt;li&gt;undelete button now displayed and revisions are marked as deleted in some way (e.g. greyed out?)
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Sysadmins then visit /ckan-admin/trash which lists all revisions with deleted state. There is a large button: "Empty trash" (irreversible). Click button purges all revisions with deleted state.
&lt;/li&gt;&lt;/ul&gt;&lt;h2 id="PurgingPackages"&gt;Purging Packages&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;Put into deleted state.
&lt;/li&gt;&lt;li&gt;Listed on /ckan-admin/trash
&lt;/li&gt;&lt;li&gt;Separate Empty trash button which deletes all associated revisions.
&lt;ul&gt;&lt;li&gt;Should be separate from Empty trash for revisions
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 id="Currentsystem"&gt;Current system&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;Single purge link on revision listing if a sysadmin which permanently purges the revision and all associated changes (without confirmation atm!)
&lt;/li&gt;&lt;/ul&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1076</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>sebbacon</dc:creator>

      <pubDate>Mon, 11 Apr 2011 09:54:34 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1076#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1076#comment:1</guid>
      <description>
        &lt;p&gt;
See also &lt;a class="ext-link" href="http://trac.ckan.org/ticket/948"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.ckan.org/ticket/948&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Wed, 13 Apr 2011 20:13:47 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1076#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1076#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1076?action=diff&amp;amp;version=2"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Wed, 13 Apr 2011 21:47:35 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1076#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1076#comment:3</guid>
      <description>
        &lt;p&gt;
All main work done as of cset:556efcb91f19 in branch feature-1076-improve-purge-system (+ associated work in ckanext-admin trash bin management). All that remains is to add some tests.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Tue, 19 Apr 2011 18:05:02 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1076#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1076#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Test of trash functionality in ckanext-admin in &lt;a class="ext-link" href="https://bitbucket.org/okfn/ckanext-admin/changeset/e86c102a3c60"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://bitbucket.org/okfn/ckanext-admin/changeset/e86c102a3c60&lt;/a&gt; so now closing (could do with some functional tests in the main interface but can leave for later -- were none before so situation no worse ;0 ).
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>