[ckan-dev] "deleted package" activities in `recently_changed_packages_activity_list`

Nathan Perry nathan at salsadigital.com.au
Mon Apr 29 10:11:45 UTC 2019


Hello everyone,

For a previous project we utilised the
`/api/3/action/recently_changed_packages_activity_list` API endpoint to
identify "deleted package" activities on a secondary CKAN site and take an
appropriate action.

I'm now working on a CKAN 2.7.5 site and noticed today that after deleting
a dataset through the UI, no activity was reported in the
`recently_changed_packages_activity_list`.

Is this normal behaviour? Perhaps something has changed?

I've been hunting through the code to find where the activity is created
when deleting a package - closest I've gotten to at the moment is the
`activity_stream_item` method in `model/package.py`, but not sure if I'm on
the right track here.

Any help greatly appreciated.

Many thanks,
Nathan.

-- 




t  1300 727 952

w  salsadigital.com.au 
<http://www.salsadigital.com.au/>a  First Floor, 159 Victoria Parade, 
Collingwood, VIC 3066 
<https://www.google.com.au/maps/place/159+Victoria+Parade,+Collingwood+VIC+3066/@-37.8085564,144.9891282,18z/data=!4m7!1m4!3m3!1s0x6ad642e4280b6207:0x40f65548cb7dd6a5!2s159+Victoria+Parade,+Collingwood+VIC+3066!3b1!3m1!1s0x6ad642e4280b6207:0x40f65548cb7dd6a5> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190429/99de0f4f/attachment.html>


More information about the ckan-dev mailing list