Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pkg backwards compatible or fail well with older CKAN instance versions #72

Open
sckott opened this issue Mar 17, 2016 · 2 comments
Milestone

Comments

@sckott
Copy link
Contributor

sckott commented Mar 17, 2016

via https://discuss.ropensci.org/t/new-package-ckanr/251/5

@sckott sckott self-assigned this Mar 17, 2016
@sckott
Copy link
Contributor Author

sckott commented Mar 17, 2016

  • adding new function ckan_version() to get the version for the server, then we can act accordingly
  • may need to have an internal pkg environment to cache server version though b/c would suck to have to make the http request to get server version before every function call a user makes - then we can just look up the server version if it's already been called that session

@sckott
Copy link
Contributor Author

sckott commented Mar 18, 2016

things to catch:

  • v2.5.1 - package_purge API action added
  • v2.3 - New package_patch action
  • v2.2
    • offset and limit params added to package_list action
    • The ckan.api_url configuration option has been completely removed and it can no longer be used
  • v2.0
    • The Action API is now CKAN's default API, and the API documentation has been rewritten
  • v - ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants