The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Gnats::Command::REPL

DESCRIPTION

Appends to or replaces the contents of field in PR with the supplied text. The command returns a 201 (CODE_SEND_TEXT) response; the client should then transmit the new field contents using the standard PR quoting mechanism. After the server has read the new contents, it then attempts to make the requested change to the PR.

PROTOCOL

 REPL <PR number> <field>
 <CONTENTS>

RESPONSES

The possible responses are:

200 (CODE_OK) The PR field was successfully changed.

400 (CODE_NONEXISTENT_PR) The PR specified does not exist.

410 (CODE_INVALID_FIELD_NAME) The specified field does not exist.

402 (CODE_UNREADABLE_PR) The PR could not be read.

431 (CODE_GNATS_LOCKED) The database has been locked, and no PRs may be updated until the lock is cleared.

430 (CODE_LOCKED_PR) The PR is locked, and may not be altered until the lock is cleared.

413 (CODE_INVALID_FIELD_CONTENTS) The supplied (or resulting) field contents are not valid for the field.

6xx (internal error) An internal error occurred, usually because of permission or other filesystem-related problems. The PR may or may not have been altered.