Skip to content

script doesn't entirely blank existing commit tiles #33

@numberoverzero

Description

@numberoverzero

It looks like existing commits aren't being pushed below the threshold for the tile coloring even when using the gitfiti option (which I think uses max_commits^2 if I'm reading the source correctly, but probably not).

In my run, this resulted in the surrounding pixels staying the lightest green color, and a stray darker green pixel inside the oneup (below the left eye).

The changes aren't taking a day for me to see, I think you can force a redraw by toggling the new contribution setting.

Before:

gitfiti-before

After:

gitfiti-after

My input when running the script:

Enter github url
Enter nothing for https://github.com/ to be used: 
Enter your github username:
>numberoverzero
Enter name of the repo to be used by gitfiti:
>$REPO
Enter the number of weeks to offset the image (from the left):
>8
By default gitfiti.py matches the darkest pixel to the highest
number of commits found in your github commit/activity calendar,

Currently this is : 38 commits

Enter the word "gitfiti" to exceed your max
(this option generates WAY more commits)
Any other input will cause the default matching behavior
>gitfiti
enter file(s) to load images from (blank if not applicable)
>
enter the image name to gitfiti
images: oneup, kitty, octocat, oneup_str, hello, hackerschool, octocat2, oneup2, hireme
>oneup2
gitfiti.sh saved.
Create a new(!) repo at: https://github.com/new and run it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions