Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify all forkers about the updates to the repo #148

Closed
monfresh opened this issue Apr 18, 2014 · 0 comments
Closed

Notify all forkers about the updates to the repo #148

monfresh opened this issue Apr 18, 2014 · 0 comments

Comments

@monfresh
Copy link
Member

This is a hack I've come up with to notify everyone who has forked this repo. The easiest way I could think of to notify everyone at once was to use the GitHub API to grab the usernames of everyone who forked the repo, and mention them here. Here's the code:

require 'rubygems'
require 'net/http'
require 'json'

url = "https://api.github.com/repos/codeforamerica/ohana-api/forks"

res = JSON.parse(Net::HTTP.get_response(URI.parse(url)).body)
forkers = res.map { |f| "@#{f["owner"]["login"]}" }

puts forkers

Hello dear forkers,

This repo, along with ohana-web-search, and ohana-api-admin, have all been updated to version 2.0.0. The main change on the API side is the move from MongoDB to Postgres, and an upgrade to Rails 4. What this means to you is having to install Postgres locally if you don't already have it, and making sure to read through the entire README carefully for setup instructions.

If you had previously written a script to populate your Mongo DB, you can still use that same script, but with just a few field name changes, which are covered in this Wiki: https://github.com/codeforamerica/ohana-api/wiki/Populating-the-Postgres-database-from-a-JSON-file

Please note that you will need to update all 3 repos because the old versions are not compatible with the new ones.

We'd love to get your feedback on this new setup to see if we missed anything in the instructions or the scripts.

Cheers,
Moncef

@sfbrigade
@agershuny
@niveditc
@jayventi
@merchantguru
@millereric
@fishmanadam
@openoakland
@whatasunnyday
@exafox
@friendlycode
@bamboocreative
@ignu
@molsches
@aplannersguide
@rpringle
@bparafina
@jden
@malachaifrazier
@cottonandcolor
@namrata-das

@monfresh monfresh closed this as completed Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant