source: svn/newcon3bcm2_21bu/dta/tools/accu_notes.sh @ 69

Last change on this file since 69 was 69, checked in by phkim, 10 years ago

1.phkim

  1. 광주방송
  2. 변경내용
    • VBI 캡션 disabled
  • Property svn:executable set to *
File size: 718 bytes
Line 
1#! /bin/bash
2# usage accunotes.sh new_release_snapshot old_release_snapshot
3
4snap1=$1
5snap2=$2
6
7awk_cmd="\$1 != \"Stream\" { if(\"Y\" == \$(NF)) { print \"now\"; } else { print \$(NF-1) \" \" \$(NF); }}"
8
9end_date=`accurev show -s ${snap1} streams  | awk "${awk_cmd}"`
10
11start_date=`accurev show -s ${snap2} streams  | awk "${awk_cmd}"`
12
13cat <<EOF > ${snap1}_files.xml
14<?xml version="1.0"?>
15<?xml-stylesheet type="text/xsl" href="files.xsl"?>
16EOF
17
18accurev hist -t "${end_date}-${start_date}" -k promote -s dta -fx >> ${snap1}_files.xml
19
20cat <<EOF > ${snap1}_issues.xml
21<?xml version="1.0"?>
22<?xml-stylesheet type="text/xsl" href="issues.xsl"?>
23EOF
24
25accurev issuediff -s ${snap1} -S ${snap2} -fx >> ${snap1}_issues.xml
Note: See TracBrowser for help on using the repository browser.