Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unlicensed files in fakeserver & unit tests (from mailnews)

0 views
Skip to first unread message

Patrick Cloke

unread,
Sep 6, 2009, 1:26:27 PM9/6/09
to
There are a few files I was looking at using some code from that are
part of the fakeserver code (the unit tests) in mailnews. Unfortunately
not all of them have a license header. I talked to Standard8 on IRC
yesterday and he suggested I post here.

For example: maild.js [1] has a MPL license, but nntpd.js [2] does not
have a license.

All the files in the unit test directory [3] don't have licenses also
(although I'm only interested in test_nntpPassword.js,
test_getNewsMessage.js, head_server_setup.js, maybe a few others).

Are these files unlicensed or was the MPL header just never put on these
files (and nttpd.js above)? I'm hoping to use some of these files (or
bits of them) in an MPL project.

Any help would be appreciated.
-Patrick Cloke

[1]
http://mxr.mozilla.org/comm-central/source/mailnews/test/fakeserver/maild.js
[2]
http://mxr.mozilla.org/comm-central/source/mailnews/test/fakeserver/nntpd.js
[3] http://mxr.mozilla.org/comm-central/source/mailnews/news/test/unit/

Gervase Markham

unread,
Sep 7, 2009, 5:38:25 AM9/7/09
to
On 06/09/09 18:26, Patrick Cloke wrote:
> There are a few files I was looking at using some code from that are
> part of the fakeserver code (the unit tests) in mailnews. Unfortunately
> not all of them have a license header. I talked to Standard8 on IRC
> yesterday and he suggested I post here.
>
> For example: maild.js [1] has a MPL license,

Actually, to be accurate, it has an MPL/LGPL/GPL tri-license.

> but nntpd.js [2] does not
> have a license.

As a rule of thumb, you should assume all files created by Mozilla
Project participants and checked into our SCM systems are tri-licensed
unless they specifically say otherwise. Sometimes people forget to add
the header.

> Are these files unlicensed or was the MPL header just never put on these
> files (and nttpd.js above)? I'm hoping to use some of these files (or
> bits of them) in an MPL project.

An MPLed project or a tri-licensed project?

Gerv

Patrick Cloke

unread,
Sep 7, 2009, 10:27:39 AM9/7/09
to
On 9/7/2009 5:38 AM, Gervase Markham wrote:
> On 06/09/09 18:26, Patrick Cloke wrote:
>> There are a few files I was looking at using some code from that are
>> part of the fakeserver code (the unit tests) in mailnews. Unfortunately
>> not all of them have a license header. I talked to Standard8 on IRC
>> yesterday and he suggested I post here.
>>
>> For example: maild.js [1] has a MPL license,
>
> Actually, to be accurate, it has an MPL/LGPL/GPL tri-license.

I know it has the tri-license, but as I want to use it in an MPL project
the LGPL/GPL part doesn't really apply.

>> but nntpd.js [2] does not
>> have a license.
>
> As a rule of thumb, you should assume all files created by Mozilla
> Project participants and checked into our SCM systems are tri-licensed
> unless they specifically say otherwise. Sometimes people forget to add
> the header.

OK. Should I add a header to these files when using them to show where
they came from?

>> Are these files unlicensed or was the MPL header just never put on these
>> files (and nttpd.js above)? I'm hoping to use some of these files (or
>> bits of them) in an MPL project.
>
> An MPLed project or a tri-licensed project?

An MPL project.

-Patrick

Gervase Markham

unread,
Sep 8, 2009, 5:58:58 AM9/8/09
to
On 07/09/09 15:27, Patrick Cloke wrote:
> OK. Should I add a header to these files when using them to show where
> they came from?

If that makes it harder (patch-wise) to contribute changes back, then
no. If you have some reason to edit the Mozilla versions and check them
in, feel free to add an (accurate, which can require a little work)
header, and then use the new headered version.

Gerv

Gervase Markham

unread,
Sep 9, 2009, 5:30:44 AM9/9/09
to
On 08/09/09 10:58, Gervase Markham wrote:
> On 07/09/09 15:27, Patrick Cloke wrote:
>> OK. Should I add a header to these files when using them to show where
>> they came from?
>
> If that makes it harder (patch-wise) to contribute changes back, then
> no.

Nothing I say here should be construed as telling you not to add
licensing information to files if you or your lawyer consider it in any
way important or necessary.

:-)

Gerv

Patrick Cloke

unread,
Sep 29, 2009, 5:05:27 PM9/29/09
to

Thanks.

Would it be worth filing a bug about it? Even if I don't know the
correct heading?

-Patrick

Gervase Markham

unread,
Oct 1, 2009, 5:33:53 AM10/1/09
to
On 29/09/09 22:05, Patrick Cloke wrote:
> Would it be worth filing a bug about it? Even if I don't know the
> correct heading?

No; we know :-)

Gerv

0 new messages