Extension GitHub Repo Preview


Extension Basics

Title
GitHub Repo Preview
Name
ckanext-githubrepopreview
Type
Public extension
Description
Preview GitHub repository resources directly in CKAN
CKAN versions
Download-Url (zip)
Download-Url commit date
2016-09-27
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

The githubrepopreview extension provides a plugin for previewing GitHub repository resources within CKAN. When creating or editing a resource via the UI, users can check the ‘GitHub Repository’ checkbox to enable this view. Alternatively, the ‘github_repository’ extras field of the resource can be set to ‘True’ via the CKAN API to make the view available. This allows CKAN users to browse and preview GitHub repository contents without leaving the CKAN interface.

Version
0.0.1
Version release date
2016-09-27
Contact name
Greg von Nessi
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Installation: 1. Activate CKAN python environment 2. Install from GitHub: pip install -e git+https://github.com/DataShades/ckanext-githubrepopreview.git#egg=ckanext-githubrepopreview

Add to ckan.plugins: ckan.plugins = githubrepo_view

Usage: When creating/editing a resource via the UI: - Check the ‘GitHub Repository’ checkbox to enable this view

Alternatively, via CKAN API: - Set the ‘github_repository’ extras field of the resource to ‘True’

This makes the GitHub repository preview view available for that resource.

Plugins to configure (ckan.ini)
githubrepo_view
CKAN Settings (ckan.ini)
(not set)
DB migration to be executed
(not set)
<< back to Extensions