[ckan-dev] Hiding groups on CKAN sites

Toby Dacre toby.okfn at gmail.com
Fri Apr 19 10:13:00 UTC 2013


On 19 April 2013 09:29, Sean Hammond <sean.hammond at okfn.org> wrote:

> > > I'd be happy if the package -> dataset rename was a little further
> along.
> > >
> > > In the API if dataset_show, _create, _update existed and were aliases
> > > for package_*, wouldn't there be no more "packages" for end users to
> > > care about?
> > >
> > >
> > This is definitely a good plan we should keep both for a while but these
> > really should be dataset_*
>
> Great idea.
>
> There would still be a lot of place where "package" leaks out to anyone
> using the API, or writing an extension or theme, unfortunately. Perhaps
> they could all be fixed with this same strategy but there's a lot of
> them and it might become quite a project when you start to think about
> the tests.
>
>
I've created an issue for this https://github.com/okfn/ckan/issues/786

We need to keep backward compatible but we should allow
`get_action('dataset_show')` to be used - this would feed through to the
`/api/action/dataset_show` the rest functions maybe more of a pain but we
can at least make this transition begin in 2.1


_______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130419/bd893cdf/attachment-0001.html>


More information about the ckan-dev mailing list