Hi all,

On 4/24/25 3:36 PM, Ted Lemon wrote:
Or the RPC could not reformat the source code other than when adding text, and then only on the line where the text is added.

[JM] The RPC may need to update artwork and sourcecode (or ask the authors to update) to ensure that they fit within the column limit set by xml2rfc.

The RPC validates four types of sourcecode: YANG, MIB, XML, and ABNF. The RPC formats and validates YANG modules using pyang [1]. The RPC will also check and update the formatting of ABNF so that it can be validated with bap [2].

Best regards,
Jean

[1] https://github.com/mbj4668/pyang
[2] https://author-tools.ietf.org/abnf

From the perspective of an author, any other reformatting makes it significantly harder to do reviews in AUTH48. Speaking from recent experience.

On Thu, Apr 24, 2025, at 11:52 AM, Michael Richardson wrote:
Paul Hoffman <[email protected] <mailto:[email protected]>> wrote:
    > This thread has become very author-hostile. "You are forced to deal
    > with changes that are being made to match some people's preferred
    > viewing of your source material."

That's exactly what the RPC does today.

If the author hasn't used NSNL, then ANY diff the RPC produces is going to be
harder to view.  In order to minimize that, they could do NSNL in their
editing.   Whether or not they reformat EVERYTHING is another question.


_______________________________________________
rfc-interest mailing list -- [email protected] <mailto:rfc- [email protected]> To unsubscribe send an email to [email protected] <mailto:[email protected]>



_______________________________________________
rfc-interest mailing list -- [email protected]
To unsubscribe send an email to [email protected]

_______________________________________________
rfc-interest mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to