help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch to display new PR number for new submissions


From: Mel Hatzis
Subject: Re: patch to display new PR number for new submissions
Date: Sun, 08 Dec 2002 12:14:43 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

On 12/07/2002 10:25 PM, Andrew J. Gray submitted:

Now that 4.0 beta2 is out the door please review
(and hopefully accept) the following patch which
allows send-pr and "pr-edit --submit" to display
newly created PR numbers.

Thanks for submitting that patch, I have had a look at it.

I have a concern that the changes it makes to the gnatsd command
protocol break the assumption that clients should not attempt to parse
the message strings on response lines from the server.

As I understand it the current protocol for submitting PRs goes
something like:

-> SUBM
<- 211 Ok.
-> <PR contents>
-> <PR contents>
-> .
<- 210 PR Added.

(-> is from the client, <- is from the server)
With your changes the response from the server would be, for example:

<- 210 PR 68 Added.

I was thinking that it would be more consistent to have the server
return:

<- 351-The added PR number is:
<- 350 68

What do you think? Can you see problems with implementing the "return
PR number to submitter" functionality in the way I am suggesting?
I see no problems with your suggested approach.

I try to code modifications to your patch along these lines.

OK great....thanks for looking at the patch.

--
Mel Hatzis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]