mirror of
https://github.com/github/choosealicense.com
synced 2025-01-03 10:31:44 +01:00
double spaces can cause extra blank lines with wrapping
This commit is contained in:
parent
e0834369ca
commit
261fbd26d8
@ -76,17 +76,16 @@ letting the public access it on a server without ever releasing its source
|
||||
code to the public.
|
||||
|
||||
The GNU Affero General Public License is designed specifically to ensure that,
|
||||
in such cases, the modified source code becomes available to the community.
|
||||
|
||||
It requires the operator of a network server to provide the source code of the
|
||||
in such cases, the modified source code becomes available to the community. It
|
||||
requires the operator of a network server to provide the source code of the
|
||||
modified version running there to the users of that server. Therefore, public
|
||||
use of a modified version, on a publicly accessible server, gives the public
|
||||
access to the source code of the modified version.
|
||||
|
||||
An older license, called the Affero General Public License and published by
|
||||
Affero, was designed to accomplish similar goals. This is a different
|
||||
license, not a version of the Affero GPL, but Affero has released a new
|
||||
version of the Affero GPL which permits relicensing under this license.
|
||||
Affero, was designed to accomplish similar goals. This is a different license,
|
||||
not a version of the Affero GPL, but Affero has released a new version of the
|
||||
Affero GPL which permits relicensing under this license.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification
|
||||
follow.
|
||||
@ -101,14 +100,13 @@ follow.
|
||||
such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this License.
|
||||
|
||||
Each licensee is addressed as "you". "Licensees" and "recipients" may be
|
||||
individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work in a
|
||||
fashion requiring copyright permission, other than the making of an exact
|
||||
copy. The resulting work is called a "modified version" of the earlier work
|
||||
or a work "based on" the earlier work.
|
||||
copy. The resulting work is called a "modified version" of the earlier work or
|
||||
a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based on the
|
||||
Program.
|
||||
@ -129,8 +127,8 @@ extent that it includes a convenient and prominently visible feature that (1)
|
||||
displays an appropriate copyright notice, and (2) tells the user that there is
|
||||
no warranty for the work (except to the extent that warranties are provided),
|
||||
that licensees may convey the work under this License, and how to view a copy
|
||||
of this License. If the interface presents a list of user commands or
|
||||
options, such as a menu, a prominent item in the list meets this criterion.
|
||||
of this License. If the interface presents a list of user commands or options,
|
||||
such as a menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
The "source code" for a work means the preferred form of the work for making
|
||||
@ -154,7 +152,6 @@ used to produce the work, or an object code interpreter used to run it.
|
||||
The "Corresponding Source" for a work in object code form means all the source
|
||||
code needed to generate, install, and (for an executable work) run the object
|
||||
code and to modify the work, including scripts to control those activities.
|
||||
|
||||
However, it does not include the work's System Libraries, or general-purpose
|
||||
tools or generally available free programs which are used unmodified in
|
||||
performing those activities but which are not part of the work. For example,
|
||||
@ -279,13 +276,13 @@ Source under the terms of this License, in one of these ways:
|
||||
(gratis or for a charge), and offer equivalent access to the Corresponding
|
||||
Source in the same way through the same place at no further charge. You
|
||||
need not require recipients to copy the Corresponding Source along with
|
||||
the object code. If the place to copy the object code is a network
|
||||
server, the Corresponding Source may be on a different server (operated by
|
||||
you or a third party) that supports equivalent copying facilities,
|
||||
provided you maintain clear directions next to the object code saying
|
||||
where to find the Corresponding Source. Regardless of what server hosts
|
||||
the Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
the object code. If the place to copy the object code is a network server,
|
||||
the Corresponding Source may be on a different server (operated by you or
|
||||
a third party) that supports equivalent copying facilities, provided you
|
||||
maintain clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the Corresponding
|
||||
Source, you remain obligated to ensure that it is available for as long as
|
||||
needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided you
|
||||
inform other peers where the object code and Corresponding Source of the
|
||||
@ -299,7 +296,6 @@ the object code work.
|
||||
A "User Product" is either (1) a "consumer product", which means any tangible
|
||||
personal property which is normally used for personal, family, or household
|
||||
purposes, or (2) anything designed or sold for incorporation into a dwelling.
|
||||
|
||||
In determining whether a product is a consumer product, doubtful cases shall
|
||||
be resolved in favor of coverage. For a particular product received by a
|
||||
particular user, "normally used" refers to a typical or common use of that
|
||||
@ -329,8 +325,8 @@ work has been installed in ROM).
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates for a
|
||||
work that has been modified or installed by the recipient, or for the User
|
||||
Product in which it has been modified or installed. Access to a network may
|
||||
be denied when the modification itself materially and adversely affects the
|
||||
Product in which it has been modified or installed. Access to a network may be
|
||||
denied when the modification itself materially and adversely affects the
|
||||
operation of the network or violates the rules and protocols for communication
|
||||
across the network.
|
||||
|
||||
@ -384,13 +380,13 @@ material) supplement the terms of this License with terms:
|
||||
authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is governed
|
||||
by this License along with a term that is a further restriction, you may
|
||||
remove that term. If a license document contains a further restriction but
|
||||
permits relicensing or conveying under this License, you may add to a covered
|
||||
work material governed by the terms of that license document, provided that
|
||||
the further restriction does not survive such relicensing or conveying.
|
||||
restrictions" within the meaning of section 10. If the Program as you received
|
||||
it, or any part of it, contains a notice stating that it is governed by this
|
||||
License along with a term that is a further restriction, you may remove that
|
||||
term. If a license document contains a further restriction but permits
|
||||
relicensing or conveying under this License, you may add to a covered work
|
||||
material governed by the terms of that license document, provided that the
|
||||
further restriction does not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you must
|
||||
place, in the relevant source files, a statement of the additional terms that
|
||||
@ -464,8 +460,8 @@ portion of it.
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this License of
|
||||
the Program or a work on which the Program is based. The work thus licensed
|
||||
is called the contributor's "contributor version".
|
||||
the Program or a work on which the Program is based. The work thus licensed is
|
||||
called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims owned or
|
||||
controlled by the contributor, whether already acquired or hereafter acquired,
|
||||
@ -560,9 +556,9 @@ governed by version 3 of the GNU General Public License.
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of the
|
||||
GNU Affero General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
GNU Affero General Public License from time to time. Such new versions will be
|
||||
similar in spirit to the present version, but may differ in detail to address
|
||||
new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies that a certain numbered version of the GNU Affero General Public
|
||||
@ -578,7 +574,6 @@ of acceptance of a version permanently authorizes you to choose that version
|
||||
for the Program.
|
||||
|
||||
Later license versions may give you additional or different permissions.
|
||||
|
||||
However, no additional obligations are imposed on any author or copyright
|
||||
holder as a result of your choosing to follow a later version.
|
||||
|
||||
@ -645,7 +640,6 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If your software can interact with users remotely through a computer network,
|
||||
you should also make sure that it provides a way for users to get its source.
|
||||
|
||||
For example, if your program is a web application, its interface could display
|
||||
a "Source" link that leads users to an archive of the code. There are many
|
||||
ways you could offer source, and different solutions will be better for
|
||||
|
@ -142,17 +142,17 @@ without the Source
|
||||
|
||||
(5) You may Distribute Compiled forms of the Standard Version without the
|
||||
Source, provided that you include complete instructions on how to get the
|
||||
Source of the Standard Version. Such instructions must be valid at the time
|
||||
of your distribution. If these instructions, at any time while you are
|
||||
carrying out such distribution, become invalid, you must provide new
|
||||
instructions on demand or cease further distribution. If you provide valid
|
||||
instructions or cease distribution within thirty days after you become aware
|
||||
that the instructions are invalid, then you do not forfeit any of your rights
|
||||
under this license.
|
||||
Source of the Standard Version. Such instructions must be valid at the time of
|
||||
your distribution. If these instructions, at any time while you are carrying
|
||||
out such distribution, become invalid, you must provide new instructions on
|
||||
demand or cease further distribution. If you provide valid instructions or
|
||||
cease distribution within thirty days after you become aware that the
|
||||
instructions are invalid, then you do not forfeit any of your rights under
|
||||
this license.
|
||||
|
||||
(6) You may Distribute a Modified Version in Compiled form without the
|
||||
Source, provided that you comply with Section 4 with respect to the Source of
|
||||
the Modified Version.
|
||||
(6) You may Distribute a Modified Version in Compiled form without the Source,
|
||||
provided that you comply with Section 4 with respect to the Source of the
|
||||
Modified Version.
|
||||
|
||||
Aggregating or Linking the Package
|
||||
|
||||
@ -173,8 +173,8 @@ Items That are Not Considered Part of a Modified Version
|
||||
|
||||
(9) Works (including, but not limited to, modules and scripts) that merely
|
||||
extend or make use of the Package, do not, by themselves, cause the Package to
|
||||
be a Modified Version. In addition, such works are not considered parts of
|
||||
the Package itself, and are not subject to the terms of this license.
|
||||
be a Modified Version. In addition, such works are not considered parts of the
|
||||
Package itself, and are not subject to the terms of this license.
|
||||
|
||||
General Provisions
|
||||
|
||||
@ -183,17 +183,17 @@ Versions is governed by this Artistic License. By using, modifying or
|
||||
distributing the Package, you accept this license. Do not use, modify, or
|
||||
distribute the Package, if you do not accept this license.
|
||||
|
||||
(11) If your Modified Version has been derived from a Modified Version made
|
||||
by someone other than you, you are nevertheless required to ensure that your
|
||||
(11) If your Modified Version has been derived from a Modified Version made by
|
||||
someone other than you, you are nevertheless required to ensure that your
|
||||
Modified Version complies with the requirements of this license.
|
||||
|
||||
(12) This license does not grant you the right to use any trademark, service
|
||||
mark, tradename, or logo of the Copyright Holder.
|
||||
|
||||
(13) This license includes the non-exclusive, worldwide, free-of-charge
|
||||
patent license to make, have made, use, offer to sell, sell, import and
|
||||
otherwise transfer the Package with respect to any patent claims licensable by
|
||||
the Copyright Holder that are necessarily infringed by the Package. If you
|
||||
(13) This license includes the non-exclusive, worldwide, free-of-charge patent
|
||||
license to make, have made, use, offer to sell, sell, import and otherwise
|
||||
transfer the Package with respect to any patent claims licensable by the
|
||||
Copyright Holder that are necessarily infringed by the Package. If you
|
||||
institute patent litigation (including a cross-claim or counterclaim) against
|
||||
any party alleging that the Package constitutes direct or contributory patent
|
||||
infringement, then this Artistic License to you shall terminate on the date
|
||||
|
@ -187,11 +187,11 @@ Section 2 – Scope.
|
||||
doing so restricts exercise of the Licensed Rights by any
|
||||
recipient of the Licensed Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You are, or
|
||||
that Your use of the Licensed Material is, connected with, or
|
||||
sponsored, endorsed, or granted official status by, the Licensor or
|
||||
others designated to receive attribution as provided in Section
|
||||
6. No endorsement. Nothing in this Public License constitutes or may
|
||||
be construed as permission to assert or imply that You are, or that
|
||||
Your use of the Licensed Material is, connected with, or sponsored,
|
||||
endorsed, or granted official status by, the Licensor or others
|
||||
designated to receive attribution as provided in Section
|
||||
3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
@ -488,8 +488,8 @@ convey the exclusion of warranty; and each file should have at least the
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this library; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also
|
||||
add information on how to contact you by electronic and paper mail.
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add
|
||||
information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
|
@ -27,10 +27,9 @@ limitations:
|
||||
|
||||
zlib License
|
||||
|
||||
This software is provided 'as-is', without any express or implied warranty.
|
||||
|
||||
In no event will the authors be held liable for any damages arising from the
|
||||
use of this software.
|
||||
This software is provided 'as-is', without any express or implied warranty. In
|
||||
no event will the authors be held liable for any damages arising from the use
|
||||
of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it freely,
|
||||
|
@ -46,7 +46,7 @@ site.collections['licenses'].docs.each do |license|
|
||||
if line.length > 78
|
||||
indented_line = line.match(/\A(\s*)(.*)/)
|
||||
line_indent = indented_line[1]
|
||||
line_text = indented_line[2]
|
||||
line_text = indented_line[2] .gsub(/\s+/,' ')
|
||||
text_width = 78 - line_indent.length
|
||||
line = line_text.gsub(/(.{1,#{text_width}})(\s+|\Z)/, "#{line_indent}\\1\n")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user