4
0

LICENSE 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. Copyright (c) 2013 The go-github AUTHORS. All rights reserved.
  2. Redistribution and use in source and binary forms, with or without
  3. modification, are permitted provided that the following conditions are
  4. met:
  5. * Redistributions of source code must retain the above copyright
  6. notice, this list of conditions and the following disclaimer.
  7. * Redistributions in binary form must reproduce the above
  8. copyright notice, this list of conditions and the following disclaimer
  9. in the documentation and/or other materials provided with the
  10. distribution.
  11. * Neither the name of Google Inc. nor the names of its
  12. contributors may be used to endorse or promote products derived from
  13. this software without specific prior written permission.
  14. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  15. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  16. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  17. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  18. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  19. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  20. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  21. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  22. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  23. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  24. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  25. ----------
  26. Some documentation is taken from the GitHub Developer site
  27. <https://developer.github.com/>, which is available under the following Creative
  28. Commons Attribution 3.0 License. This applies only to the go-github source
  29. code and would not apply to any compiled binaries.
  30. THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
  31. COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
  32. COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
  33. AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
  34. BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
  35. TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
  36. BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
  37. CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
  38. CONDITIONS.
  39. 1. Definitions
  40. a. "Adaptation" means a work based upon the Work, or upon the Work and
  41. other pre-existing works, such as a translation, adaptation,
  42. derivative work, arrangement of music or other alterations of a
  43. literary or artistic work, or phonogram or performance and includes
  44. cinematographic adaptations or any other form in which the Work may be
  45. recast, transformed, or adapted including in any form recognizably
  46. derived from the original, except that a work that constitutes a
  47. Collection will not be considered an Adaptation for the purpose of
  48. this License. For the avoidance of doubt, where the Work is a musical
  49. work, performance or phonogram, the synchronization of the Work in
  50. timed-relation with a moving image ("synching") will be considered an
  51. Adaptation for the purpose of this License.
  52. b. "Collection" means a collection of literary or artistic works, such as
  53. encyclopedias and anthologies, or performances, phonograms or
  54. broadcasts, or other works or subject matter other than works listed
  55. in Section 1(f) below, which, by reason of the selection and
  56. arrangement of their contents, constitute intellectual creations, in
  57. which the Work is included in its entirety in unmodified form along
  58. with one or more other contributions, each constituting separate and
  59. independent works in themselves, which together are assembled into a
  60. collective whole. A work that constitutes a Collection will not be
  61. considered an Adaptation (as defined above) for the purposes of this
  62. License.
  63. c. "Distribute" means to make available to the public the original and
  64. copies of the Work or Adaptation, as appropriate, through sale or
  65. other transfer of ownership.
  66. d. "Licensor" means the individual, individuals, entity or entities that
  67. offer(s) the Work under the terms of this License.
  68. e. "Original Author" means, in the case of a literary or artistic work,
  69. the individual, individuals, entity or entities who created the Work
  70. or if no individual or entity can be identified, the publisher; and in
  71. addition (i) in the case of a performance the actors, singers,
  72. musicians, dancers, and other persons who act, sing, deliver, declaim,
  73. play in, interpret or otherwise perform literary or artistic works or
  74. expressions of folklore; (ii) in the case of a phonogram the producer
  75. being the person or legal entity who first fixes the sounds of a
  76. performance or other sounds; and, (iii) in the case of broadcasts, the
  77. organization that transmits the broadcast.
  78. f. "Work" means the literary and/or artistic work offered under the terms
  79. of this License including without limitation any production in the
  80. literary, scientific and artistic domain, whatever may be the mode or
  81. form of its expression including digital form, such as a book,
  82. pamphlet and other writing; a lecture, address, sermon or other work
  83. of the same nature; a dramatic or dramatico-musical work; a
  84. choreographic work or entertainment in dumb show; a musical
  85. composition with or without words; a cinematographic work to which are
  86. assimilated works expressed by a process analogous to cinematography;
  87. a work of drawing, painting, architecture, sculpture, engraving or
  88. lithography; a photographic work to which are assimilated works
  89. expressed by a process analogous to photography; a work of applied
  90. art; an illustration, map, plan, sketch or three-dimensional work
  91. relative to geography, topography, architecture or science; a
  92. performance; a broadcast; a phonogram; a compilation of data to the
  93. extent it is protected as a copyrightable work; or a work performed by
  94. a variety or circus performer to the extent it is not otherwise
  95. considered a literary or artistic work.
  96. g. "You" means an individual or entity exercising rights under this
  97. License who has not previously violated the terms of this License with
  98. respect to the Work, or who has received express permission from the
  99. Licensor to exercise rights under this License despite a previous
  100. violation.
  101. h. "Publicly Perform" means to perform public recitations of the Work and
  102. to communicate to the public those public recitations, by any means or
  103. process, including by wire or wireless means or public digital
  104. performances; to make available to the public Works in such a way that
  105. members of the public may access these Works from a place and at a
  106. place individually chosen by them; to perform the Work to the public
  107. by any means or process and the communication to the public of the
  108. performances of the Work, including by public digital performance; to
  109. broadcast and rebroadcast the Work by any means including signs,
  110. sounds or images.
  111. i. "Reproduce" means to make copies of the Work by any means including
  112. without limitation by sound or visual recordings and the right of
  113. fixation and reproducing fixations of the Work, including storage of a
  114. protected performance or phonogram in digital form or other electronic
  115. medium.
  116. 2. Fair Dealing Rights. Nothing in this License is intended to reduce,
  117. limit, or restrict any uses free from copyright or rights arising from
  118. limitations or exceptions that are provided for in connection with the
  119. copyright protection under copyright law or other applicable laws.
  120. 3. License Grant. Subject to the terms and conditions of this License,
  121. Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
  122. perpetual (for the duration of the applicable copyright) license to
  123. exercise the rights in the Work as stated below:
  124. a. to Reproduce the Work, to incorporate the Work into one or more
  125. Collections, and to Reproduce the Work as incorporated in the
  126. Collections;
  127. b. to create and Reproduce Adaptations provided that any such Adaptation,
  128. including any translation in any medium, takes reasonable steps to
  129. clearly label, demarcate or otherwise identify that changes were made
  130. to the original Work. For example, a translation could be marked "The
  131. original work was translated from English to Spanish," or a
  132. modification could indicate "The original work has been modified.";
  133. c. to Distribute and Publicly Perform the Work including as incorporated
  134. in Collections; and,
  135. d. to Distribute and Publicly Perform Adaptations.
  136. e. For the avoidance of doubt:
  137. i. Non-waivable Compulsory License Schemes. In those jurisdictions in
  138. which the right to collect royalties through any statutory or
  139. compulsory licensing scheme cannot be waived, the Licensor
  140. reserves the exclusive right to collect such royalties for any
  141. exercise by You of the rights granted under this License;
  142. ii. Waivable Compulsory License Schemes. In those jurisdictions in
  143. which the right to collect royalties through any statutory or
  144. compulsory licensing scheme can be waived, the Licensor waives the
  145. exclusive right to collect such royalties for any exercise by You
  146. of the rights granted under this License; and,
  147. iii. Voluntary License Schemes. The Licensor waives the right to
  148. collect royalties, whether individually or, in the event that the
  149. Licensor is a member of a collecting society that administers
  150. voluntary licensing schemes, via that society, from any exercise
  151. by You of the rights granted under this License.
  152. The above rights may be exercised in all media and formats whether now
  153. known or hereafter devised. The above rights include the right to make
  154. such modifications as are technically necessary to exercise the rights in
  155. other media and formats. Subject to Section 8(f), all rights not expressly
  156. granted by Licensor are hereby reserved.
  157. 4. Restrictions. The license granted in Section 3 above is expressly made
  158. subject to and limited by the following restrictions:
  159. a. You may Distribute or Publicly Perform the Work only under the terms
  160. of this License. You must include a copy of, or the Uniform Resource
  161. Identifier (URI) for, this License with every copy of the Work You
  162. Distribute or Publicly Perform. You may not offer or impose any terms
  163. on the Work that restrict the terms of this License or the ability of
  164. the recipient of the Work to exercise the rights granted to that
  165. recipient under the terms of the License. You may not sublicense the
  166. Work. You must keep intact all notices that refer to this License and
  167. to the disclaimer of warranties with every copy of the Work You
  168. Distribute or Publicly Perform. When You Distribute or Publicly
  169. Perform the Work, You may not impose any effective technological
  170. measures on the Work that restrict the ability of a recipient of the
  171. Work from You to exercise the rights granted to that recipient under
  172. the terms of the License. This Section 4(a) applies to the Work as
  173. incorporated in a Collection, but this does not require the Collection
  174. apart from the Work itself to be made subject to the terms of this
  175. License. If You create a Collection, upon notice from any Licensor You
  176. must, to the extent practicable, remove from the Collection any credit
  177. as required by Section 4(b), as requested. If You create an
  178. Adaptation, upon notice from any Licensor You must, to the extent
  179. practicable, remove from the Adaptation any credit as required by
  180. Section 4(b), as requested.
  181. b. If You Distribute, or Publicly Perform the Work or any Adaptations or
  182. Collections, You must, unless a request has been made pursuant to
  183. Section 4(a), keep intact all copyright notices for the Work and
  184. provide, reasonable to the medium or means You are utilizing: (i) the
  185. name of the Original Author (or pseudonym, if applicable) if supplied,
  186. and/or if the Original Author and/or Licensor designate another party
  187. or parties (e.g., a sponsor institute, publishing entity, journal) for
  188. attribution ("Attribution Parties") in Licensor's copyright notice,
  189. terms of service or by other reasonable means, the name of such party
  190. or parties; (ii) the title of the Work if supplied; (iii) to the
  191. extent reasonably practicable, the URI, if any, that Licensor
  192. specifies to be associated with the Work, unless such URI does not
  193. refer to the copyright notice or licensing information for the Work;
  194. and (iv) , consistent with Section 3(b), in the case of an Adaptation,
  195. a credit identifying the use of the Work in the Adaptation (e.g.,
  196. "French translation of the Work by Original Author," or "Screenplay
  197. based on original Work by Original Author"). The credit required by
  198. this Section 4 (b) may be implemented in any reasonable manner;
  199. provided, however, that in the case of a Adaptation or Collection, at
  200. a minimum such credit will appear, if a credit for all contributing
  201. authors of the Adaptation or Collection appears, then as part of these
  202. credits and in a manner at least as prominent as the credits for the
  203. other contributing authors. For the avoidance of doubt, You may only
  204. use the credit required by this Section for the purpose of attribution
  205. in the manner set out above and, by exercising Your rights under this
  206. License, You may not implicitly or explicitly assert or imply any
  207. connection with, sponsorship or endorsement by the Original Author,
  208. Licensor and/or Attribution Parties, as appropriate, of You or Your
  209. use of the Work, without the separate, express prior written
  210. permission of the Original Author, Licensor and/or Attribution
  211. Parties.
  212. c. Except as otherwise agreed in writing by the Licensor or as may be
  213. otherwise permitted by applicable law, if You Reproduce, Distribute or
  214. Publicly Perform the Work either by itself or as part of any
  215. Adaptations or Collections, You must not distort, mutilate, modify or
  216. take other derogatory action in relation to the Work which would be
  217. prejudicial to the Original Author's honor or reputation. Licensor
  218. agrees that in those jurisdictions (e.g. Japan), in which any exercise
  219. of the right granted in Section 3(b) of this License (the right to
  220. make Adaptations) would be deemed to be a distortion, mutilation,
  221. modification or other derogatory action prejudicial to the Original
  222. Author's honor and reputation, the Licensor will waive or not assert,
  223. as appropriate, this Section, to the fullest extent permitted by the
  224. applicable national law, to enable You to reasonably exercise Your
  225. right under Section 3(b) of this License (right to make Adaptations)
  226. but not otherwise.
  227. 5. Representations, Warranties and Disclaimer
  228. UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
  229. OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
  230. KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
  231. INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
  232. FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
  233. LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
  234. WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
  235. OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
  236. 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
  237. LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
  238. ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
  239. ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
  240. BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  241. 7. Termination
  242. a. This License and the rights granted hereunder will terminate
  243. automatically upon any breach by You of the terms of this License.
  244. Individuals or entities who have received Adaptations or Collections
  245. from You under this License, however, will not have their licenses
  246. terminated provided such individuals or entities remain in full
  247. compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
  248. survive any termination of this License.
  249. b. Subject to the above terms and conditions, the license granted here is
  250. perpetual (for the duration of the applicable copyright in the Work).
  251. Notwithstanding the above, Licensor reserves the right to release the
  252. Work under different license terms or to stop distributing the Work at
  253. any time; provided, however that any such election will not serve to
  254. withdraw this License (or any other license that has been, or is
  255. required to be, granted under the terms of this License), and this
  256. License will continue in full force and effect unless terminated as
  257. stated above.
  258. 8. Miscellaneous
  259. a. Each time You Distribute or Publicly Perform the Work or a Collection,
  260. the Licensor offers to the recipient a license to the Work on the same
  261. terms and conditions as the license granted to You under this License.
  262. b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
  263. offers to the recipient a license to the original Work on the same
  264. terms and conditions as the license granted to You under this License.
  265. c. If any provision of this License is invalid or unenforceable under
  266. applicable law, it shall not affect the validity or enforceability of
  267. the remainder of the terms of this License, and without further action
  268. by the parties to this agreement, such provision shall be reformed to
  269. the minimum extent necessary to make such provision valid and
  270. enforceable.
  271. d. No term or provision of this License shall be deemed waived and no
  272. breach consented to unless such waiver or consent shall be in writing
  273. and signed by the party to be charged with such waiver or consent.
  274. e. This License constitutes the entire agreement between the parties with
  275. respect to the Work licensed here. There are no understandings,
  276. agreements or representations with respect to the Work not specified
  277. here. Licensor shall not be bound by any additional provisions that
  278. may appear in any communication from You. This License may not be
  279. modified without the mutual written agreement of the Licensor and You.
  280. f. The rights granted under, and the subject matter referenced, in this
  281. License were drafted utilizing the terminology of the Berne Convention
  282. for the Protection of Literary and Artistic Works (as amended on
  283. September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
  284. Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
  285. and the Universal Copyright Convention (as revised on July 24, 1971).
  286. These rights and subject matter take effect in the relevant
  287. jurisdiction in which the License terms are sought to be enforced
  288. according to the corresponding provisions of the implementation of
  289. those treaty provisions in the applicable national law. If the
  290. standard suite of rights granted under applicable copyright law
  291. includes additional rights not granted under this License, such
  292. additional rights are deemed to be included in the License; this
  293. License is not intended to restrict the license of any rights under
  294. applicable law.
  295. Creative Commons Notice
  296. Creative Commons is not a party to this License, and makes no warranty
  297. whatsoever in connection with the Work. Creative Commons will not be
  298. liable to You or any party on any legal theory for any damages
  299. whatsoever, including without limitation any general, special,
  300. incidental or consequential damages arising in connection to this
  301. license. Notwithstanding the foregoing two (2) sentences, if Creative
  302. Commons has expressly identified itself as the Licensor hereunder, it
  303. shall have all rights and obligations of Licensor.
  304. Except for the limited purpose of indicating to the public that the
  305. Work is licensed under the CCPL, Creative Commons does not authorize
  306. the use by either party of the trademark "Creative Commons" or any
  307. related trademark or logo of Creative Commons without the prior
  308. written consent of Creative Commons. Any permitted use will be in
  309. compliance with Creative Commons' then-current trademark usage
  310. guidelines, as may be published on its website or otherwise made
  311. available upon request from time to time. For the avoidance of doubt,
  312. this trademark restriction does not form part of this License.
  313. Creative Commons may be contacted at http://creativecommons.org/.