/changelog-scraper

scripts for scraping changelogs from package requirements

Primary LanguagePythonMIT LicenseMIT

Changelog Scraper

Scripts for scraping changelogs from your dependencies.

Each step is composed of a different module for maximum flexibility. You are free to use them as you wish. For example, lets say you are upgrading to django 3 and want to check what package versions you need:

  1. cat requirements.txt | python python_get_repo_link.py > out.txt
  2. Get a github token with repo access
  3. cat out.txt | changelog_getter.py -t TOKEN -o changelogs
  4. cd changelogs && grep "django 3" -iR | less

Once you have the downloaded changelog files you are free to interact with them as you wish. You might do a simple grep like above, or get fancy by trying to parse the changelog.

Changelog parsers: