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
address@hidden
http://mail.gnu.org/mailman/listinfo/help-gnat
s
------------------------------------------------------------------------
_______________________________________________
Help-gnats mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-gnats