https://github.com/neo4jrb/github-neo4j-community
Script to import data from the Neo4j community on GitHub
https://github.com/neo4jrb/github-neo4j-community
Last synced: about 2 months ago
JSON representation
Script to import data from the Neo4j community on GitHub
- Host: GitHub
- URL: https://github.com/neo4jrb/github-neo4j-community
- Owner: neo4jrb
- Created: 2015-02-20T12:37:52.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T14:25:08.000Z (about 10 years ago)
- Last Synced: 2025-01-12T09:29:07.656Z (3 months ago)
- Language: Ruby
- Size: 137 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-neo4j-community
Script to import data from the Neo4j community on GitHub
Does a search for `neo4j` in GitHub and imports all repositories. For each repository it:
* Recursively imports forks
* Imports issues
* Imports comments for issues
* Imports comments on commitsBecause it uses the `neo4apis-github` gem, associated users are imported for repositories, issues, and comments. Also, a second pass is made to make a query for every user to get all data for each user.
`ActiveSupport::Cache::FileStore` is used to store a cache of all requests in a directory so that if the script fails it can pick up where it left off.
## How to run
GITHUB_TOKEN= NEO4J_URL= bundle exec ruby run.rb