From bed9ae9b1b85bb4f13a59b360b04a549e70ab2ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Tue, 5 Aug 2014 12:04:33 +0200
Subject: Add a contributing section to the README and simplify package
 addition

---
 Makefile        |  6 +++++-
 README.md       | 16 ++++++++++++++++
 packages.v1.tsv | 11 +++++------
 packages.v1.txt | 11 +++++------
 4 files changed, 31 insertions(+), 13 deletions(-)

diff --git a/Makefile b/Makefile
index 7d6d977..d7bb08d 100644
--- a/Makefile
+++ b/Makefile
@@ -19,5 +19,9 @@ ERLANG_MK = erlang.mk
 
 .PHONY: all
 
-all:
+all: pkg
 	awk 'FNR==1 && NR!=1{print ""}1' $(patsubst %,%.mk,$(BUILD_CONFIG)) > $(ERLANG_MK)
+
+pkg:
+	cat packages.v2.tsv | awk 'BEGIN { FS = "\t" }; { print $$1 "\t" $$3 "\t" $$5 "\t" $$6 }' > packages.v1.tsv
+	cp packages.v1.tsv packages.v1.txt
diff --git a/README.md b/README.md
index 2a496d5..c3e4e93 100644
--- a/README.md
+++ b/README.md
@@ -322,6 +322,22 @@ You can change the generated releases location by setting
 the `RELX_OUTPUT_DIR` variable. Any other option should go
 in the `RELX_OPTS` variable.
 
+Contributing
+------------
+
+You can contribute by providing feedback, creating patches,
+adding packages to the index or new features as plugins.
+
+For packages, you only need to edit the `packages.v2.tsv`
+file, adding your package (they are sorted alphabetically),
+and then running `make` to update the older files kept for
+compatibility reasons.
+
+For patches or plugins, you have to edit the `core/*.mk`
+or `plugins/*.mk` files and then run `make` to create an
+updated `erlang.mk`. If you submit a new plugin, you also
+need to add it to the `build.config` file.
+
 Support
 -------
 
diff --git a/packages.v1.tsv b/packages.v1.tsv
index 2192c5a..eaea570 100644
--- a/packages.v1.tsv
+++ b/packages.v1.tsv
@@ -1,14 +1,13 @@
 bullet	https://github.com/extend/bullet	http://ninenines.eu	Simple, reliable, efficient streaming for Cowboy.
-cowboy	https://github.com/extend/cowboy	http://ninenines.eu	Small, fast and modular HTTP server.
-cowlib	https://github.com/extend/cowlib	http://ninenines.eu	Support library for manipulating Web protocols.
+cowboy	https://github.com/ninenines/cowboy	http://ninenines.eu	Small, fast and modular HTTP server.
+cowlib	https://github.com/ninenines/cowlib	http://ninenines.eu	Support library for manipulating Web protocols.
+eper	https://github.com/massemanet/eper	https://github.com/massemanet/eper	Erlang performance and debugging tools.
+epgsql	https://github.com/epgsql/epgsql	https://github.com/epgsql/epgsql	Erlang PostgreSQL client library.
 erlydtl	https://github.com/erlydtl/erlydtl	https://github.com/erlydtl/erlydtl	Django Template Language for Erlang.
-eper	https://github.com/massemanet/eper	https://github.com/massemanet/eper	Erlang Performance and debugging tools.
-farwest_core	https://github.com/extend/farwest_core	http//ninenines.eu	Modern web application development platform.
-farwest_ui	https://github.com/extend/farwest_ui	http://ninenines.eu	Development and administration UI for Farwest.
 gun	https://github.com/extend/gun	http//ninenines.eu	Asynchronous SPDY, HTTP and Websocket client written in Erlang.
 jsx	https://github.com/talentdeficit/jsx	https://github.com/talentdeficit/jsx	An Erlang application for consuming, producing and manipulating JSON.
 neo4j	https://github.com/dmitriid/neo4j-erlang	https://github.com/dmitriid/neo4j-erlang	Erlang client library for Neo4J.
 pegjs	https://github.com/dmitriid/pegjs	https://github.com/dmitriid/pegjs	An implementation of PEG.js grammar for Erlang.
 proper	https://github.com/manopapad/proper	http://proper.softlab.ntua.gr	PropEr: a QuickCheck-inspired property-based testing tool for Erlang.
-ranch	https://github.com/extend/ranch	http://ninenines.eu	Socket acceptor pool for TCP protocols.
+ranch	https://github.com/ninenines/ranch	http://ninenines.eu	Socket acceptor pool for TCP protocols.
 sheriff	https://github.com/extend/sheriff	http://ninenines.eu	Parse transform for type based validation.
diff --git a/packages.v1.txt b/packages.v1.txt
index 2192c5a..eaea570 100644
--- a/packages.v1.txt
+++ b/packages.v1.txt
@@ -1,14 +1,13 @@
 bullet	https://github.com/extend/bullet	http://ninenines.eu	Simple, reliable, efficient streaming for Cowboy.
-cowboy	https://github.com/extend/cowboy	http://ninenines.eu	Small, fast and modular HTTP server.
-cowlib	https://github.com/extend/cowlib	http://ninenines.eu	Support library for manipulating Web protocols.
+cowboy	https://github.com/ninenines/cowboy	http://ninenines.eu	Small, fast and modular HTTP server.
+cowlib	https://github.com/ninenines/cowlib	http://ninenines.eu	Support library for manipulating Web protocols.
+eper	https://github.com/massemanet/eper	https://github.com/massemanet/eper	Erlang performance and debugging tools.
+epgsql	https://github.com/epgsql/epgsql	https://github.com/epgsql/epgsql	Erlang PostgreSQL client library.
 erlydtl	https://github.com/erlydtl/erlydtl	https://github.com/erlydtl/erlydtl	Django Template Language for Erlang.
-eper	https://github.com/massemanet/eper	https://github.com/massemanet/eper	Erlang Performance and debugging tools.
-farwest_core	https://github.com/extend/farwest_core	http//ninenines.eu	Modern web application development platform.
-farwest_ui	https://github.com/extend/farwest_ui	http://ninenines.eu	Development and administration UI for Farwest.
 gun	https://github.com/extend/gun	http//ninenines.eu	Asynchronous SPDY, HTTP and Websocket client written in Erlang.
 jsx	https://github.com/talentdeficit/jsx	https://github.com/talentdeficit/jsx	An Erlang application for consuming, producing and manipulating JSON.
 neo4j	https://github.com/dmitriid/neo4j-erlang	https://github.com/dmitriid/neo4j-erlang	Erlang client library for Neo4J.
 pegjs	https://github.com/dmitriid/pegjs	https://github.com/dmitriid/pegjs	An implementation of PEG.js grammar for Erlang.
 proper	https://github.com/manopapad/proper	http://proper.softlab.ntua.gr	PropEr: a QuickCheck-inspired property-based testing tool for Erlang.
-ranch	https://github.com/extend/ranch	http://ninenines.eu	Socket acceptor pool for TCP protocols.
+ranch	https://github.com/ninenines/ranch	http://ninenines.eu	Socket acceptor pool for TCP protocols.
 sheriff	https://github.com/extend/sheriff	http://ninenines.eu	Parse transform for type based validation.
-- 
cgit v1.2.3