ckanext-dgu | CKAN extension for data.gov.uk
kandi X-RAY | ckanext-dgu Summary
kandi X-RAY | ckanext-dgu Summary
CKAN extension for data.gov.uk
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the database
- Fetches the list of authorities from the WDTK
- Tries to guess the publisher publisher
- Close the dataset and resource file
- Run the report
- Run the report
- Return a list of all datasets in a given bounding box
- Update the publisher info table
- Generate the Openness scores for each publisher
- Return the openness score for a given publisher
- Generator for all sub - organizations of the organization
- Execute the scraper
- Return all resources with a scraper url
- Execute the command
- Return a dict of format dicts
- Returns the formatted representation of the process
- Returns a dictionary of format dictionaries
- Show a user
- Find the admins of a group
- Try to suggest tags for a given package
- Count the number of resources in a given publisher
- Execute ckan command
- Remember the identity of the user
- Add an external publisher
- Dump all installed packages
- Add a value
ckanext-dgu Key Features
ckanext-dgu Examples and Code Snippets
Community Discussions
Trending Discussions on ckanext-dgu
QUESTION
So, yeah, the form is saying:
Please contact the system administrator to change your publisher name
and I'm the system administrator for the project and I don't know what the hell am I doing. :)
I can change the name of the publisher but not the URL. I guess this also changes some URL in the dataset? Do I need to do the change with API or there is some GUI?
BTW. I'm using DGU package.
...ANSWER
Answered 2017-Apr-05 at 09:51You should ssh to your server and run commands like this to change the name, and optionally the title too with the -t:
QUESTION
I'm using dgu-vagrant-puppet and inside the system, when I log in and changed my email, things aren't in sync and probably I need to execute something to sync Drupal and CKAN.
Inside my file
...ANSWER
Answered 2017-Mar-17 at 16:54Yeah there is a bit of lag between the email being changed in Drupal and it being synced to CKAN. It is done when the user clicks on a CKAN page and the Drupal cookie/session is refreshed. This cookie refresh is after a login or when Drupal has refreshed the user session cookie, which if memory serves right is every 30 minutes.
The code that writes the change to CKAN is here:
If you wanted, you could write a script to sync all users in one go, based on that code, calling DrupalClient to get the user details and writing them to the CKAN user.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ckanext-dgu
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page