This module will pull Backdrop CMS project data from Github into your local site.
Currently, it works in two steps:
1) You will fetch data from Github in 1 of 3 batches. The data is stored in a CSV file on the server. 2) You will import data from CSV file using feeds.
This module is a result of the discussion started here: https://github.com/backdrop-ops/backdropcms.org/issues/870
And this module is very much inspired by the sample conde snippet provided by @BWPanda in that thread.
This modules is still very much in development. We welcome feedback and suggestions and Pull Requests.
This module is somewhat a proof a concept and sandbox for possible features on BackdropCMS.org and/or another third party module info site.
The Github API has pretty strong limits to how many requests you can make per hour unless you are working with a personal access token.
-
This is still in development, but it does work.
Instructions:
1) Enable the module 2) Add Github User Name and Token here: admin/config/services/projects/settings 3) Use one of these three triggers to download data from Github
public://project-list.csv
http://project-feed.lndo.site/admin/config/services/projects/settings/pull_projects_1
This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.