From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8999 invoked from network); 24 Feb 2004 11:21:18 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 24 Feb 2004 11:21:18 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AvaZy-0007Zq-EB for listarch-gnats-devel@sources.redhat.com; Tue, 24 Feb 2004 06:18:22 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AvaYO-0006we-Hc for help-gnats@gnu.org; Tue, 24 Feb 2004 06:16:44 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AvaXm-0006jh-JR for help-gnats@gnu.org; Tue, 24 Feb 2004 06:16:37 -0500 Received: from [202.125.140.215] (helo=mail-lhr-fe.xavor.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AvaXl-0006hh-QV for help-gnats@gnu.org; Tue, 24 Feb 2004 06:16:06 -0500 Received: from mail-lhr-be.xavor.com ([10.21.1.109]) by mail-lhr-fe.xavor.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 24 Feb 2004 16:16:03 +0500 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Date: Tue, 24 Feb 2004 11:21:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: New PR ID needed after inserting through GNATSD .. Thread-Index: AcP6x5ZBaKhSbUA3SAOJNGzbKHvLKg== From: "Imran Shafqat" To: X-OriginalArrivalTime: 24 Feb 2004 11:16:03.0743 (UTC) FILETIME=[97207AF0:01C3FAC7] Subject: New PR ID needed after inserting through GNATSD .. X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0198312306==" 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-q1/txt/msg00098.txt.bz2 This is a multi-part message in MIME format. --===============0198312306== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3FAC7.97144D32" This is a multi-part message in MIME format. ------_=_NextPart_001_01C3FAC7.97144D32 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-length: 375 Dear All, I am writing GNATSD client in C#.Net. I need to push back the new PRID generated by GNATS to the client. I have multiple clients that can simultaneously enter new PRS. Can any one please guide me what is the best way to return / get the PRID from the GNATS after insertion. =20 Thanks in advance. =20 Regards Imran Shafqat Software Engineer Xavor Pakistan ------_=_NextPart_001_01C3FAC7.97144D32 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-length: 2522

Dear All,

I am writing GNATSD client in C#.Net. I need to push back the new PRID generated by GNATS to the client. I have multiple clients that= can simultaneously enter new PRS. Can any one please guide me what is the best = way to return / get the PRID from the GNATS after insertion.<= /font>

 

Thanks in advance.

 

Regards

Imran Shafqat

Software Engineer

Xavor Pakistan

------_=_NextPart_001_01C3FAC7.97144D32-- --===============0198312306== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 139 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats --===============0198312306==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12598 invoked from network); 24 Feb 2004 16:52:52 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 24 Feb 2004 16:52:52 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Avfma-0004xJ-OR for listarch-gnats-devel@sources.redhat.com; Tue, 24 Feb 2004 11:51:44 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Avfi8-0002ca-OR for help-gnats@gnu.org; Tue, 24 Feb 2004 11:47:08 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Avfdr-00017g-It for help-gnats@gnu.org; Tue, 24 Feb 2004 11:43:15 -0500 Received: from [62.39.81.196] (helo=relay.swisscom-eurospot.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AvfbG-0007lK-1C for help-gnats@gnu.org; Tue, 24 Feb 2004 11:40:02 -0500 Received: from localhost.localdomain (unknown [212.23.45.1]) by relay.swisscom-eurospot.com (Postfix) with ESMTP id CFB9E286C11 for ; Tue, 24 Feb 2004 17:39:57 +0100 (CET) From: Mike Hoolehan To: help-gnats@gnu.org In-Reply-To: References: Message-Id: <1077640797.4138.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 24 Feb 2004 16:52:00 -0000 Subject: Re: New PR ID needed after inserting through GNATSD .. X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1865244849==" 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-q1/txt/msg00099.txt.bz2 --===============1865244849== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-WsFiAFrWQjIuzqoD7LG8" --=-WsFiAFrWQjIuzqoD7LG8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1246 I maintain a perl module for communication with the gnats daemon. I originally intended to do the same thing as you for my "submitPR" method (i.e. return the PR Number of the newly created PR) but instead decided only to return true/false (depending on success/failure). As far as I know, since gnatsd doesn't supply the information on PR creation, the only way to reliably get the PR number of a new PR is to query again for the exact same criteria. I left it up to my user to find the PR number of his/her new PR. Mike On Tue, 2004-02-24 at 13:16, Imran Shafqat wrote: > Dear All, >=20 > I am writing GNATSD client in C#.Net. I need to push back the new PRID > generated by GNATS to the client. I have multiple clients that can > simultaneously enter new PRS. Can any one please guide me what is the > best way to return / get the PRID from the GNATS after insertion. >=20 >=20=20 >=20 > Thanks in advance. >=20 >=20=20 >=20 > Regards >=20 > Imran Shafqat >=20 > Software Engineer >=20 > Xavor Pakistan >=20 >=20 >=20 > ______________________________________________________________________ > _______________________________________________ > Help-gnats mailing list > Help-gnats@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnats --=-WsFiAFrWQjIuzqoD7LG8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAO35d3hYN5wb8v28RAkj3AJwJtEw0f4dQvA0zJasPql67uRtVjgCgn+BX Xaeo9i3Tq0zOHDIo6Bi+TPQ= =s1Lh -----END PGP SIGNATURE----- --=-WsFiAFrWQjIuzqoD7LG8-- --===============1865244849== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 139 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats --===============1865244849==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27773 invoked from network); 24 Feb 2004 20:28:05 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 24 Feb 2004 20:28:05 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Avj5N-00040y-1w for listarch-gnats-devel@sources.redhat.com; Tue, 24 Feb 2004 15:23:21 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AvizL-0002FV-5V for help-gnats@gnu.org; Tue, 24 Feb 2004 15:17:07 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Avis3-0000EE-3G for help-gnats@gnu.org; Tue, 24 Feb 2004 15:10:07 -0500 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1Avis2-0000D8-4C for help-gnats@gnu.org; Tue, 24 Feb 2004 15:09:34 -0500 Received: from [207.17.137.64] (helo=colo-dns-ext2.juniper.net) by mx20.gnu.org with esmtp (Exim 4.30) id 1Avhx9-0008Dd-H3 for help-gnats@gnu.org; Tue, 24 Feb 2004 14:10:47 -0500 Received: from merlot.juniper.net (merlot.juniper.net [172.17.27.10]) by colo-dns-ext2.juniper.net (8.12.3/8.12.3) with ESMTP id i1OJANBm093816; Tue, 24 Feb 2004 11:10:31 -0800 (PST) (envelope-from hatzis@juniper.net) Received: from juniper.net (ssh3.juniper.net [207.17.136.47]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id i1OJAHo89059; Tue, 24 Feb 2004 11:10:23 -0800 (PST) (envelope-from hatzis@juniper.net) Message-ID: <403BA130.9090607@juniper.net> Date: Tue, 24 Feb 2004 20:28:00 -0000 From: Mel Hatzis User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Hoolehan References: <1077640797.4138.4.camel@localhost.localdomain> In-Reply-To: <1077640797.4138.4.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: ishafqat@xavor.com, help-gnats@gnu.org Subject: Re: New PR ID needed after inserting through GNATSD .. X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , 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-q1/txt/msg00102.txt.bz2 Actually, the latest version of the GNATS sources has a patch for returning the new PR number. This is one of the few changes made after GNATS 4.0 was released. Here's the ChangeLog entry: 2003-08-30 Mel Hatzis , Andrew J. Gray * client.c (get_reply): Check for outfp being NULL. (netSendPRCmd): Add flag to show information received. All callers changed. * cmds.c (GNATS_subm): Send PR number for new submission. * file-pr.c (submit_pr): Return PR number for new submission. * pr-edit.c (long_options, handleNetworkEdit, main): Add show_prnum option. If you opt to try this, be aware that it's a change to the GNATS client/server interface (if you're using GNATS in network mode), so you'll need to update the GNATS client binaries in addition to the server. -Mel On 02/24/2004 08:39 AM, Mike Hoolehan submitted: > I maintain a perl module for communication with the gnats daemon. I > originally intended to do the same thing as you for my "submitPR" method > (i.e. return the PR Number of the newly created PR) but instead decided > only to return true/false (depending on success/failure). As far as I > know, since gnatsd doesn't supply the information on PR creation, the > only way to reliably get the PR number of a new PR is to query again for > the exact same criteria. > > I left it up to my user to find the PR number of his/her new PR. > > Mike > > > On Tue, 2004-02-24 at 13:16, Imran Shafqat wrote: > >>Dear All, >> >>I am writing GNATSD client in C#.Net. I need to push back the new PRID >>generated by GNATS to the client. I have multiple clients that can >>simultaneously enter new PRS. Can any one please guide me what is the >>best way to return / get the PRID from the GNATS after insertion. >> >> >> >>Thanks in advance. >> >> >> >>Regards >> >>Imran Shafqat >> >>Software Engineer >> >>Xavor Pakistan >> >> >> >>______________________________________________________________________ >>_______________________________________________ >>Help-gnats mailing list >>Help-gnats@gnu.org >>http://mail.gnu.org/mailman/listinfo/help-gnat > > s > > > ------------------------------------------------------------------------ > > _______________________________________________ > Help-gnats mailing list > Help-gnats@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnats _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2371 invoked from network); 25 Feb 2004 07:05:08 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 25 Feb 2004 07:05:08 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Avt4t-0002lD-CI for listarch-gnats-devel@sources.redhat.com; Wed, 25 Feb 2004 02:03:31 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Avt4n-0002l8-AJ for help-gnats@gnu.org; Wed, 25 Feb 2004 02:03:25 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Avt4H-0002Ts-C2 for help-gnats@gnu.org; Wed, 25 Feb 2004 02:03:24 -0500 Received: from [202.125.140.215] (helo=mail-lhr-fe.xavor.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Avt4G-0002To-Pz for help-gnats@gnu.org; Wed, 25 Feb 2004 02:02:53 -0500 Received: from mail-lhr-be.xavor.com ([10.21.1.109]) by mail-lhr-fe.xavor.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 25 Feb 2004 12:01:24 +0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Date: Wed, 25 Feb 2004 07:05:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: New PR ID needed after inserting through GNATSD .. Thread-Index: AcP7Cg1Swtpi9wW8QFWHWKJgvPwhtwAYp5/w From: "Imran Shafqat" To: "Mel Hatzis" , X-OriginalArrivalTime: 25 Feb 2004 07:01:24.0128 (UTC) FILETIME=[2E2E0200:01C3FB6D] Cc: Subject: RE: New PR ID needed after inserting through GNATSD .. X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , 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-q1/txt/msg00103.txt.bz2 Thanks for your reply. Can you tell how can I use this patch through GNATSD ? will SUBM command return new PR number ? Thanks in advance Regards Imran Shafqat Software Engineer Xavor Pakistan. -----Original Message----- From: Mel Hatzis [mailto:hatzis@juniper.net]=20 Sent: Wednesday, February 25, 2004 12:09 AM To: Mike Hoolehan Cc: help-gnats@gnu.org; Imran Shafqat Subject: Re: New PR ID needed after inserting through GNATSD .. Actually, the latest version of the GNATS sources has a patch for returning the new PR number. This is one of the few changes made after GNATS 4.0 was released. Here's the ChangeLog entry: 2003-08-30 Mel Hatzis , Andrew J. Gray * client.c (get_reply): Check for outfp being NULL. (netSendPRCmd): Add flag to show information received. All callers changed. * cmds.c (GNATS_subm): Send PR number for new submission. * file-pr.c (submit_pr): Return PR number for new submission. * pr-edit.c (long_options, handleNetworkEdit, main): Add show_prnum option. If you opt to try this, be aware that it's a change to the GNATS client/server interface (if you're using GNATS in network mode), so you'll need to update the GNATS client binaries in addition to the server. -Mel On 02/24/2004 08:39 AM, Mike Hoolehan submitted: > I maintain a perl module for communication with the gnats daemon. I > originally intended to do the same thing as you for my "submitPR" method > (i.e. return the PR Number of the newly created PR) but instead decided > only to return true/false (depending on success/failure). As far as I > know, since gnatsd doesn't supply the information on PR creation, the > only way to reliably get the PR number of a new PR is to query again for > the exact same criteria. >=20 > I left it up to my user to find the PR number of his/her new PR. >=20 > Mike >=20 >=20 > On Tue, 2004-02-24 at 13:16, Imran Shafqat wrote: >=20 >>Dear All, >> >>I am writing GNATSD client in C#.Net. I need to push back the new PRID >>generated by GNATS to the client. I have multiple clients that can >>simultaneously enter new PRS. Can any one please guide me what is the >>best way to return / get the PRID from the GNATS after insertion. >> >>=20 >> >>Thanks in advance. >> >>=20 >> >>Regards >> >>Imran Shafqat >> >>Software Engineer >> >>Xavor Pakistan >> >> >> >>______________________________________________________________________ >>_______________________________________________ >>Help-gnats mailing list >>Help-gnats@gnu.org >>http://mail.gnu.org/mailman/listinfo/help-gnat >=20 > s >=20 >=20 > ------------------------------------------------------------------------ >=20 > _______________________________________________ > Help-gnats mailing list > Help-gnats@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnats _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24531 invoked from network); 25 Feb 2004 08:13:29 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 25 Feb 2004 08:13:29 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Avu4V-0007nP-5I for listarch-gnats-devel@sources.redhat.com; Wed, 25 Feb 2004 03:07:11 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Avu4P-0007n5-AD for help-gnats@gnu.org; Wed, 25 Feb 2004 03:07:05 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Avu3t-0007lT-8M for help-gnats@gnu.org; Wed, 25 Feb 2004 03:07:04 -0500 Received: from [207.17.137.64] (helo=colo-dns-ext2.juniper.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1Avu1u-0007TW-Ga for help-gnats@gnu.org; Wed, 25 Feb 2004 03:04:30 -0500 Received: from merlot.juniper.net (merlot.juniper.net [172.17.27.10]) by colo-dns-ext2.juniper.net (8.12.3/8.12.3) with ESMTP id i1P84QBm095555; Wed, 25 Feb 2004 00:04:26 -0800 (PST) (envelope-from hatzis@juniper.net) Received: from juniper.net (ssh3.juniper.net [207.17.136.47]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id i1P84Qo71790; Wed, 25 Feb 2004 00:04:26 -0800 (PST) (envelope-from hatzis@juniper.net) Message-ID: <403C569E.5070708@juniper.net> Date: Wed, 25 Feb 2004 08:13:00 -0000 From: Mel Hatzis User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Imran Shafqat References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: help-gnats@gnu.org Subject: Re: New PR ID needed after inserting through GNATSD .. X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , 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-q1/txt/msg00104.txt.bz2 On 02/24/2004 11:01 PM, Imran Shafqat submitted: > Thanks for your reply. > Can you tell how can I use this patch through GNATSD ? You'll need to get the current development version of GNATS from CVS...it contains very few changes from GNATS 4.0 and, IMO, it's just as reliable. Follow the instructions for "Getting a Copy of the CVS Repository" on http://savannah.gnu.org/cvs/?group=gnats if you want to know how this is done. will SUBM command > return new PR number ? Assuming the SUBM command succeeds and creates, say, PR 1969, it would return the following: 351-The added PR number is: 350 1969 As for the GNATS client utilities... - pr-edit will return the new PR number if it is invoked with a (new) --show-prnum option which is relevant if the --submit option is also present - send-pr will always return something like: send-pr: problem report 1969 filed (it now invokes pr-edit with the '--show-prnum' option) -- Mel Hatzis > > Thanks in advance > Regards > > Imran Shafqat > Software Engineer > Xavor Pakistan. > > > -----Original Message----- > From: Mel Hatzis [mailto:hatzis@juniper.net] > Sent: Wednesday, February 25, 2004 12:09 AM > To: Mike Hoolehan > Cc: help-gnats@gnu.org; Imran Shafqat > Subject: Re: New PR ID needed after inserting through GNATSD .. > > Actually, the latest version of the GNATS sources has a patch for > returning the new PR number. This is one of the few changes > made after GNATS 4.0 was released. Here's the ChangeLog entry: > > 2003-08-30 Mel Hatzis , Andrew J. Gray > > > * client.c (get_reply): Check for outfp being NULL. > (netSendPRCmd): Add flag to show information received. All > callers changed. > * cmds.c (GNATS_subm): Send PR number for new submission. > * file-pr.c (submit_pr): Return PR number for new submission. > * pr-edit.c (long_options, handleNetworkEdit, main): Add > show_prnum option. > > If you opt to try this, be aware that it's a change to the GNATS > client/server interface (if you're using GNATS in network mode), > so you'll need to update the GNATS client binaries in addition > to the server. > > -Mel > > On 02/24/2004 08:39 AM, Mike Hoolehan submitted: > >>I maintain a perl module for communication with the gnats daemon. I >>originally intended to do the same thing as you for my "submitPR" > > method > >>(i.e. return the PR Number of the newly created PR) but instead > > decided > >>only to return true/false (depending on success/failure). As far as I >>know, since gnatsd doesn't supply the information on PR creation, the >>only way to reliably get the PR number of a new PR is to query again > > for > >>the exact same criteria. >> >>I left it up to my user to find the PR number of his/her new PR. >> >>Mike >> >> >>On Tue, 2004-02-24 at 13:16, Imran Shafqat wrote: >> >> >>>Dear All, >>> >>>I am writing GNATSD client in C#.Net. I need to push back the new PRID >>>generated by GNATS to the client. I have multiple clients that can >>>simultaneously enter new PRS. Can any one please guide me what is the >>>best way to return / get the PRID from the GNATS after insertion. >>> >>> >>> >>>Thanks in advance. >>> >>> >>> >>>Regards >>> >>>Imran Shafqat >>> >>>Software Engineer >>> >>>Xavor Pakistan >>> >>> >>> >>>______________________________________________________________________ >>>_______________________________________________ >>>Help-gnats mailing list >>>Help-gnats@gnu.org >>>http://mail.gnu.org/mailman/listinfo/help-gnat >> >>s >> >> >> > > ------------------------------------------------------------------------ > >>_______________________________________________ >>Help-gnats mailing list >>Help-gnats@gnu.org >>http://mail.gnu.org/mailman/listinfo/help-gnats > > > _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25063 invoked from network); 25 Feb 2004 14:17:51 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 25 Feb 2004 14:17:51 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Avzkd-00045l-Ap for listarch-gnats-devel@sources.redhat.com; Wed, 25 Feb 2004 09:11:03 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AvzkW-00044y-ME for help-gnats@gnu.org; Wed, 25 Feb 2004 09:10:56 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AvzaK-0001sU-1U for help-gnats@gnu.org; Wed, 25 Feb 2004 09:00:57 -0500 Received: from [12.5.16.138] (helo=mail.rrinc.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AvzUs-0008Iy-0P for help-gnats@gnu.org; Wed, 25 Feb 2004 08:54:46 -0500 Received: from 127.0.0.1 (localhost [127.0.0.1]) by dummy.domain.name (Postfix) with SMTP id 9BD9FA0D19; Wed, 25 Feb 2004 08:54:42 -0500 (EST) Received: from [191.173.42.9] (twix.rrinc.com [191.173.42.9]) by mail.rrinc.com (Postfix) with ESMTP id 4DB31A0D18; Wed, 25 Feb 2004 08:54:42 -0500 (EST) In-Reply-To: <403C569E.5070708@juniper.net> References: <403C569E.5070708@juniper.net> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <292EAC56-679A-11D8-82BC-000393C83AC4@rrinc.com> Content-Transfer-Encoding: 7bit From: Tim Buck Date: Wed, 25 Feb 2004 14:17:00 -0000 To: Mel Hatzis X-Mailer: Apple Mail (2.612) Cc: help-gnats@gnu.org Subject: Re: New PR ID needed after inserting through GNATSD .. X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , 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-q1/txt/msg00105.txt.bz2 On Feb 25, 2004, at 3:02 AM, Mel Hatzis wrote: > On 02/24/2004 11:01 PM, Imran Shafqat submitted: >> Thanks for your reply. >> Can you tell how can I use this patch through GNATSD ? > > You'll need to get the current development version of GNATS > from CVS...it contains very few changes from GNATS 4.0 and, > IMO, it's just as reliable. Is there support yet in gnatsweb for the returned PR number feature? Tim Buck * Information Technology Manager * Recognition Research, Inc. PHONE +1 540 961-6500 * FAX +1 540 961-3568 * EMAIL tbuck@rrinc.com Our lives are not determined by what happens to us, but by how we react to what happens. _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7713 invoked from network); 25 Feb 2004 14:52:35 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 25 Feb 2004 14:52:35 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Aw02B-0000FM-Gi for listarch-gnats-devel@sources.redhat.com; Wed, 25 Feb 2004 09:29:11 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Avzyd-00054g-92 for help-gnats@gnu.org; Wed, 25 Feb 2004 09:25:31 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Avzxa-0003Yd-2g for help-gnats@gnu.org; Wed, 25 Feb 2004 09:24:59 -0500 Received: from [192.18.42.13] (helo=nwkea-mail-1.sun.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Avzwa-0002Gq-II for help-gnats@gnu.org; Wed, 25 Feb 2004 09:23:24 -0500 Received: from phys-lego-1.Norway.Sun.COM ([129.159.112.5]) by nwkea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id i1PENI0J016324; Wed, 25 Feb 2004 06:23:19 -0800 (PST) Received: from sun.com (atum15 [129.159.112.215]) by phys-lego-1.Norway.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL,v2.3beta1412) with ESMTP id i1PENHXj015265; Wed, 25 Feb 2004 15:23:18 +0100 (MET) Message-ID: <403CAFCB.8020200@sun.com> Date: Wed, 25 Feb 2004 14:52:00 -0000 From: Yngve Svendsen User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Buck References: <403C569E.5070708@juniper.net> <292EAC56-679A-11D8-82BC-000393C83AC4@rrinc.com> In-Reply-To: <292EAC56-679A-11D8-82BC-000393C83AC4@rrinc.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: help-gnats@gnu.org, Mel Hatzis Subject: Re: New PR ID needed after inserting through GNATSD .. X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , 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-q1/txt/msg00106.txt.bz2 Tim Buck wrote: > > On Feb 25, 2004, at 3:02 AM, Mel Hatzis wrote: > >> On 02/24/2004 11:01 PM, Imran Shafqat submitted: >> >>> Thanks for your reply. >>> Can you tell how can I use this patch through GNATSD ? >> >> >> You'll need to get the current development version of GNATS >> from CVS...it contains very few changes from GNATS 4.0 and, >> IMO, it's just as reliable. > > > Is there support yet in gnatsweb for the returned PR number > feature? No, there isn't. I have been meaning to add it for some time, but I haven't been able to get it done yet. (Patches are of course always welcome.) Yngve Svendsen Gnatsweb maintainer _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats