Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

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();

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();

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages