Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to create diff files #16

Open
ajeanmahoney opened this issue Jan 3, 2024 · 0 comments
Open

Ability to create diff files #16

ajeanmahoney opened this issue Jan 3, 2024 · 0 comments
Assignees

Comments

@ajeanmahoney
Copy link
Collaborator

The current tools the RPC uses for creating HTML diff files of two versions of Internet-Draft text files are the command-line tools htmlwdiff, which creates inline diffs, and rfcdiff, which creates side-by-side diffs. The htmlwdiff script that the RPC uses is different from the bap htmlwdiff script in that it can strip headers and footers, end-of-line whitespace and \r (CR).

The software should provide the ability to create both side-by-side and inline diff files in HTML format. The user should be able to view and to save this file.

An online version of the diff functionality could create a diff file using the latest version of the Internet-Draft text file found in datatracker and the latest version of the text output created by the editing software as input.

However, the ability to create diff files using input that is not found in datatracker is also a use case: sometimes authors provide updated drafts that have not be uploaded, and April 1 drafts are never in datatracker. The user should be able to select a local file as the 'old' file to compare against.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants