Ian Ward
Ian Ward
is the progress bar compatible with LocalCKAN (or ckanapi -c)? If not the switch should be moved together with the `--insecure` flag in the CLI which is only available when...
Would be nice to have a test for this functionality as well.
feels like this should be set on the RemoteCKAN init and not mixed in with action parameters.
The code you've posted is suspicious. Are you really using a bare "except" and letting it fall through to the code that updates the resource?
The -1 might be related to an old performance hack. try passing the value returned to dict() and see if it looks like the right value. You're not showing me...
`dict(dataset)` only creates a new object and discards it. I meant you could use `print dict(dataset)` if you're seeing a -1 where you think you shouldn't be. What is the...
I've just tried your script against ckan release-v2.5.2 commit id 919201e886fa95c8f26b9d970cb9ef7bbb916ca9 and it's working for me. What's the exact version of ckan you're running? Your script creates the dataset, uploads...
Also, which version of ckanapi?
It should be possible to add this sort of logic to a custom harvester, right? Also, sites using ckanext-scheming will advertise the schemas they have installed through actions `scheming_dataset_schema_list` and...
fixed in latest ckan (admins can set package ids now) but we should probably have a workaround for older ckan versions, or for people wanting to load without being an...