Skip to content

whosonfirst/git-whosonfirst-data

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 

git-whosonfirst-data

Git related utilities for Who's On First Data

Important

This is still very much a work in progress. Depending on when you read these words the code included here might be wonky or even completely broken. It should work as of this writing but I bet you could find a way to make things get weird if you wanted to. Good times.

Install

install.sh /path/to/your/whosonfirst-data-repo

Git hooks

pre-commit

Validate and format documents before commiting them, updating the relevant placetype-specific meta files along the way.

post-commit

This is the part that will append the updated files (exported WOF documents and meta files) to the current commit. Because Git and because trying to find a clever-er solution to the problem began to grow yak-hair, like a Wookie. If someone knows a better way to do this please let us know.

Example

Please write me.

See also

About

Git related utilities for Who's On First Data

Resources

Stars

Watchers

Forks

Packages

No packages published