Re: [16NG] [ietfdb] #324: Move old liaison statements from hardcoded template to database

"16ng issue tracker" <trac@tools.ietf.org> Tue, 03 November 2009 13:07 UTC

Return-Path: <trac@tools.ietf.org>
X-Original-To: 16ng@core3.amsl.com
Delivered-To: 16ng@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BC71B3A6A0A for <16ng@core3.amsl.com>; Tue, 3 Nov 2009 05:07:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.22
X-Spam-Level:
X-Spam-Status: No, score=-102.22 tagged_above=-999 required=5 tests=[AWL=-0.220, BAYES_00=-2.599, J_CHICKENPOX_45=0.6, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oo0-Ykt8VVN2 for <16ng@core3.amsl.com>; Tue, 3 Nov 2009 05:07:42 -0800 (PST)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:1112:1:214:22ff:fe1f:1e54]) by core3.amsl.com (Postfix) with ESMTP id BD68A3A67C1 for <16ng@ietf.org>; Tue, 3 Nov 2009 05:07:42 -0800 (PST)
Received: from localhost ([::1] helo=zinfandel.tools.ietf.org) by zinfandel.tools.ietf.org with esmtp (Exim 4.69) (envelope-from <trac@tools.ietf.org>) id 1N5J7D-0003VT-Qd; Tue, 03 Nov 2009 05:08:03 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: "16ng issue tracker" <trac@tools.ietf.org>
X-Trac-Version: 0.11.5
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.11.5, by Edgewall Software
To: pasi.eronen@nokia.com
X-Trac-Project: ietfdb
Date: Tue, 03 Nov 2009 13:08:03 -0000
X-URL: http://tools.ietf.org/tools/ietfdb/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/tools/ietfdb/ticket/324#comment:1
Message-ID: <077.f30783dc1551851f7ea174bcdd1e0f80@tools.ietf.org>
References: <068.a33ffc8a8095df7a82428c23e76f6dea@tools.ietf.org>
X-Trac-Ticket-ID: 324
In-Reply-To: <068.a33ffc8a8095df7a82428c23e76f6dea@tools.ietf.org>
X-SA-Exim-Connect-IP: ::1
X-SA-Exim-Rcpt-To: pasi.eronen@nokia.com, 16ng@ietf.org
X-SA-Exim-Mail-From: trac@tools.ietf.org
X-SA-Exim-Scanned: No (on zinfandel.tools.ietf.org); SAEximRunCond expanded to false
X-Mailman-Approved-At: Tue, 03 Nov 2009 14:19:24 -0800
Cc: 16ng@ietf.org
Subject: Re: [16NG] [ietfdb] #324: Move old liaison statements from hardcoded template to database
X-BeenThere: 16ng@ietf.org
X-Mailman-Version: 2.1.9
Reply-To: 16ng@ietf.org
List-Id: 16ng working group discussion list <16ng.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/16ng>, <mailto:16ng-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/16ng>
List-Post: <mailto:16ng@ietf.org>
List-Help: <mailto:16ng-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/16ng>, <mailto:16ng-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Nov 2009 13:07:43 -0000

#324: Move old liaison statements from hardcoded template to database
-----------------------------------+----------------------------------------
 Reporter:  pasi.eronen@…          |       Owner:     
     Type:  enhancement            |      Status:  new
 Priority:  medium                 |   Milestone:     
Component:  liaison/               |     Version:     
 Keywords:                         |  
-----------------------------------+----------------------------------------

Comment(by pasi.eronen@…):

 Some Perl code that isn't finished, but could be useful:
 {{{
 open(INPUT, "liaisondetail_list.html");
 $/ = '<tr>';
 while ($_ = <INPUT>) {
     last if (/Legacy stuff, hardcoded/);
 }
 while ($_ = <INPUT>) {
     s/ valign=top>/>/g;
     s/ valign="top">/>/g;
     s/ nowrap>/>/g;
     s/<td>/<td>/gi;
     s/<\/td>//gi;
     s/<\/tr>//gi;
     s/<tr>//gi;
     s/<br>//gi;
     s/\s+/ /g;
     s/<.table> .. endblock ..//;
     s/^\s*<td>//;
     s/\s*<td>/\t/g;
     @cols = split /\t/;
     if (@cols != 4) {
         die "Not four columns";
     }
     $date = $cols[0];
     if ($date !~ /^\w+ \d\d\d\d$/) {
         print $_;
         die "Bad date $date";
     }
     $links = $cols[3];
     $links =~ s/\(\.?pdf file\)//g;
     $links =~ s/\(pdf\)//g;
     $links =~ s/<\/a>( \(Temporary Document [^)]+\))/\1<\/a>/g;
     if ($links !~ /^(\s*<a href="[^"]+">[^<]*<\/a>)+\s*$/i) {
         print "------\n", $links, "\n";
     }
 }

 }}}

-- 
Ticket URL: <http://trac.tools.ietf.org/tools/ietfdb/ticket/324#comment:1>
ietfdb <http://tools.ietf.org/tools/ietfdb/>