Closed
Bug 750294
Opened 13 years ago
Closed 12 years ago
Update about:license to give link to Hg rev and build instructions
Categories
(mozilla.org :: Licensing, task)
mozilla.org
Licensing
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gerv, Assigned: gerv)
References
Details
Attachments
(1 file, 2 obsolete files)
2.82 KB,
patch
|
Details | Diff | Splinter Review |
See bug 749312 - it would be convenient to stop having to ship tarballs of source on our FTP server. This in no way changes Mozilla's commitment to provide source to its products - it's just that tarballs of each version are a very inefficient way of doing it, and the MPL 2 has been given additional flexibility over MPL 1.1 that we should take advantage of.
The MPL 2's requirements on this are in sections 3.1 and 3.2. By design :-), they are not onerous to comply with.
3.2: "You must inform recipients of the Executable Form how they can obtain a copy of such Source Code Form by reasonable means in a timely manner, at a charge no more than the cost of distribution to the recipient".
At the bottom of the About box, we link to "Licensing Information", which takes you to about:license. We should update the blurb at the top of about:license to give the necessary Hg URL alongside the download instructions. That meets MPL 2's requirements.
Gerv
Updated•13 years ago
|
Blocks: daily-beta
Assignee | ||
Comment 1•13 years ago
|
||
Here's a patch.
Gerv
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 619594 [details] [diff] [review]
Patch v.1
Requesting sanity check from Luis.
Gerv
Attachment #619594 -
Flags: review?(villalu)
Assignee | ||
Updated•13 years ago
|
Summary: Update about:license to link to about:buildconfig → Update about:license to give link to Hg rev and build instructions
Comment on attachment 619594 [details] [diff] [review]
Patch v.1
Review of attachment 619594 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/content/license.html
@@ +34,5 @@
> <a href="http://www.gnu.org/philosophy/free-sw.html">free</a> and
> <a href="http://www.opensource.org/docs/definition.php">open source</a>.
> +#ifdef SOURCE_REPO
> +#ifdef SOURCE_CHANGESET
> +The specific source code is identified by the URL <a href="@SOURCE_REPO@/rev/@SOURCE_CHANGESET@">@SOURCE_REPO@/rev/@SOURCE_CHANGESET@</a>,
I would say "specific source code _for this product_." Otherwise, looks good.
Assignee | ||
Comment 4•13 years ago
|
||
Status: NEW → ASSIGNED
Comment 5•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/15.0 Firefox/15.0a1
2012-05-03 Nightly
There are 2 problems here:
1. You've added a random "h" to the beginning of about:license.
2. This patch doesn't actually work (at least, I don't see anything from the #ifdef block).
As this is more than a text change it should have a code review as well.
I think this should be backed out until a new patch has been created and properly reviewed.
Assignee | ||
Comment 7•13 years ago
|
||
AIUI, you may not necessarily see anything in a self-built build; it may be that those params are only defined for more official builds. I used the code from about:buildconfig. Do you see an Hg URL there? If you do, but not one in about:license, then it's broken.
Do jump on to IRC to chat about it. I'm not opposed to backing it out, but I want to make sure it's actually broken first :-)
The "h" is clearly a mistake, easily fixed.
Gerv
(In reply to Gervase Markham [:gerv] from comment #7)
> AIUI, you may not necessarily see anything in a self-built build; it may be
> that those params are only defined for more official builds. I used the code
> from about:buildconfig. Do you see an Hg URL there? If you do, but not one
> in about:license, then it's broken.
Yes, in about:buildconfig is see: "Built from http://hg.mozilla.org/mozilla-central/rev/807403a04a6a"
This is Nightly build from Mozilla (see "2012-05-03 Nightly" in comment 6), not self-built.
Assignee | ||
Comment 9•13 years ago
|
||
Hmm. Clearly the preprocessor does not work as simply as I thought.
I would back it out, but mozilla-inbound is currently closed. In the mean time, I'll try and get it working.
Gerv
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•13 years ago
|
||
See also bug 751599.
Gerv
Comment 11•13 years ago
|
||
(In reply to Gervase Markham [:gerv] from comment #7)
> AIUI, you may not necessarily see anything in a self-built build; it may be
> that those params are only defined for more official builds. I used the code
> from about:buildconfig. Do you see an Hg URL there? If you do, but not one
> in about:license, then it's broken.
>
> Do jump on to IRC to chat about it. I'm not opposed to backing it out, but I
> want to make sure it's actually broken first :-)
>
> The "h" is clearly a mistake, easily fixed.
>
> Gerv
Bug 754912 fixed the "h" problem. I still think that this should be backed out because it is unreviewed and doesn't work.
Assignee | ||
Comment 12•13 years ago
|
||
Backed out:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0cbcefdd3c48
Gerv
Comment 13•13 years ago
|
||
Assignee | ||
Comment 14•13 years ago
|
||
Here is a version which does not require the preprocessor. That's much better than nothing, and avoids the tarpit that is bug 751599.
Gerv
Attachment #619594 -
Attachment is obsolete: true
Attachment #619594 -
Flags: review?(villalu)
Attachment #634466 -
Flags: review?(djcater+bugzilla)
Assignee | ||
Comment 15•12 years ago
|
||
Unbitrotted. djcater seems to have gone. This patch no longer contains a code component, so I am just going to check it in.
Gerv
Attachment #634466 -
Attachment is obsolete: true
Attachment #634466 -
Flags: review?(djcater+bugzilla)
Assignee | ||
Comment 16•12 years ago
|
||
Comment 17•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 13 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•