Skip to content

Commit a3d4041

Browse files
sbma44Łukasz Paczos
authored andcommitted
update license file & generator script
1 parent e0c5710 commit a3d4041

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

LICENSE.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ Mapbox Navigation for Android version 2.0
33

44
Mapbox Navigation Android SDK
55

6-
Copyright ©2022 Mapbox
6+
Copyright ©2022 - 2023 Mapbox, Inc. All rights reserved.
77

8-
All rights reserved.
9-
10-
Mapbox Navigation for Android version 2.0 (“Mapbox Navigation Android SDK“) or higher must be used according to the Mapbox Terms of Service. This license allows developers with a current active Mapbox account to use and modify the Mapbox Navigation Android SDK. Developers may modify the Mapbox Navigation Android SDK code so long as the modifications do not change or interfere with marked portions of the code related to billing, accounting, and data collection. The Mapbox Navigation Android SDK sends limited de-identified location and usage data, which Mapbox uses in accordance with the Mapbox Data Processing Addendum. This license terminates automatically if a user no longer has an active Mapbox account.
8+
The software and files in this repository (collectively, "Software") are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS. This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms. If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated 2023-01]
119

1210
For the full license terms, please see the Mapbox Terms of Service at https://www.mapbox.com/legal/tos/
1311

scripts/generate-license.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import os
55
import json
6+
import datetime
67
import codecs
78

89
path = os.getcwd()
@@ -67,12 +68,13 @@ def writeToFile(file, filePath) :
6768
]
6869

6970
with codecs.open(licensePath, 'w', encoding='utf-8') as licenseFile:
71+
now = datetime.datetime.now()
72+
7073
licenseFile.write("### License\n")
7174
licenseFile.write("Mapbox Navigation for Android version 2.0\n\n")
7275
licenseFile.write("Mapbox Navigation Android SDK\n\n")
73-
licenseFile.write("Copyright " + u'©' + "2022 Mapbox\n\n")
74-
licenseFile.write("All rights reserved.\n\n")
75-
licenseFile.write("Mapbox Navigation for Android version 2.0 (" + u"“" + "Mapbox Navigation Android SDK" + u"“" + ") or higher must be used according to the Mapbox Terms of Service. This license allows developers with a current active Mapbox account to use and modify the Mapbox Navigation Android SDK. Developers may modify the Mapbox Navigation Android SDK code so long as the modifications do not change or interfere with marked portions of the code related to billing, accounting, and data collection. The Mapbox Navigation Android SDK sends limited de-identified location and usage data, which Mapbox uses in accordance with the Mapbox Data Processing Addendum. This license terminates automatically if a user no longer has an active Mapbox account.\n\n")
76+
licenseFile.write("Copyright " + u'©' + "2022 - {} Mapbox, Inc. All rights reserved.\n\n".format(now.year))
77+
licenseFile.write("The software and files in this repository (collectively, \"Software\") are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS. This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms. If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated {}-{:02d}]\n\n".format(now.year, now.month))
7678
licenseFile.write("For the full license terms, please see the Mapbox Terms of Service at https://www.mapbox.com/legal/tos/\n\n")
7779
licenseFile.write("---------------------------------------\n")
7880
[licenseFile.write(l.text()) for l in staticLicenses]

0 commit comments

Comments
 (0)