Skip to content

Why and How to fork LODSPeaKr

timrdf edited this page Mar 11, 2012 · 23 revisions

If you want to develop LODSPeaKr model queries and view templates for a particular data source or application, you may also want to version control and share them. By forking LODSPeaKr, you can continue to get updates from Alvaro's original LODSPeaKr while maintaining and sharing your model and view additions. This page lists the steps you should take to make a fork of LODSPeaKr.

LODSPeaKr forks

Example

Step 1: Create a new repos at github.com

Step 2: Set up on your local repository:

  
  mkdir csv2rdf4lod-lodspeakr
  cd csv2rdf4lod-lodspeakr
  git init

# These three are different from what github tells you to do
git remote add alvaro git://github.com/alangrafu/lodspeakr.git
git fetch alvaro
git merge alvaro/master

  git remote add origin [email protected]:timrdf/csv2rdf4lod-lodspeakr.git
  git push -u origin master

Step 3: Change the github URL in utils/install (e.g. install) from git://github.com/alangrafu/lodspeakr.git to your own (e.g. git://github.com/timrdf/csv2rdf4lod-lodspeakr.git).

 Step 3.b [Change the github URL](https://github.com/timrdf/csv2rdf4lod-lodspeakr/commit/b0b29a7f06eff6dedd3da86de9524df50ebf320b) in `utils/install-dev` (e.g. [install](https://github.com/timrdf/csv2rdf4lod-lodspeakr/blob/master/utils/install-dev)) from `[email protected]:alangrafu/lodspeakr.git` to your own (e.g. `[email protected]:timrdf/csv2rdf4lod-lodspeakr.git`). This will let you clone a read-write copy.

Step 4: Make a purl for your install script (e.g. http://purl.org/twc/projects/csv2rdf4lod-lodspeakr/install -> https://raw.github.com/timrdf/csv2rdf4lod-lodspeakr/master/utils/install and http://purl.org/twc/projects/csv2rdf4lod-lodspeakr/install-dev -> `https://raw.github.com/timrdf/csv2rdf4lod-lodspeakr/master/utils/install-dev)

Step 5: Change the purl in README

Clone this wiki locally