rossabaker / abolish-ice-graphiti

Script to make your GitHub contribution graph read "abolish ice"
Creative Commons Zero v1.0 Universal
16 stars 6 forks source link

Calculate max number of commits if a github username is provided. #12

Closed wolfwood closed 4 years ago

wolfwood commented 4 years ago

also allows commitmax to be provided. fetched value is preferred over manual commitmax if both username and commitmax are specified. tries to be smart about detecting curl and wget as a fallback

can be used as username=wolfwood ../paint.sh

I left off the edit to make I=$((${PARAMS[3]}*$(($commitmax+1))))) since that would conflict with the merging of #8, but this effectively resolves #2

BenBE commented 4 years ago

Resolved the situation on my branch. Merge mine first, than adding this one just clicks pieces into place.

rossabaker commented 4 years ago

If this pushes us into creating more than 3600 commits, we've got a problem with the time generation, but that should be unusual, and can be fixed elsewhere.