A year in Discourse - Recap of 2015

AI-generated summary

In a recap of 2015 for the Discourse project, erlend_sh highlighted the year’s activity, noting the most popular topic was “The State of JavaScript on Android.” While discussing GitHub statistics, erlend_sh admitted difficulty retrieving specific contributor data via the API and invited help for the v1.5 release. mcwumbly suggested using git logs instead. DeanMarkTaylor stepped in by analyzing BigQuery data for the discourse/discourse repository, sharing visualizations and a Google Sheet with the results. Finally, cpradio provided a simpler alternative, pointing out that GitHub’s built-in graph allows users to view contributor ranges directly via URL parameters.

Discourse is a large open source project buzzing with activity, so a lot of cool things happen over the course of a year. Let’s look back at 2015 and pick out some highlights. Our Most Popular Topic of 2015 The most viewed topic of the year was The State of JavaScript on Android in 2015 is…


This topic is for comments on the original blog entry at: A Year in Discourse - Recap of 2015

10 лайков

p.s. I would have liked to include some proper GitHub statistics e.g: “unique contributors to Discourse (+ related projects) from Jan 1 2015 to Dec 31 2015” and so forth, but I can’t work out how to get this from the GitHub API.

If someone would like to lend a hand with this, let me know and I’ll be sure make good use of it, starting with our upcoming v1.5 release!

4 лайка

I think we should consider doing this with plain ol’ git rather than github.

The script that parses the logs to create release notes might be a good place to start. There might also be prior art out there.

1 лайк

Had a little play with BigQuery, first time I have so you might want to check for errors:

This is just for the github.com/discourse/discourse project.

SELECT
count(*) as count,
type as type,
STRFTIME_UTC_USEC(TIMESTAMP_TO_USEC(created_at), "%Y-%m-%d") as date
FROM (
  TABLE_DATE_RANGE([githubarchive:day.events_], 
    TIMESTAMP('2015-01-01'), 
    TIMESTAMP('2015-12-31')
  )) 
WHERE repo.name = "discourse/discourse"
AND NOT type contains "Comment"
GROUP BY date, type
ORDER BY date, type

I can provide a Google Sheet or CSV perhaps if needed.
Google Sheet here

4 лайка

You can provide a range of dates (see URL parameters)

2 лайка