@devicefarmer/stf-device-db 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +25 -138
- package/NOTICE +11 -0
- package/README.md +4 -2
- package/dist/LICENSE +448 -0
- package/dist/devices.json +1 -1
- package/package.json +4 -2
package/LICENSE
CHANGED
|
@@ -1,32 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Dual License Notice
|
|
4
|
-
===================
|
|
5
|
-
|
|
6
|
-
1. Data License (`dist/devices.json`):
|
|
7
|
-
The compiled device database is licensed under the Creative Commons
|
|
8
|
-
Attribution-ShareAlike 4.0 International License (CC-BY-SA-4.0)
|
|
9
|
-
(https://creativecommons.org/licenses/by-sa/4.0/).
|
|
10
|
-
It is adapted and normalized from:
|
|
11
|
-
- LineageOS Wiki Device Data (https://github.com/LineageOS/lineage_wiki):
|
|
12
|
-
Creative Commons Attribution-ShareAlike 3.0 Unported (CC-BY-SA-3.0,
|
|
13
|
-
https://creativecommons.org/licenses/by-sa/3.0/), whose Section 4(b)
|
|
14
|
-
permits adaptations under a later version with the same License Elements.
|
|
15
|
-
- Wikidata (https://query.wikidata.org/):
|
|
16
|
-
Creative Commons CC0 1.0 Universal Public Domain Dedication (CC0,
|
|
17
|
-
https://creativecommons.org/publicdomain/zero/1.0/)
|
|
18
|
-
It also contains factual device identifiers (retail brand, marketing name,
|
|
19
|
-
device codename and model) taken from the Google Play Supported Devices
|
|
20
|
-
List (https://storage.googleapis.com/play_public/supported_devices.csv),
|
|
21
|
-
which Google publishes without a stated license. The CC-BY-SA-4.0 grant
|
|
22
|
-
covers only DeviceFarmer's selection and arrangement of that information,
|
|
23
|
-
not the identifiers themselves.
|
|
24
|
-
|
|
25
|
-
2. Code License (`index.js`, `index.d.ts`, `brands.js`, `scripts/*`, `test/*`):
|
|
26
|
-
All source code, TypeScript definitions, build scripts, and tests in this
|
|
27
|
-
repository are licensed under the Apache License, Version 2.0 (Apache-2.0).
|
|
28
|
-
|
|
29
|
-
------------------------------------------------------------------------------
|
|
1
|
+
|
|
30
2
|
Apache License
|
|
31
3
|
Version 2.0, January 2004
|
|
32
4
|
http://www.apache.org/licenses/
|
|
@@ -204,112 +176,27 @@ Dual License Notice
|
|
|
204
176
|
|
|
205
177
|
END OF TERMS AND CONDITIONS
|
|
206
178
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
|
|
232
|
-
Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
|
|
233
|
-
Licensor means the individual(s) or entity(ies) granting rights under this Public License.
|
|
234
|
-
Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
|
|
235
|
-
Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
|
236
|
-
You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
|
|
237
|
-
Section 2 – Scope.
|
|
238
|
-
|
|
239
|
-
License grant.
|
|
240
|
-
Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
|
|
241
|
-
reproduce and Share the Licensed Material, in whole or in part; and
|
|
242
|
-
produce, reproduce, and Share Adapted Material.
|
|
243
|
-
Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
|
|
244
|
-
Term. The term of this Public License is specified in Section 6(a).
|
|
245
|
-
Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
|
|
246
|
-
Downstream recipients.
|
|
247
|
-
Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
|
|
248
|
-
Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.
|
|
249
|
-
No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
|
250
|
-
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).
|
|
251
|
-
Other rights.
|
|
252
|
-
|
|
253
|
-
Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
|
|
254
|
-
Patent and trademark rights are not licensed under this Public License.
|
|
255
|
-
To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
|
|
256
|
-
Section 3 – License Conditions.
|
|
257
|
-
|
|
258
|
-
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
|
|
259
|
-
|
|
260
|
-
Attribution.
|
|
261
|
-
|
|
262
|
-
If You Share the Licensed Material (including in modified form), You must:
|
|
263
|
-
|
|
264
|
-
retain the following if it is supplied by the Licensor with the Licensed Material:
|
|
265
|
-
identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
|
266
|
-
a copyright notice;
|
|
267
|
-
a notice that refers to this Public License;
|
|
268
|
-
a notice that refers to the disclaimer of warranties;
|
|
269
|
-
a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
|
270
|
-
indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
|
|
271
|
-
indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
|
|
272
|
-
You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
|
|
273
|
-
If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
|
|
274
|
-
ShareAlike.
|
|
275
|
-
In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
|
|
276
|
-
|
|
277
|
-
The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License.
|
|
278
|
-
You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
|
|
279
|
-
You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
|
|
280
|
-
Section 4 – Sui Generis Database Rights.
|
|
281
|
-
|
|
282
|
-
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
|
283
|
-
|
|
284
|
-
for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
|
|
285
|
-
if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
|
|
286
|
-
You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
|
|
287
|
-
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
|
|
288
|
-
Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
|
289
|
-
|
|
290
|
-
Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
|
|
291
|
-
To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
|
|
292
|
-
The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
|
293
|
-
Section 6 – Term and Termination.
|
|
294
|
-
|
|
295
|
-
This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
|
296
|
-
Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
|
|
297
|
-
|
|
298
|
-
automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
|
|
299
|
-
upon express reinstatement by the Licensor.
|
|
300
|
-
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
|
|
301
|
-
For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
|
|
302
|
-
Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
|
303
|
-
Section 7 – Other Terms and Conditions.
|
|
304
|
-
|
|
305
|
-
The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
|
|
306
|
-
Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
|
|
307
|
-
Section 8 – Interpretation.
|
|
308
|
-
|
|
309
|
-
For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
|
|
310
|
-
To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
|
|
311
|
-
No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
|
|
312
|
-
Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
|
|
313
|
-
Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
|
|
314
|
-
|
|
315
|
-
Creative Commons may be contacted at creativecommons.org.
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
stf-device-db
|
|
2
|
+
Copyright © DeviceFarmer and contributors.
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (Apache-2.0); see LICENSE.
|
|
5
|
+
The exception is the device database (dist/devices.json), which is licensed
|
|
6
|
+
under the Creative Commons Attribution-ShareAlike 4.0 International License
|
|
7
|
+
(CC-BY-SA-4.0); see dist/LICENSE for its sources and the full license text.
|
|
8
|
+
|
|
9
|
+
Brand, device and model names in the database are trademarks of their
|
|
10
|
+
respective owners. They are used only to identify devices and do not imply
|
|
11
|
+
any affiliation with or endorsement by those owners.
|
package/README.md
CHANGED
|
@@ -117,11 +117,13 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
|
117
117
|
|
|
118
118
|
## License
|
|
119
119
|
|
|
120
|
+
* **Code**: Everything in this repository except the device database is licensed under [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
|
120
121
|
* **Data (`dist/devices.json`)**: Licensed under [CC-BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/), adapted from the LineageOS Wiki (CC-BY-SA-3.0) and Wikidata (CC0).
|
|
121
|
-
|
|
122
|
+
|
|
123
|
+
Brand, device and model names in the database are trademarks of their respective owners. They are used only to identify devices and do not imply any affiliation with or endorsement by those owners.
|
|
122
124
|
|
|
123
125
|
### Google Play device identifiers
|
|
124
126
|
|
|
125
127
|
The brand, marketing name, codename and model of every device come from the [Google Play Supported Devices](https://support.google.com/googleplay/answer/1727131) list, which Google publishes without a stated license. They are used deliberately: no openly licensed source maps Android model numbers to marketing names at this scale, and LineageOS alone would cover about 2% of the models. Only these factual identifiers are taken. The CC-BY-SA-4.0 grant covers DeviceFarmer's selection and arrangement of them, not the identifiers themselves, and does not license the Google Play list as a whole.
|
|
126
128
|
|
|
127
|
-
See [LICENSE](LICENSE) for
|
|
129
|
+
See [LICENSE](LICENSE) for the code license, [dist/LICENSE](dist/LICENSE) for the data license and the sources of the data, and [NOTICE](NOTICE) for the copyright notice.
|