Changeset 6498

Show
Ignore:
Timestamp:
08/27/08 22:57:27 (3 months ago)
Author:
p_lindheimer
Message:

tweak publish script and add fw_arisvn.pl and fw_fopsvn.pl

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/fw_arisvn.pl

    r6493 r6498  
    22 
    33# This script (sculpted from publish.pl) will check the last tarball (which must be there) 
    4 # based on the framework xml version number and then run svn log against all updates since 
    5 # framework was last published. 
     4# based on the fw_ari xml version number and then run svn log against all updates since 
     5# fw_ari was last published. 
    66# 
    77$rver = "2.5"; 
    8 $framework = "framework"; 
     8$fw_ari = "fw_ari"; 
    99 
    10 $moddir = 'framework'; 
     10$moddir = 'fw_ari'; 
    1111 
    1212my $reldir = "release/"; 
     
    2525 
    2626        # Now we know the version. Get the svnversion.txt from the last update. 
    27         $filename = "../../$reldir"."$rver/$framework-$vers.tgz"; 
     27        $filename = "../../$reldir"."$rver/$fw_ari-$vers.tgz"; 
    2828        print "CHECKING VERSION: ..... "; 
    2929        #print "CHECKING VERSION WITH: tar -zxOf $filename $moddir/svnversion.txt: ...  "; 
    3030        system("tar -zxOf ".$filename." ".$moddir."/svnversion.txt"); 
    3131        print "Geting svn log since that version for $rver : .... \n\n"; 
    32         $svnver = system("svn log http://svn.freepbx.org/freepbx/branches/$rver -r `tar -zxOf ".$filename." ".$moddir."/svnversion.txt | sed -e s/SVN\\\ VERSION://`:HEAD"); 
     32        $svnver = system("svn log http://svn.freepbx.org/freepbx/branches/$rver/amp_conf/htdocs/recordings -r `tar -zxOf ".$filename." ".$moddir."/svnversion.txt | sed -e s/SVN\\\ VERSION://`:HEAD"); 
    3333 
  • modules/branches/2.5/fw_fopsvn.pl

    r6493 r6498  
    22 
    33# This script (sculpted from publish.pl) will check the last tarball (which must be there) 
    4 # based on the framework xml version number and then run svn log against all updates since 
    5 # framework was last published. 
     4# based on the fw_fop xml version number and then run svn log against all updates since 
     5# fw_fop was last published. 
    66# 
    77$rver = "2.5"; 
    8 $framework = "framework"; 
     8$fw_fop = "fw_fop"; 
    99 
    10 $moddir = 'framework'; 
     10$moddir = 'fw_fop'; 
    1111 
    1212my $reldir = "release/"; 
     
    2525 
    2626        # Now we know the version. Get the svnversion.txt from the last update. 
    27         $filename = "../../$reldir"."$rver/$framework-$vers.tgz"; 
     27        $filename = "../../$reldir"."$rver/$fw_fop-$vers.tgz"; 
    2828        print "CHECKING VERSION: ..... "; 
    2929        #print "CHECKING VERSION WITH: tar -zxOf $filename $moddir/svnversion.txt: ...  "; 
    3030        system("tar -zxOf ".$filename." ".$moddir."/svnversion.txt"); 
    3131        print "Geting svn log since that version for $rver : .... \n\n"; 
    32         $svnver = system("svn log http://svn.freepbx.org/freepbx/branches/$rver -r `tar -zxOf ".$filename." ".$moddir."/svnversion.txt | sed -e s/SVN\\\ VERSION://`:HEAD"); 
     32        $svnver = system("svn log http://svn.freepbx.org/freepbx/branches/$rver/amp_conf/htdocs_panel -r `tar -zxOf ".$filename." ".$moddir."/svnversion.txt | sed -e s/SVN\\\ VERSION://`:HEAD"); 
    3333 
  • modules/branches/2.5/publish.pl

    r6493 r6498  
    107107                # Create the svnversion information for this framework snapshot 
    108108                # 
    109                 if (system("echo SVN VERSION: `svn log -q -r HEAD http://svn.freepbx.org/ | cut -s -f 1 -d ' ' | cut -b '2-'` > $fw_fop/svnversion.txt")) { 
     109                if (system("echo SVN VERSION: `svn log -q -r HEAD http://svn.freepbx.org/ | cut -s -f 1 -d ' ' | cut -b '2-'` > $fw_ari/svnversion.txt")) { 
    110110                        die "FATAL: svnversion failed to create svnversion.txt\n"; 
    111111                } 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads