YashKumarVerma / github-spy

a friendly bot to monitor activity and interactions on github repository
8 stars 5 forks source link

Add more details about any report #3

Open YashKumarVerma opened 3 years ago

YashKumarVerma commented 3 years ago

Currently, the report for star-gazers lists the user-names of the people that have starred the repo, but the file does not contain any other detail about them. Include the total number property in the object that's stored, and convert the array into array.

//currently the format for file: `<repoName>.starGazers.report.json`
["user1","user2"]

change it to

// fileName: `<repoName>.report.json`
{
    "starGazer": {
        "count":2,
        "users":["user1","user2"]
    }
}
yashkumarverma-assistant[bot] commented 3 years ago

Thanks @YashKumarVerma, for raising the issue! 🙌 One of our team mates will revert on this soon. ✅