Hacker News new | past | comments | ask | show | jobs | submit login

Joyent used to have the license on the top of virtually EVERY file in the repo for node. Someone removed all but one (6430 deletions) https://github.com/iojs/io.js/pull/311/files

I can imagine this makes up for a portion of it.




I remember this was a common thing in free/open source projects some time ago[0].

At some point people started to believe that this was not necessary. I am not sure of the legal implications, of either choice, just wanted to point out that the joyent people probably were not crazy :)

[0] e.g. a random file from ISC bind https://source.isc.org/git/?p=bind9.git;a=blob;f=bin/rndc/rn...


In every Berne Convention signatory country (which is pretty much any country that will matter to most people), published works are required by the convention to be copyrighted by default, whether or not there is a copyright notice, and the lack of a license means you have to assume you have none unless something else tells you differently. That basically makes embedding the license text pointless.

It certainly was common, though, which is/was probably because the US did not join until 1989, and prior to that US copyright law required a mandatory copyright notice, so a lot of people will have at least worked on projects old enough for this policy to have mattered.


Really? I've been putting the license in every file in my project because it's JavaScript and people drive by a website, see "foo.js" and have no idea where it came from or what license it's under. With the license in the file it's immediately clear.


If the file doesn't have a copyright notice, I'd assume the author is the website's owner and its license should apply.

Maybe there should be a convention to add a copyright.txt file to websites like there is robots.txt and humans.txt?


Usually you'd concatenate and minify deployed JavaScript anyway. Sometimes you get a license in that, sometimes you don't. I don't think that many people really copy that much JavaScript from live sites these days...


> That basically makes embedding the license text pointless.

Embedding the license makes sense because otherwise others have to assume they don't have the right to use. The copyright notice on the other hand is pointless.


If Joyent has the copyright, why could they remove these notes?

Or is this just a cosmetic thing and they removed it from the files but kept it in a separate license file?


The commit message:

"The copyright and license notice is already in the LICENSE file. There is no justifiable reason to also require that it be included in every file, since the individual files are not individually distributed except as part of the entire package."


> // Copyright Joyent, Inc. and other Node contributors.

Maybe the person who removed the copyright was a node contributor?

Heh, maybe its the same person who put the copyright at the top of every file in the first place.

(I have no idea, just a guess)


Not just someone, but @izs (former maintainer, creator and current co-founder of NPM)


That wasn't in the last month.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: