[ 
https://issues.apache.org/jira/browse/COUCHDB-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868252#comment-15868252
 ] 

Paul Joseph Davis commented on COUCHDB-3300:
--------------------------------------------

Also, here's the script to generate the merged repository:

https://gist.github.com/davisp/99d1ac0516e0a0d02104b123e79ff6a0

With this and the patches listed above I got everything compiled and a dev 
cluster running. If someone wants to check that work that'd be nice.

Also I went to push a COUCHDB-3300-merge-repos branch on couchdb.git but it 
failed after writing a whole bunch of stuff. So we may have to talk to infra 
about that. I also realized after it was writing that that may generate 
thousands of notifications since we're adding a whole bunch of commits at once.

{code}
#!/bin/bash -e

rm -rf couchdb
git clone https://github.com/apache/couchdb.git
cd couchdb
echo ""


add_subtree () {
    name=$1
    if [ -z "$2" ]; then
        path=`echo $1 | sed -e 's/-/_/g'`
    else
        path=$2
    fi

    echo "Adding couchdb-$name.git as src/$path"
    git subtree add -P src/$path https://github.com/apache/couchdb-$name.git 
master
    echo ""
}


add_subtree "chttpd"
add_subtree "couch"
add_subtree "couch-epi"
add_subtree "couch-event"
add_subtree "couch-index"
add_subtree "couch-log"
add_subtree "couch-mrview"
add_subtree "peruser" "couch_peruser"
add_subtree "couch-plugins"
add_subtree "couch-replicator"
add_subtree "couch-stats"
add_subtree "erlang-tests" "couch_tests"
add_subtree "ddoc-cache"
add_subtree "fabric"
add_subtree "global-changes"
add_subtree "mango"
add_subtree "mem3"
add_subtree "rexi"
{code}

> Merge all apps that can't be used externally
> --------------------------------------------
>
>                 Key: COUCHDB-3300
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3300
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Paul Joseph Davis
>
> Managing a whole bunch of repos isn't fun. Most of our repos aren't really 
> useful outside of CouchDB so we're looking to merge them into the main 
> repository while still leaving our generally useful apps as standalone 
> repositories. Here's the current list of how we're categorizing repos:
> *monorepo*
> chttpd
> couch
> couch_epi
> couch_event
> couch_index
> couch_log
> couch_mrview
> couch_peruser
> couch_plugins
> couch_replicator
> couch_stats
> couch_tests
> ddoc_cache
> fabric
> global_changes
> mango
> mem3
> rexi
> *independent life cycle*
> fauxton
> docs
> setup
> *deprecated*
> oauth
> *standalone*
> config
> ets_lru
> khash
> b64url
> snappy
> ioq
> *third-party*
> jiffy
> rebar
> bear
> folsom
> meck
> mochiweb
> ibrowse



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to