IonicaBizau/github-contributions

Average archiving time?

lefoy opened this issue · 2 comments

I'm stuck at Archiving the repository. This may take a while. Please wait... since about 40 minutes, is it normal? I tried to generate 250 commit per day. I'm just wondering if the waiting time is normal or if it's some sort of bug. Thanks :)

Here's my json file:

{
    "coordinates": [
        {
            "x": 3,
            "y": 2
        },
        {
            "x": 3,
            "y": 3
        },
        {
            "x": 3,
            "y": 4
        },
        {
            "x": 3,
            "y": 5
        },
        {
            "x": 3,
            "y": 6
        },
        {
            "x": 4,
            "y": 6
        },
        {
            "x": 5,
            "y": 6
        },
        {
            "x": 7,
            "y": 2
        },
        {
            "x": 8,
            "y": 2
        },
        {
            "x": 9,
            "y": 2
        },
        {
            "x": 7,
            "y": 3
        },
        {
            "x": 7,
            "y": 4
        },
        {
            "x": 8,
            "y": 4
        },
        {
            "x": 7,
            "y": 5
        },
        {
            "x": 7,
            "y": 6
        },
        {
            "x": 8,
            "y": 6
        },
        {
            "x": 9,
            "y": 6
        },
        {
            "x": 11,
            "y": 2
        },
        {
            "x": 12,
            "y": 2
        },
        {
            "x": 13,
            "y": 2
        },
        {
            "x": 11,
            "y": 3
        },
        {
            "x": 11,
            "y": 4
        },
        {
            "x": 12,
            "y": 4
        },
        {
            "x": 11,
            "y": 5
        },
        {
            "x": 11,
            "y": 6
        },
        {
            "x": 15,
            "y": 2
        },
        {
            "x": 16,
            "y": 2
        },
        {
            "x": 17,
            "y": 2
        },
        {
            "x": 15,
            "y": 3
        },
        {
            "x": 17,
            "y": 3
        },
        {
            "x": 15,
            "y": 4
        },
        {
            "x": 17,
            "y": 4
        },
        {
            "x": 15,
            "y": 5
        },
        {
            "x": 17,
            "y": 5
        },
        {
            "x": 15,
            "y": 6
        },
        {
            "x": 16,
            "y": 6
        },
        {
            "x": 17,
            "y": 6
        },
        {
            "x": 19,
            "y": 2
        },
        {
            "x": 21,
            "y": 2
        },
        {
            "x": 19,
            "y": 3
        },
        {
            "x": 21,
            "y": 3
        },
        {
            "x": 20,
            "y": 4
        },
        {
            "x": 20,
            "y": 5
        },
        {
            "x": 20,
            "y": 6
        }
    ],
    "commitsPerDay": 250
}

This is an issue in the archiver library: archiverjs/node-archiver#114

However, the current workaround is to open the folder and push the repository on GitHub:

cd ~/.node/lib/node_modules/gh-contributions/lib/public/repos/<repo>
git remote add origin ...
git push --all

I have in plan to build a library to use built-in commands and fallback on JS calls which will give a faster response here. So, we will keep this open.

Thanks, I will use the workaround :)