Changeset 3341


Ignore:
Timestamp:
03/17/08 15:20:57 (6 years ago)
Author:
alanbach-guest
Message:
  • Modified to meet svn new structure
Location:
scripts/watch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/watch/watch.php

    r3028 r3341  
    44// Based on Debian DEHS http://svn.debian.org/wsvn/dehs 
    55// 
    6 // Updated: 2007-10-30 10:11 +330 GMT 
     6// Updated: 2008-03-17 08:36 +0100 GMT 
    77 
    88$vars=$_GET["vars"]; 
     9$dist_name="viola"; 
    910uscan($vars); 
    1011 
     
    1314 
    1415function uscan($vars){ 
    15         $svn_url="http://svn.debian.org/svn/pkg-parsix/pkg"; 
     16        $svn_url="http://svn.debian.org/svn/pkg-parsix/pkg/".$dist_name; 
    1617        $arrvars=explode("*", $vars); 
    1718        $path = $arrvars[0]; 
  • scripts/watch/watch.sh

    r3028 r3341  
    33# Coyright 2007 Alan Baghumian / GNU/GPL 
    44# 
    5 # Updated: 2008-01-29 12:46 +330 GMT 
     5# Updated: 2008-03-17 08:37 +0100 GMT 
    66# 
    77# Requires: lynx, devscripts, tail, awk, sed 
     
    1212LOGS_PATH="/home/parsix/public_html/buildlogs" 
    1313LOCAL_REPO="/home/parsix/public_html/packages/pool" 
    14 SVN_REPO="/svn/pkg-parsix/" 
     14SVN_REPO="/svn/pkg-parsix/pkg" 
     15DIST_NAME="viola" 
    1516UNDERLINE=$'\137' # 137 is octal ASCII code for '_' 
    1617 
     
    2627 
    2728#LIST=`find $SVN_REPO -name watch | grep debian | grep trunk | sort -u` 
    28 LIST=`find $SVN_REPO -type d -name debian | grep trunk | sort -u` 
     29LIST=`find $SVN_REPO/$DIST_NAME -type d -name debian | grep trunk | sort -u` 
    2930 
    3031for x in $LIST 
     
    3536PKG=`basename ${x/%trunk\/debian/}` 
    3637LORPATH=`find $LOCAL_REPO -type d | grep $PKG` 
    37 cd $SVN_REPO/pkg/ 
     38cd $SVN_REPO/$DIST_NAME/ 
    3839COMPONENT=`find ./ -maxdepth 2 -type d | grep /$PKG$ | awk 'BEGIN{FS="/"}{print $2}'` 
    3940if [ -d $COMPONENT/$PKG ]; then 
Note: See TracChangeset for help on using the changeset viewer.