Ticket #1096 (new defect)

Opened 3 years ago

Last modified 23 months ago

[super] CKAN Hosted

Reported by: pudo Owned by: rufuspollock
Priority: awaiting triage Milestone: ckan-future
Component: ckan Keywords: deployment
Cc: Repository: ckan
Theme: entities

Description (last modified by pudo) (diff)

Many users of CKAN want to have their own instance without much effort. Setting these up in separate places is a maintenance nightmare, we should much rather have some tenant separation in core CKAN. Some ideas:

  • introduce model.Site and c.site
    • site has: custom CSS, extra_template_path, title, languages list, package_form, group_form (all configured via web UI)
  • Subdomain detector to activate sites.
  • use site in Authorizer instead of System, have a NullSite? for global things
  • allow cross-site search
  • packages are in a list of sites, m:n rather than 1:n
    • list of sites is string-based, can contain sites not in site table to express harvested external material which is not editable locally.

Change History

comment:1 Changed 3 years ago by pudo

  • Description modified (diff)

comment:2 Changed 3 years ago by nils.toedtmann

comment:3 Changed 3 years ago by thejimmyg

  • Summary changed from Introduce Site domain object for subdomain tenants to CKAN Hosted

Renaming to CKAN Hosted because whether we introduce a site domain object for subdomain tenants or not is an implementation detail.

As far as progress on CKAN hosted goes, we now have:

  • A build tool to package ckanext-dgu, ckanext-std etc into .deb files
  • The ability to apt-get install CKAN
  • A script that can set up multiple non-conflicting CKAN instances on the same machine

What we need next is the ability to generate a ckanext-xxx repository for each new instance we want to host. At that point most of the underlying techniques for hosting multiple CKAN instances concurrently will be in place. Once we have that working and know what clients want, we can look at going further and speccing up a multisite solution off a single DB, rather than the multi-instance solution proposed here.

comment:4 Changed 3 years ago by thejimmyg

  • Summary changed from CKAN Hosted to [super] CKAN Hosted
  • Milestone changed from ckan-backlog to ckan-v-future

comment:5 Changed 3 years ago by thejimmyg

  • Milestone ckan-v-future deleted

Milestone ckan-v-future deleted

comment:6 Changed 3 years ago by thejimmyg

  • Milestone set to ckan-future

comment:7 Changed 23 months ago by seanh

  • Keywords deployment added
Note: See TracTickets for help on using tickets.