Merge pull request #12407 from zmstone/0126-script-to-update-bsl-license-convert-time

0126 script to update bsl license convert time
This commit is contained in:
JianBo He 2024-01-30 09:54:34 +08:00 committed by GitHub
commit 35c4ef2ee2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
45 changed files with 62 additions and 44 deletions

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-06-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -7,7 +7,7 @@ Licensed Work: EMQX Enterprise Edition
Additional Use Grant: Students and educators are granted right to copy, Additional Use Grant: Students and educators are granted right to copy,
modify, and create derivative work for research modify, and create derivative work for research
or education. or education.
Change Date: 2027-02-01 Change Date: 2028-01-26
Change License: Apache License, Version 2.0 Change License: Apache License, Version 2.0
For information about alternative licensing arrangements for the Software, For information about alternative licensing arrangements for the Software,

View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
CONVERT_DATE="$(date -d "+4 years" '+%Y-%m-%d')"
update() {
local file="$1"
sed -E "s#(^Change Date: *)(.*)#\1$CONVERT_DATE#g" -i "$file"
}
while read -r file; do
if [[ $file != *BSL.txt ]]; then
## Ignore other files
continue
fi
update "$file"
done < <(git ls-files)