From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1655 invoked from network); 26 Aug 2004 20:15:31 -0000 Received: from unknown (HELO lists.gnu.org) (199.232.76.165) by sourceware.org with SMTP; 26 Aug 2004 20:15:31 -0000 Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0QjI-000700-1c for listarch-gnats-devel@sources.redhat.com; Thu, 26 Aug 2004 16:20:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0Qj9-0006zl-TC for help-gnats@gnu.org; Thu, 26 Aug 2004 16:20:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0Qj7-0006zL-5z for help-gnats@gnu.org; Thu, 26 Aug 2004 16:20:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0Qj6-0006zB-M0 for help-gnats@gnu.org; Thu, 26 Aug 2004 16:20:04 -0400 Received: from [66.60.176.161] (helo=sierralogic.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1C0QeS-0001VH-3Z for help-gnats@gnu.org; Thu, 26 Aug 2004 16:15:16 -0400 Received: (qmail 6527 invoked from network); 26 Aug 2004 20:14:11 -0000 Received: from unknown (HELO wizard) (192.168.174.221) by 0 with SMTP; 26 Aug 2004 20:14:11 -0000 From: "Stuart Stevens" To: "help-gnats" Date: Sat, 28 Aug 2004 06:59:00 -0000 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcSLqWjCjBr8wzo6QlmA7z30QkJ3lQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: Subject: Append only field X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1236082399==" Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2004-q3/txt/msg00044.txt.bz2 This is a multi-part message in MIME format. --===============1236082399== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0023_01C48B6E.BC727E60" This is a multi-part message in MIME format. ------=_NextPart_000_0023_01C48B6E.BC727E60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-length: 1498 I am interested in having an append only field. When edited, the field would be blank and any new text would be added to the field with the date and user name. The entries would have the newest first. Perhaps the order would be an attribute. A template can be used to define the separation of each entry. This can be achieved partially by using on-change and a one line change to gnatsweb.pr. Editpr users would have to clear the "Comments" field for every submission. Is anybody working on an append only field? Is there any interest in such a field? field "Comments" { multitext { default "" } on-change "Comments!=\"\"" { set-field "Comments" { "================================================\n%D %s\n\n%s\n\n%s\n" "$CurrentDate" "$EditUserEmailAddr" "$NewValue" "$OldValue" } } on-change "Comments==\"\"" { set-field "Comments" { "%s" "$OldValue" } } } Stuart Stevens Firmware Engineer Sierra Logic Inc. 9083 Foothills Blvd., Suite 300, Roseville, CA 95747 916 772-1234 x146, 916 772-1811 Fax stuart_stevens@sierralogic.com www.sierralogic.com NOTICE: This email message is for the sole use of the intended recipients and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ------=_NextPart_000_0023_01C48B6E.BC727E60 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-length: 3941 Append only field

I am interested in having an append only f= ield.  When edited, the field would be blank and any new text would be= added to the field with the date and user name.  The entries would ha= ve the newest first.  Perhaps the order would be an attribute.  A= template can be used to define the separation of each entry.

This can be achieved partially by using on= -change and a one line change to gnatsweb.pr.  Editpr users would have= to clear the "Comments" field for every submission.  Is any= body working on an append only field?  Is there any interest in such a= field?


field "Comments" {
    multitext {
      = ;  default ""
    }
    on-change "= Comments!=3D\"\"" {
      = ;  set-field "Comments" {
"=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D\n%D  %s\n\n%s\n\n%s\n"=
      = ;          "$CurrentDate&= quot; "$EditUserEmailAddr" "$NewValue" "$OldValue&= quot;

      =   }
    }
    on-change "= Comments=3D=3D\"\"" {
      = ;  set-field "Comments" {
      = ;      "%s" "$OldValue"
      = ;  }
    }
}



Stuart Stevens
Firmware Engineer
Sierra Logic Inc.
9083 Foothills Blvd., Suite 300, Rosevill= e, CA 95747
916 772-1234 x146,  916 772-1811 Fax=
stuart_stevens@sierralogic.com  = ; www.sierralogic.com

NOTICE:  This email message is for th= e sole use of the intended recipients and may contain confidential and priv= ileged information.  Any unauthorized review, use, disclosure or distr= ibution is prohibited.  If you are not the intended recipient, please = contact the sender by reply email and destroy all copies of the original me= ssage.

 

= ------=_NextPart_000_0023_01C48B6E.BC727E60-- --===============1236082399== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 140 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnats --===============1236082399==--