vbrandl / hoc

Generate Hits-of-Code badges for GitHub repositories

Home Page:https://hitsofcode.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support of github project templates

dgroup opened this issue · comments

Test case:

  1. Create a new project on Github using template repository feature https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template.
  2. Check the HoC badge for newly created project
    Expected result: only commits from current repo are evaluated
    Actual result: all commits including template repository were evaluated, thus the HoC score is incorrect
    Recently i've started a new Github project https://github.com/dgroup/mpro2j with few commits and Hits-of-Code.

Sorry for missing your issue. The mail somehow slipped through...

I just created a new repository from a template. Right after creation, the repo contains a single commit that initializes the template.

The service shows just that: https://hitsofcode.com/github/vbrandl/test-from-template/view

Maybe I misunderstood your issue but it seems to work fine.

I'm closing this due to inactivity