changelog_proccessor_poc

Creator: coderz1093

Last updated:

0 purchases

changelog_proccessor_poc Image
changelog_proccessor_poc Images

Languages

Categories

Add to Cart

Description:

changelog proccessor poc

This is a Proof Of Concept for GSOC project "Changelog Parser for pub.dev".
This takes in package name and Changelog.md url and generates a modified change log with versions as hyperlinks.
Features #

Get a modified log file with all versions as links
Fetch versions from pub.dev/api to prevent broken link errors
Generate Hyperlinks for all occurances, not just headings.

Usage #
Generate Modified Changelog from URL. #
ChangelogProcessor cp = await ChangelogProcessor.fromChangeLogURL(
"uuid",
Uri.parse(
"https://raw.githubusercontent.com/Daegalus/dart-uuid/master/CHANGELOG.md"));
String modifiedLogs = cp.getProccessedLog();
copied to clipboard
Generate Modified Changelog from MD Source #
String source = """
v1.0.0
....
....
""";

List<String> versions = [
"1.0.0",
"1.0.1",
...
]

String modifiedLogs = ChangelogProcessor.fromChangeLogSource("..name", versions, source).getProcessedLog();
copied to clipboard
Limitations #
This project solves a simplified version of the problem using regex r"v?(\d+.\d+.\d+), which might not be enough and edge cases might arise.
I hope to improve and enhance it in my GSOC internship.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.