Closed KrzysztofMadejski closed 7 years ago
For @TkTech I've introduced ckanext-archiver.archive_cloud
which defaults to False. That means files uploaded to the platform on cloud storage won't be archived, and won't be qa'ed.
@davidread this PR is ready to be merged as well. Please check the doubts I have in the first comment.
I'm a bit hazy on resource_type / url_type, so I'll just put it down to a DGU-ism.
See discussion here https://github.com/ckan/ckanext-archiver/issues/36
I'm just not sure about changing
resource.get('resource_type') == 'file.upload'
toresource.get('url_type') == 'upload'
(https://github.com/DanePubliczneGovPl/ckanext-archiver/commit/9670599ca10fe63f173f2751d67c197ca93a8034#diff-42bd54af067bfafc2cbbae21d83af4b8R389)It works on mine CKAN 2.3. I believe
resource_type
can be use freely. Why depend on that?