mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
Adjusted for use with egroupware - checks out all modules
This commit is contained in:
parent
9fc3c9b55b
commit
6f08e22c39
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
############################################################################
|
||||
# phpGroupWare #
|
||||
# http:#www.phpgroupware.org #
|
||||
# The file written by Miles Lott <milosch@phpgroupware.org> #
|
||||
# eGroupWare #
|
||||
# http://www.egroupware.org #
|
||||
# The file written by Miles Lott <milos@groupwhere.org> #
|
||||
# -------------------------------------------- #
|
||||
# This program is free software; you can redistribute it and/or modify it #
|
||||
# under the terms of the GNU General Public License as published by the #
|
||||
@ -17,76 +17,13 @@
|
||||
#**************************************************************************#
|
||||
# Temp paths that can be read and written to
|
||||
$tmp_dir = '/tmp';
|
||||
# Path of where you want the phpgroupware directory to go. NO trailing /
|
||||
# Path of where you want the egroupware directory to go. NO trailing /
|
||||
$co_dir = '/var/www/html';
|
||||
# If you do not have developer access to cvs, change to True
|
||||
$cvs_anonymous = True;
|
||||
# Only needed if you have developers cvs access
|
||||
$cvs_login = '';
|
||||
|
||||
# Modules you want to checkout, do NOT add the phpgroupware module
|
||||
@co_modules = (
|
||||
'addressbook',
|
||||
'admin',
|
||||
'backup',
|
||||
'bookkeeping',
|
||||
'bookmarks',
|
||||
'brewer',
|
||||
'calendar',
|
||||
'cart',
|
||||
'ccs',
|
||||
'cdb',
|
||||
'chat',
|
||||
'chora',
|
||||
'comic',
|
||||
'cron',
|
||||
'developer_tools',
|
||||
'dj',
|
||||
'eldaptir',
|
||||
'email',
|
||||
'filemanager',
|
||||
'forum',
|
||||
'ftp',
|
||||
'headlines',
|
||||
'hr',
|
||||
'infolog',
|
||||
'inv',
|
||||
'manual',
|
||||
'mediadb',
|
||||
'meerkat',
|
||||
'messenger',
|
||||
'napster',
|
||||
'netsaint',
|
||||
'news_admin',
|
||||
'nntp',
|
||||
'notes',
|
||||
'phonelog',
|
||||
'phpGWShell_Win32_VB',
|
||||
'phpgwapi',
|
||||
'phpgwnetsaint',
|
||||
'phpsysinfo',
|
||||
'phpwebhosting',
|
||||
'polls',
|
||||
'preferences',
|
||||
'projects',
|
||||
'qmailldap',
|
||||
'rbs',
|
||||
'setup',
|
||||
'skel',
|
||||
'soap',
|
||||
'squirrelmail',
|
||||
'stocks',
|
||||
'syncml-server',
|
||||
'timetrack',
|
||||
'todo',
|
||||
'transy',
|
||||
'tts',
|
||||
'wap',
|
||||
'wcm',
|
||||
'weather',
|
||||
'xmlrpc'
|
||||
);
|
||||
|
||||
# -- End config section
|
||||
|
||||
sub docvscommand
|
||||
@ -125,23 +62,23 @@
|
||||
chdir($co_dir);
|
||||
if ($cvs_anonymous)
|
||||
{
|
||||
&docvscommand('cvs -d:pserver:anonymous@subversions.gnu.org:443/cvsroot/phpgroupware login',True);
|
||||
&docvscommand('cvs -d:pserver:anonymous@subversions.gnu.org:443/cvsroot/phpgroupware co phpgroupware',True);
|
||||
&docvscommand('cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware login',True);
|
||||
&docvscommand('cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware co egroupware',True);
|
||||
}
|
||||
else
|
||||
{
|
||||
&docvscommand('cvs -d' . $cvs_login . '@subversions.gnu.org:/cvsroot/phpgroupware co phpgroupware');
|
||||
&docvscommand('cvs -d' . $cvs_login . '@cvs.sourceforge.net:/cvsroot/egroupware co egroupware');
|
||||
}
|
||||
|
||||
chdir($co_dir . '/phpgroupware');
|
||||
chdir($co_dir . '/egroupware');
|
||||
|
||||
if ($cvs_anonymous)
|
||||
{
|
||||
&docvscommand('cvs -z3 -d:pserver:anonymous@subversions.gnu.org:443/cvsroot/phpgroupware co ' . join(' ',@co_modules));
|
||||
&docvscommand('cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware co all');
|
||||
}
|
||||
else
|
||||
{
|
||||
&docvscommand('cvs -d' . $cvs_login . '@subversions.gnu.org:/cvsroot/phpgroupware co ' . join(' ',@co_modules));
|
||||
&docvscommand('cvs -d' . $cvs_login . '@cvs.sourceforge.net:/cvsroot/egroupware co all');
|
||||
}
|
||||
|
||||
&docvscommand('cvs update -dP');
|
||||
|
Loading…
Reference in New Issue
Block a user