Golang on GitHub
github.com
github.com
To be clear, Go is not "on" GitHub except for its issue tracker and wiki. The code is being developed, reviewed and submitted on https://go.googlesource.com, using similar infrastructure to Android and Chromium.
RIP Dennis.
Obviously there wasn't Git back then, but did they use some sort of version control when developing C?
I'm gonna guess printouts.
https://github.com/golang/go/graphs/contributors
Is there a way to get this fixed?
Maybe they could also fix their recognition of email addresses to permit `<research!bwk>` too.
The script you linked does the same (we used a different now). We even contacted GitHub and they said we were out of luck, very sorry.
Now, I see golang has perfectly migrated all the timestamps. I wonder how they did that. If they used some private APIs, I would be very annoyed with GitHub support.
"The Go team will not be accepting pull-requests here. Contributions must still go through the normal code-review process and gerrit. The updated contribution steps are not yet available though."
Edit: @rurounijones points out that if there's a CONTRIBUTING.md in the repo then Github will show it when someone creates a PR. That's a great feature!
https://groups.google.com/d/topic/golang-dev/sckirqOWepg/dis...
I like e.g. https://trac.openstreetmap.org/browser/chef
https://hg.python.org/cpython/
Another interface I prefer is:
IMHO it's an error, but I am not a core python developer
I like Bitbucket's side-by-side diff view so much, that I think I prefer Bitbucker for browsing.
But this is only because Bitbucket has the side-by-side diff view, anf GitHub does not.
Allow me to suggest that GitHub is at minimum the most-visited web-based git repo, which means that if you want a lot of people to view and use your code, it's a good place to mirror.
Not that it really matters, right now, as we're in a pre-release freeze.
Go's contribution workflow does not use PRs.
It should be back soon-ish.
For instance "spaolacci" is #86 with 8 commits, he's only ever been an author not a committer: https://github.com/golang/go/commits?author=spaolacci
➜ go hg log --user "Shawn Smith" | grep user | wc -l
32
Edit: I'm there now. Not sure what fixed it, starring the repo or adding my email address to GitHub.
hg log --user "Shawn Smith" --template "{rev}:{author}\n" | wc -l
Of course, hg output is also meant to be parseable, so there's nothing wrong with grepping. I just wanted to talk about the awesomeness of hg templates. :-)http://mercurial.selenic.com/wiki/GenericTemplatingPlan
Edit: Oh, oh, and another way to count without even using wc -l, using the churn extension and a revset!
hg --config extensions.churn= churn -r "user('Shawn Smith')" -c
Naturally, if you enable the churn extension in your ~/.hgrc, this is just hg churn -r "user('Shawn Smith')" -c
Mercurial is a very cool DVCS, and it makes me very happy, and its features need to be more frequently talked about. :-)The most likely reasons are:
- your email address used for your Go contribution is not associated with your GitHub account
- your contribution is over a year old
- you haven't starred the projectFor example, Eigen, a very widely used math library, switched licenses because they were mistaken about the implications of LGPL, and as it started getting more widely used, it started affecting usage.
Other projects grow runtime libraries, and discover they don't want licenses that require attribution for those, because then everyone who makes a binary has to ship notices, etc.
There are even simpler cases.
For example, llgo, the Go language frontend for LLVM, is being contributed to the LLVM project. This requires a license change to the same license as LLVM. Because there were no contributor agreements, every contributor had to be tracked down and asked. A bunch are either dead or not around anymore, and now those contributions have to be rewritten or excised. This has slowed them down a few months so far (at least from my view, pcc can surely correct me if it hasn't been that long)
In terms of how often this happens, i've personally helped about 50 medium-high profile open source projects change licenses, and it's not even my "real job". It's fairly common that as a project goes from nothing to having a lot of users, they end up having to change something about their licensing.
It's also a massive pain when there are no CLA's.
(FWIW: From a legal standpoint, this doesn't make any sense. Either all-in or all-out makes sense. There is no legal distinction to be drawn that the above captures, AFAIK)
All code committed to the Rust repository goes through someone who has signed a CLA, including this section.
Rust uses the same policies here as Firefox.
Or not?
If so, then Rust requires CLAs. Great, legally sound.
If not, this makes no legal sense. Simply having people with a CLA commit it buys you nothing, legally :)
As I said, all-in and all-out policies make sense. Pass through policies (IE i can commit code by another), you may as well have no CLA. It's just overhead with no legal benefit. The benefit of CLA's is to have legal assertions about ownership and patents, from the people who wrote the code.
So without having the people who actually wrote the code make those assertions, you get nothing legally.
In those cases, or if it isn't your goal (like the DCO folks), you might as well move to the developers certificate of origin model, and get the same benefits, without any of the overhead.
1. Any Github user submits a PR. This user is not required to have a name or a valid email address.
2. Anyone with review access to the Rust repository (disclaimer: myself included) reviews the PR and leaves a comment on the commit. A bot sees the comment and queues the PR for integration.
I can't comment on the legal implications, but the effect of this process is that there is a very low barrier to entry to contributing and likely explains why the total number of contributors (as measured by Github) is so high.
As to the issue of potential relicensing, the Rust repo is already about as permissively licensed as it gets (a dual license of MIT/Apache 2.0). As far as I understand, this already means that anyone can take the code and relicense it at will (I believe this is exactly what LibreOffice did to OpenOffice). At that point you'd probably still need to distribute the MIT license with each of the original files, but new contributions (and the project as a whole) would be covered by GPL or what have you.
As for relicensing:
Both MIT and Apache require copyright notices be reproduced when you ship binaries. I'll assume MIT since it is the more permissive (Apache also requires you give the user a copy of the license, etc).
Rust is statically linked by default, IIRC (and even shared linking often ends up with some runtime code statically linked in).
If Rust binaries include parts of the MIT code by default (I haven't looked at how the runtime and ABI support is structured), then anyone who ships those binaries would be required to reproduce the copyright notice somewhere.
You cannot take this code and relicense it at will, actually. But you can achieve the same practical effect as relicensing, as long as you reproduce the notice, so i won't get into it unless you really want me to :)
(But note that reproducing the notice is exactly the issue for runtime libraries, and without CLA's in place, you would hav to go and ask all contributors who have ever contributed to the runtime libraries in order to be able to remove that notice reproduction requirement)
> If Rust binaries include parts of the MIT code by default
> (I haven't looked at how the runtime and ABI support is
> structured), then anyone who ships those binaries would
> be required to reproduce the copyright notice somewhere.
This contradicts other projects that I've seen. From LLVM's documentation (http://llvm.org/docs/DeveloperPolicy.html#license):"In addition to the UIUC license, the runtime library components of LLVM (compiler_rt, libc++, and libclc) are also licensed under the MIT License, which does not contain the binary redistribution clause. As a user of these runtime libraries, it means that you can choose to use the code under either license (and thus don’t need the binary redistribution clause), and as a contributor to the code that you agree that any contributions to these libraries be licensed under both licenses. We feel that this is important for runtime libraries, because they are implicitly linked into applications and therefore should not subject those applications to the binary redistribution clause."
The "binary redistribution clause" referenced from the UIUC license (http://opensource.org/licenses/UoI-NCSA.php) reads as follows:
"Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution."
Given that it seems that LLVM chose MIT specifically to sidestep any need for end users to distribute licenses with binaries compiled via LLVM, I'd be curious to know where the discrepancy here is.
Basically, we messed up when we changed the runtime license (I said MIT license when I meant zlib license, which only requires reproduction of notices in the source code), and had to issue a policy statement on the license to make people happy. It is not accurate, legally, in its description of the MIT license. Effectively, by this statement, we are giving permission to not reproduce the notice, even though the license would actually require it.
You don't have to take my word for it though, ask any other open source lawyer whether MIT requires notice reproduction for binaries.
:)
I would urge Rust not to make the same mistake. (This mistake is currently being fixed in a few other "new" languages, in fact)
I'm guessing you can't go giving out concrete legal advice for free, but could you point us towards languages that are fixing this? I see that Julia's stdlib uses MIT for non-external libraries,[1] and Go uses a BSD-style license that explicitly requires distributing the license with binaries,[2] so they're both in the same boat we are. AFAICT D's stdlib uses the Boost license[3] which explicitly allows one to forgo distributing the license with compiled artifacts, but I don't know if solving this issue entirely would require the entire compiler to be licensed under Boost as well. Presuming that interpreted languages can gracefully ignore this issue, I don't know which other "new" languages we could look at for inspiration.
[1] https://github.com/JuliaLang/julia/blob/master/LICENSE.md
[2] https://github.com/golang/go/blob/master/LICENSE
[3] https://github.com/D-Programming-Language/phobos/blob/master...
Please note that kibwen is not part of the core Rust team.
If you don't fix this, you end up with two situations:
1. You accidentally create copyright infringers out of a lot of folks, because the number of people who will properly reproduce the license with static binaries is small.
2. Because of #1, you expose folks to a bunch of liability they weren't expecting.
Neither is a great thing to do to your users.
Combined with the fact that you don't have CLA's that grant you explicit sublicensing rights, anyone who contributes could go off and easily have a sane case against someone for not reproducing the notice. Statutory damages for copyright infringement are up to 150k in the US, sadly.
Anyway, as for other languages, this is being fixed for Go's runtime bits (and possibly stdlib), which i can talk about, but it's not really my secret to share in the case of the other languages I know about fixing it.
> Anyway, as for other languages, this is being fixed for
> Go's runtime bits (and possibly stdlib), which i can talk
> about
Even if I have no power to change anything about Rust myself, if you care to advise I'd love to listen and potentially pass on your wisdom to the core team. And if you'd prefer a different medium than HN comments, you can find my email in my profile. :)This is common to many CLAs (sane ones, at least). The Go CLA (really the Google CLA[1]) also does not assign copyright to the Go project, it gives them a license to "reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works"
[1] https://cla.developers.google.com/about/google-individual
No license agreement should be assigning copyright.
IE All CLA's should be licenses, not assignments.
Any project with a copyright assignment doesn't have a CLA, they have a copyright assignment. :)
Every Google project uses its own repository, issue tracker, and mailing list. Even many Mozilla projects such as SpiderMonkey require some knowledge to access their infrastructure. However, almost all development in Rust are done only using GitHub. No external dependencies. One exception that is not part of GitHub would be the build bot, though it doesn't matter much.
I know that GitHub centralization is not a good sign, but Rust's all-in-one approach really lowers the barrier to entry significantly.
https://github.com/rust-lang/rust-buildbot https://github.com/graydon/bors/tree/rust
[1] https://github.com/golang/go/commit/912ec1990bd09f8fc128c3fa...
Go overuse is purely intended.
Also note that "issue" does not necessary mean "bug". Such trackers are also used to request features just like in this case. Many of the D and Go "issues" are actually feature requests.
'Go' sounds like a bad sports drink.
Does anyone think the same?
Is it for the greater good to be inviting for more pragmatic thinkers (instead of people who care about aesthetics)?
Which happens to be a amazing game not only for abstract thinkers, but for aesthetic beauty.