egroupware/.mrconfig

111 lines
5.3 KiB
Plaintext
Raw Normal View History

# Installing EGroupware dependencies
# - install myrepo utility (https://myrepos.branchable.com/)
# - to install or update run inside EGroupware dir: mr up
# - alternativly you can also run the commands manually
[DEFAULT]
git_update = git stash -q || true ; git pull --rebase ; git stash pop -q 2>/dev/null || true
# run 5 jobs parallel, does NOT work with more then one svn module for (un)tag!
jobs = 5
git_tag = git tag -a $1 -m "$2"
git_untag = git tag -d $1
git_branch = git checkout -b $1
svn_tag = svn cp --parents -m "$2" $(svn info|grep ^URL|cut -f 2 -d ' ') $(svn info|grep ^URL|cut -f 2 -d ' '|sed -E "s:/(branches/[0-9.]+|trunk)/:/tags/$1/:")
svn_untag = svn rm -m "remove tag" $(svn info|grep ^URL|cut -f 2 -d ' '|sed -E "s:/(branches/[0-9.]+|trunk)/.*$:/tags/$1/:")
svn_branch = svn cp --parents -m "$2" $(svn info|grep ^URL|cut -f 2 -d ' ') $(svn info|grep ^URL|cut -f 2 -d ' '|sed -E "s:/(branches/[0-9.]+|trunk)/:/branches/$1/:"); svn switch ^/branches/$1/$(svn info|grep ^URL|cut -f 2 -d ' '|sed 's/^.*\///') .
[api/src/Db/ADOdb]
2016-06-27 16:06:26 +02:00
checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/ADOdb.git
[]
# to run composer.phar automatic, this .mrconfig need to be trusted by adding it to ~/.mrtrust
checkout = git clone git@github.com:EGroupware/egroupware.git &&
/usr/bin/env $(which composer.phar >/dev/null && echo composer.phar || echo composer) install
update = git stash -q || true ; git pull --rebase ; git stash pop -q 2>/dev/null || true;
/usr/bin/env $(which composer.phar >/dev/null && echo composer.phar || echo composer) install;
rm -rf api/js/ckeditor; ln -s ../../vendor/egroupware/ckeditor api/js/
# uncomment for minified javascript and css, IF you have nodejs and grunt installed: npm install -g grunt-cli
#post_checkout = /usr/bin/env npm install && /usr/bin/env grunt
#post_update = /usr/bin/env npm install && /usr/bin/env grunt
# to run after all other checkout/updates, as some apps (eg. projectmanager) need to update first
order = 20
###
### Optional apps you can enable by uncommenting them and (re-)run: mr up
###
[activesync]
# synchronise mobile phone via Z-Push and ActiveSync protocoll
2016-06-27 16:06:26 +02:00
checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/activesync.git
chain = true
[tracker]
# tracking or helpdesk application
2016-06-27 16:06:26 +02:00
checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/tracker.git
[projectmanager]
# projectmanagement and Ganttcharts
2016-06-27 16:06:26 +02:00
checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/projectmanager.git
#[bookmarks]
# record and share bookmarks
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/bookmarks.git
#[news_admin]
# publish and agregate RSS or ATOM feeds
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/news_admin.git
#[registration]
# allows (after configuration!) to selfregister accounts and recover lost passwords
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/registration.git
#[archive]
# allows to integrate a Benno mail-archive into EGroupware
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/archive.git
###
### Older apps requiring to install phpgwapi and etemplate!
###
#[phpgwapi]
# old api used by non 16.1 apps
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/phpgwapi.git
#[jdots]
# alternative "Stylite" template set
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/jdots.git
#[etemplate]
# old templating system superseeded by eTemplate2 in 16.1+ api
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/etemplate.git
#[phpbrain]
# knowledge base
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/phpbrain.git
#[wiki]
# wiki application
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/wiki.git
#[sambaadmin]
# keeps passwords in sync with Samba3 using same LDAP as EGroupware (for Samba4 use Active Directory)
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/sambaadmin.git
#[sitemgr]
# content managment application
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/sitemgr.git
#[phpfreechat]
# chat application
2016-06-27 16:06:26 +02:00
#checkout = git clone -b 16.1 ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/phpfreechat.git
#chain = true
###
### EPL apps not publicly available
###
#[stylite]
#checkout = git clone -b 16.1 git@github.com:EGroupwareGmbH/epl.git stylite
#update = test -d .svn && { rm -rf * .svn; git clone -b 16.1 git@github.com:EGroupwareGmbH/epl.git .; } || git pull --rebase
#[esyncpro]
#checkout = git clone -b 16.1 git@github.com:EGroupwareGmbH/esyncpro.git
#update = test -d .svn && { rm -rf * .svn; git clone -b 16.1 git@github.com:EGroupwareGmbH/esyncpro.git .; } || git pull --rebase