Skip to content
This repository has been archived by the owner on Oct 12, 2020. It is now read-only.

Pre-fetch system and progress bar

Compare
Choose a tag to compare
@Ullaakut Ullaakut released this 30 Jun 19:07
· 68 commits to master since this release

Pre-fetch system and progress bar

This release introduces a new pre-fetch mechanism which quickly gets all stargazers of the repository, 100 by 100, without their contributions. This step is fast and allows Astronomer to do a few new things:

  • Filter the list of users to be scanned for contributions, removing blacklisted users (see documentation for more info on blacklisted users)
  • Predict the amount of users to scan and generate the cursors that can be used by fetchContributions to navigate through the users
    • This means that implementing the fast mode will now be trivial, since we will just need to reduce the number or cursors we give to the fetchContributions function, and take random ones. (See #10)
  • Adds a progress bar system, with ETA, elapsed time and a live progress % calculation (thanks to the awesome mpb library!)

Additionally, Astronomer now properly notifies users when their GitHub token is missing. It also updates the documentation to add a gif of Astronomer scanning itself.

Binaries

It is also the first release with a specific tag on the docker image (v0.3.0) and binary releases in GitHub.

Example

ezgif com-gif-maker (1)