[ckan-dev] Rollback when resource creation fails
    Martin Burchell 
    martinb-ckan at aptivate.org
       
    Wed Apr  6 13:27:18 UTC 2016
    
    
  
On 06/04/16 13:16, Hendrik Bunke wrote:
> You can purge the trash via API, see here:
> http://stackoverflow.com/questions/30153596/delete-and-purge-a-package-in-ckan-using-api
Thanks. I'll take a look but it may be that we want something a bit more 
elegant than that.
> Will you publish the plugin? We'd be quite interested in that :-)
It's specific to a particular customer's requirements but the code is 
open source: <https://github.com/aptivate/ckanext-mapactionimporter>
<https://github.com/ckan/ckanext-datapackager> is more generic and does 
something similar to what we are trying to achieve.
Best regards,
-- 
Martin Burchell
    
    
More information about the ckan-dev
mailing list