gsoc icon indicating copy to clipboard operation
gsoc copied to clipboard

Replacing Google Analytics

Open MikeMcQuaid opened this issue 2 years ago • 6 comments

Homebrew uses Google Analytics but it would ideally be replaced with something else that's fully open source and, if necessary, self-hosted.

This replacement should only use aggregate metrics to count how many installs, users, etc. we have but without being able to drill down into information about any specific user.

A time-series database like InfluxDB may be a good backend. Any additional code should be written in a language familiar with Homebrew maintainers i.e. Ruby and Bash.

MikeMcQuaid avatar Feb 01 '22 14:02 MikeMcQuaid

For the dashboarding, we can probably consider using grafana, this is some good example that used in the CNCF community, https://k8s.devstats.cncf.io/d/12/dashboards?orgId=1&refresh=15m

chenrui333 avatar Feb 04 '22 17:02 chenrui333

@chenrui333 I don't think we want a public dashboard here, the current analytics site/API is sufficient here for now.

MikeMcQuaid avatar Feb 07 '22 09:02 MikeMcQuaid

I think this would be pretty popular publicly, too. I definitely agree we should go for this one. I'm going to provisionally tag it as a 350-hour project.

mistydemeo avatar Feb 14 '22 01:02 mistydemeo

Hi, Halil is here !

I want to contribute GSOC this year, I saw your project and as a daily homebrew user, I am very interested. I want to work on this issue. Where can I start?


I sent a mail to project mentors.


ping @chenrui333 @mistydemeo, I pinged from here because I thought you didn't see my email, sorry if I'm bothering you.

haliliceylan avatar Mar 14 '22 08:03 haliliceylan

Hey,

I couldn't see any mailing info on the gsoc page, hence pinging here.

image

I quite didn't understand what is meant by a trivial pull request, could you please tell me?

Also, as per the application instructions, it is mentioned to include a link to a previous PR to homebrew? Does that mean I have to have contributed previously to be considered?

I am quite interested in this idea, as I tend to use foss alternatives wherever I can and this really caught my eye. But I am not very familiar with Ruby (but have used Github actions and some shell scripting), and the Technologies Used section mentioned that previous Ruby knowledge wasn't required, which encouraged me to give this a try.

Could someone guide me with getting started?

AJAYK-01 avatar Mar 29 '22 17:03 AJAYK-01

I quite didn't understand what is meant by a trivial pull request, could you please tell me?

Any pull request to a repository in the Homebrew organisation.

Also, as per the application instructions, it is mentioned to include a link to a previous PR to homebrew? Does that mean I have to have contributed previously to be considered?

Yes. See https://github.com/homebrew/brew#contributing for more guides on contributing.

Could someone guide me with getting started?

I'm afraid we can't help you any more than the above. Good luck! ❤️

MikeMcQuaid avatar Mar 30 '22 15:03 MikeMcQuaid