News for hackers. Stuff that matters.
Re:Governments on GitHub by danthelion on Friday June 09, 2023 @08:03AM (#36256539)
I created a dashboard to monitor government activity on GitHub
Re:Governments on GitHub by taubek on Friday June 09, 2023 @10:31AM (#36258366)
What is the source of your data? How do you define "government activity on GitHub"? Do you look at domain used in contact, affiliation, etc.?
Re:Governments on GitHub by danthelion on Friday June 09, 2023 @10:38AM (#36258484)
This GitHub page was the starting point: https://government.github.com/community
Re:Governments on GitHub by Dunstark on Friday June 09, 2023 @10:59AM (#36258825)
From what I gather from this page it seems organisations need to be added by the community or organisation members. I know a few organisations that aren't on that list for my country like https://github.com/GouvernementFR, https://github.com/DISIC, https://github.com/ANSSI-FR and https://github.com/ansforge. No promises but I might make a PR tonight on the page you mentioned.
Re:Governments on GitHub by danthelion on Friday June 09, 2023 @11:04AM (#36258907)
That would be great, scraping that site is the entrypoint of my data pipeline!
Re:Governments on GitHub by mlinksva on Friday June 09, 2023 @11:38AM (#36259459)
Just out of curiosity about how people actually access stuff, does scraping mean (as I'd expect I guess) the rendered website, or consuming the data files https://github.com/github/government.github.com/tree/gh-page... ?

Querying wikidata may also be useful https://github.com/github/government.github.com/issues/877

Re:Governments on GitHub by danthelion on Friday June 09, 2023 @01:07PM (#36260817)
I have missed the data file entirely and just extracted all the entities from the rendered website, then enriched all the repositories with some extra info through the API (still ingesting some data for a few repos, hitting the API limit frequently).

The goal is to have a deeper level view of public government orgs, including a more granular view of contributors and how they interact with code.

Great idea about wikidata! That's another data rabbit-hole to climb down into.

Re:Governments on GitHub by l__l on Friday June 09, 2023 @01:38PM (#36261214)
Even from this page there appears to be a fair bit missing. E.g. one of the biggest UK gov orgs is @alphagov (~1.6k repos), which I can't seem to see on your dash?
Re:Governments on GitHub by rickette on Friday June 09, 2023 @09:22PM (#36266601)
For The Netherlands only a couple of organizations are listed there, lots are missing.
Re:Governments on GitHub by stuaxo on Saturday June 10, 2023 @05:29AM (#36269013)
What's the aim ?
Re:Governments on GitHub by prepend on Friday June 09, 2023 @10:35AM (#36258439)
I don’t think open issues is a very useful metric because an open issue may stick around for 10 years and just stay low priority. So number of open issues doesn’t really mean much. Maybe instead show issue velocity of how many created+closed each period to show activity. Or show commits.
Re:Governments on GitHub by danthelion on Friday June 09, 2023 @10:41AM (#36258536)
Yeah, I definitely agree, more sophisticated metrics are in the pipeline. Wanted to get an MVP out as quickly as possible.
Re:Governments on GitHub by yieldcrv on Friday June 09, 2023 @11:17AM (#36259123)
they're all useless vanity metrics that cannot offer any comparison to another organization or project

software that is complete also fails every vanity metric

Re:Governments on GitHub by prepend on Friday June 09, 2023 @07:11PM (#36265587)
It depends on what you’re measuring.

If you just want to see if a project is active then commits is useful.

If you want to see if there are multiple committers, then active people is useful.

I don’t think you should compare repos based on this metric, but knowing if a repo is active or not is something.

Re:Governments on GitHub by nonameiguess on Friday June 09, 2023 @11:08AM (#36258970)
No explanation of where this data is coming from or how it's being labeled? Your top table on the right hand side shows seven "countries" but only one of the names in there is actually the name of a country (Norway).

It looks like you're just taking the top-level headers from that "who's using Github" page? Civic Hacker is one of those and is showing up as a "country" in your dataset, but clearly isn't. Looking at the first few tiles, it includes at least a few US cities, some US states, and Romania.

Re:Governments on GitHub by danthelion on Friday June 09, 2023 @11:47AM (#36259620)
I can see how the "Country" name was confusing; thank you. Renamed it to "Government" for a bit more clarity.
Re:Governments on GitHub by stuaxo on Saturday June 10, 2023 @05:29AM (#36269011)
It's a bit overarching. Central gov is different to stuff that happens in regions. In the croudsourced list for these on GitHub the UK has UK Central Government and UK Councils, things are probably different for the say the ministry of justice Vs some small town.
Re:Governments on GitHub by srvmshr on Friday June 09, 2023 @11:59AM (#36259836)
I don't quite understand what this dashboard is aiming at. What is the target objective: government participation on FOSS, being mentioned, projects being funded or something else?
Re:Governments on GitHub by addcommitpush on Friday June 09, 2023 @12:26PM (#36260222)
I have some doubts about the data: the government of France has supposedly 1 repos, but for instance the French Statistics Office has 244 repos [0], the "digital" team of the Prime Minister's services has at least 537 repos, and that's what's on top of my head.

[0] https://github.com/orgs/InseeFrLab/repositories + https://github.com/orgs/InseeFr/repositories

[1] https://github.com/orgs/etalab/repositories + https://github.com/betagouv

Re:Governments on GitHub by danthelion on Friday June 09, 2023 @01:09PM (#36260835)
Thanks for flagging this! These were missing from the initial dataset I used as a starting point, but I can easily extend it myself.
Re:Governments on GitHub by addcommitpush on Saturday June 10, 2023 @06:48AM (#36269392)
Surely there are many more that are not present in the data set. How do you plan to find them?
Re:Governments on GitHub by starefossen on Tuesday June 13, 2023 @04:48AM (#36307440)
Here is a better list of Norwegian government agencies on GitHub https://github.com/MikAoJk/norwegian-public-organizations/tr...
Re:Governments on GitHub by moralestapia on Friday June 09, 2023 @12:49PM (#36260552)
Anyone (or the author) knows the name of the UI library the site is using?
Re:Governments on GitHub by danthelion on Friday June 09, 2023 @01:10PM (#36260853)
The dashboard was made using [rill](https://github.com/rilldata/rill), which uses Sveltekit
Re:Governments on GitHub by moralestapia on Friday June 09, 2023 @03:20PM (#36262756)
Awesome, great work. Thanks!
Re:Governments on GitHub by batmansmom1 on Friday June 09, 2023 @12:52PM (#36260593)
Can I browse the repos from this page?
Re:Governments on GitHub by danthelion on Friday June 09, 2023 @01:14PM (#36260889)
You can now, added the URL as a dimension!
Re:Governments on GitHub by tuukkah on Friday June 09, 2023 @01:15PM (#36260903)
Something broken in the source data, if I compare the organisations with the list that GitHub has crowdsourced: https://github.com/github/government.github.com/blob/gh-page...
Re:Governments on GitHub by stuaxo on Saturday June 10, 2023 @05:26AM (#36268995)
Yep, the amount of UK gov organisations seems very small compared to this list.
Re:Governments on GitHub by starefossen on Friday June 09, 2023 @03:42PM (#36263095)
Great, but most of the Norwegian governments are missing. Here is a more up to date list https://github.com/MikAoJk/norwegian-public-organizations/tr...
Re:Governments on GitHub by lotsoweiners on Friday June 09, 2023 @11:56PM (#36267447)
As a state government employee I don’t understand what the purpose of this is. For example, my organization has hundreds of repositories but they are all hosted internally on TFS. We have zero repositories on GitHub. Is the goal to show what government code looks like, get community help for the code, accountability, showing your tax dollars at work, something else?