Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for scripts/php/parsecvs/parsecvs.php between version 1.25 and 1.26

version 1.25, 2003/01/11 13:47:21 version 1.26, 2005/02/07 22:38:46
Line 6 
Line 6 
         // Copyright (c) 2002-2003 Platon SDG, http://www.platon.sk/          // Copyright (c) 2002-2003 Platon SDG, http://www.platon.sk/
         // Licensed under terms of GNU General Public License          // Licensed under terms of GNU General Public License
   
         // $Platon: parsecvs.php,v 1.24 2002/06/17 07:48:49 karas9 Exp $          // $Platon: scripts/php/parsecvs/parsecvs.php,v 1.25 2003/01/11 13:47:21 nepto Exp $
   
         #          #
         # CONSTANTS          # CONSTANTS
Line 25 
Line 25 
         $user_format = '^CVSUSER=([0-9a-zA-Z]*)';          $user_format = '^CVSUSER=([0-9a-zA-Z]*)';
         $directory_format = '^In directory';          $directory_format = '^In directory';
         $project_name_format = '^Update of /home/cvs/(.*)';          $project_name_format = '^Update of /home/cvs/(.*)';
           $cvsweblink_format = '^(http:[^         ]*)';
         $tag_oper_begin  = '^Tag operation: (.*)$';          $tag_oper_begin  = '^Tag operation: (.*)$';
         $tag_name_begin  = '^Tag name: (.*)$';          $tag_name_begin  = '^Tag name: (.*)$';
         $add_files_begin = '^Added Files:';          $add_files_begin = '^Added Files:';
Line 232 
Line 233 
                         $reports[$j]['directory'] = trim($regs[1]);                          $reports[$j]['directory'] = trim($regs[1]);
                 }                  }
   
                   // CVSWEB link
                   if (ereg($cvsweblink_format, $in[$i], $regs)) {
                           // only URL
                           $reports[$j]['cvsweblink'] =
                                   array_merge($reports[$j]['cvsweblink'], trim($regs[1]));
                   }
   
                 // TAG OPERATION                  // TAG OPERATION
                 if (ereg($tag_oper_begin, $in[$i], $regs)) {                  if (ereg($tag_oper_begin, $in[$i], $regs)) {
                         //$reports[$j]['tag_operation'][0] = trim($regs[1]);                          //$reports[$j]['tag_operation'][0] = trim($regs[1]);
Line 368 
Line 376 
                                 $m['log_msg']                                  $m['log_msg']
                         ) . "\n");                          ) . "\n");
                 }                  }
   
                   // LOG MESSAGES
                   if (is_array($m['cvsweblink'])) {
                           fwrite($out, "CVSweb URL:\n");
   
                           fwrite($out, $log_message_folding .
                                   implode("\n$log_message_folding",
                                   $m['cvsweblink']
                           ) . "\n");
                   }
   
                 $i++;                  $i++;
         }          }
                   

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top