<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1609: Celery task for ckanext-archiver to write to webstore.</title>
    <link>http://localhost/ticket/1609</link>
    <description>&lt;p&gt;
From super Storage changes - &lt;a class="closed ticket" href="http://localhost/ticket/1574" title="enhancement: [super] Storage changes including automated save to Webstore (closed: fixed)"&gt;#1574&lt;/a&gt; - and &lt;a class="ext-link" href="http://ckan.okfnpad.org/newstorage"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://ckan.okfnpad.org/newstorage&lt;/a&gt; we determined that ckanext-archiver should have a celery task for grabbing local file uploads and writing to webstore
&lt;/p&gt;
&lt;h2 id="Analysis"&gt;Analysis&lt;/h2&gt;
&lt;p&gt;
When I upload a file to CKAN:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;End up with file in permanent storage
&lt;/li&gt;&lt;li&gt;IF file is ot type ... csv,xls,xlsx,sqlite,.sql
&lt;ul&gt;&lt;li&gt;End up with new db in webstore
&lt;ul&gt;&lt;li&gt;Where? {username}/{resource-id}/...
&lt;ul&gt;&lt;li&gt;If a single table: name it after the file name (appropriately slugified)
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;A resource *always* corresponds to a 'database' in webstore ...
&lt;/li&gt;&lt;li&gt;In Data Explorer have "Sheets" tab ...
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Resource url = /dataset/{x}/resource/{y}/link -&amp;gt; cached_url ...
&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/1609</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>ross</dc:creator>

      <pubDate>Tue, 03 Jan 2012 10:35:17 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1609#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1609#comment:1</guid>
      <description>
        &lt;p&gt;
from the pad:
&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;
What happens when I upload a CSV?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;&lt;li&gt;End up with file in permanent storage
&lt;/li&gt;&lt;li&gt;IF file is of type ... csv,xls,xlsx,sqlite,.sql
&lt;ul&gt;&lt;li&gt;End up with new db in webstore
&lt;ul&gt;&lt;li&gt;Where? {username}/{resource-id}/...
&lt;ul&gt;&lt;li&gt;If a single table: name it after the file name (appropriately slugified)
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;A resource *always* corresponds to a 'database' in webstore ...
&lt;/li&gt;&lt;li&gt;In Data Explorer have "Sheets" tab ...
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Resource url = /dataset/{x}/resource/{y}/link -&amp;gt; cached_url ...
&lt;/li&gt;&lt;li&gt;Move uploaded file into permanent storage
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Thu, 05 Jan 2012 14:33:17 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1609#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1609#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1609?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>Thu, 05 Jan 2012 14:34:58 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1609#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1609#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1609?action=diff&amp;amp;version=3"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Move analysis into main body of ticket.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>kindly</dc:creator>

      <pubDate>Thu, 12 Jan 2012 18:27:26 GMT</pubDate>
      <title>keywords changed; milestone set</title>
      <link>http://localhost/ticket/1609#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1609#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;keywords&lt;/strong&gt;
              &lt;em&gt;5d&lt;/em&gt; added
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                set to &lt;em&gt;current-ckan-sprint-2012-01-23&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Wed, 18 Jan 2012 16:49:10 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1609#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/1609#comment:5</guid>
      <description>
        &lt;p&gt;
Any comment on how this related to &lt;a class="closed ticket" href="http://localhost/ticket/1398" title="enhancement: Automated conversion of resource data into webstore (closed: fixed)"&gt;#1398&lt;/a&gt; - Automated conversion of resource data into webstore.
&lt;/p&gt;
&lt;p&gt;
They seem to be exact duplicate -- but obviously &lt;a class="closed ticket" href="http://localhost/ticket/1398" title="enhancement: Automated conversion of resource data into webstore (closed: fixed)"&gt;#1398&lt;/a&gt; was done and this wasn't.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ross</dc:creator>

      <pubDate>Fri, 20 Jan 2012 10:57:10 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1609#comment:6</link>
      <guid isPermaLink="false">http://localhost/ticket/1609#comment:6</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;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>