Sorry it might be my turn on the Dunce hat but what is so "Git" here other than the contribution calendar popularized by Github then copied by Gitlab?
I feel like you answered your own question... Like I get it, but English is fluid and is it really that far to make the assumptive leap from "git" to "github/lab/service", seems pretty clear what they meant (even if it's not completely/technically/um-actually correct because git != github).
German parliament votes as a Git contribution graph
151–160 of 179 posts
Re: German parliament votes as a Git contribution graph
#152Re: German parliament votes as a Git contribution graph
#153Awesome! I was thinking about implementing something similar for the Swedish government APIs to improve transparency and knowledge of the democratic processes. I wonder how easy it is to adopt this project to that?
I've been wanting to do smth similar for the Bulgarian government for some time now. Let us know if you try to undertake this project
Re: German parliament votes as a Git contribution graph
#154Let us not confuse git and Github, the later belonging to a reviled US monopoly.
Re: German parliament votes as a Git contribution graph
#155Earlier quoted context omitted.
Git/github doesn' provide "Go to definition" and original post was about uselessness of committing law texts into git.
Let's leave github out of the discussion. That's a completely different beast. (And funny enough, github does provide 'go to definition' for some languages.) So my point was that git is obviously useful for source code of programs. And as you point out, git does not provide 'go to definition' for source code of programs. Hence I suggest that the inability of git to provide cross-references in legal text is about as r…
Git is useful for collaboration of multiple people on the same project. Is law making a collaboration? Typically there is a single person which signs the bill into a law. But there is collaboration during work on the bill, though.
But I do not think that people who make laws want to write git commands in the console. They want the GUI (ideally integrated into Microsoft Word). And if we are making GUI why not drop git and use a traditional relational database for storing the data?
Re: German parliament votes as a Git contribution graph
#156https://xcential.com/blog/version-control-for-law-tracking-c...
Re: German parliament votes as a Git contribution graph
#157This is nice, but it would be great to see some more features from VCS applied to laws, e.g. git blame and git log.
It exists. The "commits" to the legal code is published in a government gazette: https://en.wikipedia.org/wiki/Government_gazette The current laws are just the tip of the main branch. In theory you could run a git blame and find out exactly which update inserted which specific words into the code. There is even branches in case of state succession, like the breakup of the USSR.
Re: German parliament votes as a Git contribution graph
#158Earlier quoted context omitted.
German laws might work different, but I'm not really under the impression that software version control is really that compatible with law making. In source code we replace or modify the parts that doesn't work in place. Many laws does not work like that, they are a labyrinth of add ons. A new law is introduced with wordings like "This replaces the words "small businesses" with "nuclear rockets" in the law on "Workpl…
These wordings are basically a manual description of a diff. They wouldn't be necessary if version control would be used for laws. I actually think version control is an absolute necessity for laws.
Re: German parliament votes as a Git contribution graph
#159Earlier quoted context omitted.
I maintain a repository with all German legal acts which is up to date: https://github.com/jandinter/gesetze-im-internet I scrape the official website ( https://www.gesetze-im-internet.de ) once a week. The repository contains the "official" XML files with a formatting that is more focussed on presentation than on the logical structure of the legal acts, unfortunately ( https://www.gesetze-im-internet.de/dtd/1.01/gii…
Very cool! I came across your project last year while building https://digebu.de . I wanted to build an "IDE-inspired" law reader. It has selection highlighting and you can open references within the same window. It scrapes gesetze-im-internet.de daily, processes the XML to JSONS and builds static HTML pages, hosted on Github pages. The entire build process for the 6000+ pages takes 5-10 minutes. It uses up less than…
Re: German parliament votes as a Git contribution graph
#160There are also a repository containing some laws in markdown format on GitHub. They even used PRs for actual changes proposed by the parties in the parliament. Also, the commits have their proper date, so you can `git blame` on the laws and even see which president signed-off that change. Sadly, it is unmaintained. https://github.com/bundestag/gesetze
German laws might work different, but I'm not really under the impression that software version control is really that compatible with law making. In source code we replace or modify the parts that doesn't work in place. Many laws does not work like that, they are a labyrinth of add ons. A new law is introduced with wordings like "This replaces the words "small businesses" with "nuclear rockets" in the law on "Workpl…
Hard disagree. It allows you to attach a name to particular portions of the code (and a date), it shows you when the code moves from one status to another (branches), and you could even easily do things like show who voted/signed for any given piece.
What's not really compatible with law making as it is now, where to repeal a law it doesn't remove the offending code, but adds more code that says "now you can ignore that previous one". Those don't even make it into the official text until codification occurs (this is periodic, not continuous).
>In source code we replace or modify the parts that doesn't work in place. Many laws does not work like that, they are a labyrinth of add ons. A new law is introduced with wordings like "This replaces the words "small businesses" with "nuclear rockets" in the law on "Workplace safety of fishing vessels of 1992", §12, section 3, line 5.
Exactly. They've been doing it wrong (artifact of doing everything on paper, I think).