fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17218] prepare for custom build


From: sigurdne
Subject: [Fmsystem-commits] [17218] prepare for custom build
Date: Wed, 1 Nov 2017 12:38:43 -0400 (EDT)

Revision: 17218
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17218
Author:   sigurdne
Date:     2017-11-01 12:38:43 -0400 (Wed, 01 Nov 2017)
Log Message:
-----------
prepare for custom build

Added Paths:
-----------
    thirdparty/PE_custom/BK_EBE/
    thirdparty/PE_custom/BK_EBE/property/
    thirdparty/PE_custom/BK_EBE/property/inc/
    thirdparty/PE_custom/BK_EBE/property/inc/cron/
    thirdparty/PE_custom/BK_EBE/property/inc/cron/default/
    thirdparty/PE_custom/BK_EBE/property/inc/custom/
    thirdparty/PE_custom/BK_EBE/property/inc/custom/default/
    thirdparty/PE_custom/BK_EBF/
    thirdparty/PE_custom/BK_EBF/property/
    thirdparty/PE_custom/BK_EBF/property/inc/
    thirdparty/PE_custom/BK_EBF/property/inc/cron/
    thirdparty/PE_custom/BK_EBF/property/inc/cron/default/
    thirdparty/PE_custom/BK_EBF/property/inc/custom/
    thirdparty/PE_custom/BK_EBF/property/inc/custom/default/
    thirdparty/PE_custom/BK_EBF/property/inc/export/
    thirdparty/PE_custom/BK_EBF/property/inc/export/default/
    thirdparty/PE_custom/BK_EBF/svn_full_checkout.php
    thirdparty/PE_custom/NLSH/rental/inc/
    thirdparty/PE_custom/NLSH/rental/inc/custom/
    thirdparty/PE_custom/NLSH/rental/inc/custom/default/

Added: thirdparty/PE_custom/BK_EBF/svn_full_checkout.php
===================================================================
--- thirdparty/PE_custom/BK_EBF/svn_full_checkout.php                           
(rev 0)
+++ thirdparty/PE_custom/BK_EBF/svn_full_checkout.php   2017-11-01 16:38:43 UTC 
(rev 17218)
@@ -0,0 +1,159 @@
+#!/usr/bin/php
+<?php
+
+       /**
+       * Portico Estate
+       *
+       * @author Sigurd Nes <address@hidden>
+       * @copyright Copyright (C) 2017 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package phpgroupware
+       * @subpackage development
+       * @version $Id: svn_full_checkout.php 4237 2009-11-27 23:17:21Z sigurd $
+       */
+
+       //exit; //remove this line to make the script work
+
+       // 
****************************************************************************
+       // Config section
+       // 
****************************************************************************
+
+        //Example: /usr/local/bin/php -q svn_full_checkout.php user=<username>
+
+       /**
+       * Repository where you are checking out the code.  NO trailing / - 
example: 'svn.savannah.gnu.org/phpgroupware'
+       */
+
+       $repository = 'svn.savannah.nongnu.org/fmsystem';
+
+       /**
+       * What do you want to do? valid actions are 'co' for standard checkout 
or 'export' for no svn informations
+       */
+
+       $action = 'co';
+//     $action = 'export';
+       $revision =  '-r 17207';
+
+       /**
+       * Directory that you want the phpgroupware directory to go in.  NO 
trailing /
+       */
+
+       $co_dir = '/var/www/html';
+
+       /**
+       * Only needed if you have developers cvs access - leave empty for 
anonymous
+       */
+
+       $svn_login = '';
+       $_svn_login = isset($_SERVER['argv'][1]) ? explode('=', 
$_SERVER['argv'][1]) : array();
+       if($_svn_login)
+       {
+               $svn_login = $_svn_login[1];
+       }
+
+       /**
+       * What release do you intend to check out? - leave empty for trunk - 
example: 'Version-2_0-branch'
+       */
+
+       $release_info = 'Version-2_0-branch';
+
+       /**
+       * Modules you want to checkout, do NOT add the phpgroupware module
+       */
+
+       /**
+       * Base
+       */
+       $co_modules[] = 'admin';
+       $co_modules[] = 'doc';
+       $co_modules[] = 'manual';
+       $co_modules[] = 'phpgwapi';
+       $co_modules[] = 'preferences';
+       $co_modules[] = 'setup';
+       $co_modules[] = 'xmlrpc';
+       $co_modules[] = 'soap';
+       $co_modules[] = 'registration';
+       $co_modules[] = 'addressbook';
+
+       /**
+       * FM
+       */
+       $co_modules[] = 'mobilefrontend';
+       $co_modules[] = 'controller';
+       $co_modules[] = 'hrm';
+       $co_modules[] = 'property';
+       $co_modules[] = 'sms';
+       $co_modules[] = 'bim';
+
+
+       /*
+        * Booking
+        */
+       $co_modules[] = 'booking';
+       $co_modules[] = 'bookingfrontend';
+       $co_modules[] = 'activitycalendar';
+       $co_modules[] = 'activitycalendarfrontend';
+
+
+       /*
+        * rental
+        */
+       $co_modules[] = 'rental';
+       $co_modules[] = 'frontend';
+
+       /**
+       * Some other stuff
+       */
+       $co_modules[] = 'logistic';
+       $co_modules[] = 'helpdesk';
+       $co_modules[] = 'eventplanner';
+       $co_modules[] = 'eventplannerfrontend';
+
+
+       // 
****************************************************************************
+       // End config section
+       // 
****************************************************************************
+
+       /**
+       * If you do not have developer access to cvs, set to True
+       */
+       $cvs_anonymous = false;
+       if(!$svn_login)
+       {
+               $cvs_anonymous = true;  
+       }
+
+       if ($release_info)
+       {
+               $release = "/{$release_info}";
+               $branch = 'branches';
+       }
+       else
+       {
+               $release = '';
+               $branch = 'trunk';
+       }
+
+       chdir($co_dir);
+       if ($cvs_anonymous)
+       {
+               system("svn {$action} {$revision} 
svn://{$repository}/{$branch}{$release} portico --non-recursive");
+       }
+       else
+       {
+               system("svn {$action} {$revision} 
svn+ssh://address@hidden/{$branch}{$release}  portico --non-recursive");
+       }
+
+       chdir($co_dir . '/portico');
+
+       foreach($co_modules as $module)
+       {
+               if ($cvs_anonymous)
+               {
+                       system("svn {$action} {$revision} 
svn://{$repository}/{$branch}{$release}/{$module}");
+               }
+               else
+               {
+                       system("svn {$action} {$revision} 
svn+ssh://address@hidden/{$branch}$release/{$module}");
+               }
+       }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]