Skip to content

Commit

Permalink
Updating supportability-related information.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarc committed Apr 2, 2024
1 parent 85f3a8a commit 6c70076
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 22 deletions.
7 changes: 3 additions & 4 deletions 16__archeo__extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -451,18 +451,17 @@ function generate_csv() {
download_spring_project_support_files() {
mkdir -p "${CONF_DIR}"
for KEY in "${!PROJECT_ID_MAP[@]}"; do
FILENAME="${CONF_DIR}/${KEY}__support-data.json"
if [ ! -f "${FILENAME}" ]; then
if [ "${KEY}" != "micrometer-io" ]; then
FILENAME="${CONF_DIR}/${KEY}__support-data.json"
URL="https://spring.io/page-data/projects/$KEY/page-data.json"
log_console_info "Downloading configuration for ${KEY} (${FILENAME})"
curl -Ls "$URL" | jq -r '.result.data.page.support' >"${FILENAME}"
else
log_console_info "Configuration for ${KEY} already exists. Skipping download. (${FILENAME})"
fi
done
}

function main() {
# Uncomment to update the Spring Support information files
#download_spring_project_support_files
for_each_group generate_csv
}
Expand Down
2 changes: 1 addition & 1 deletion conf/archeo/spring-framework__support-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
"branch": "5.3.x",
"initialDate": "2020-10-27",
"ossEnforcedEnd": "2024-12-31",
"ossEnforcedEnd": "2024-08-31",
"ossPolicyEnd": "2024-12-31",
"commercialEnforcedEnd": "2026-12-31",
"commercialPolicyEnd": "2026-04-30"
Expand Down
8 changes: 8 additions & 0 deletions conf/archeo/spring-graphql__support-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,13 @@
"ossPolicyEnd": "2024-05-17",
"commercialEnforcedEnd": "2026-02-28",
"commercialPolicyEnd": "2025-09-17"
},
{
"branch": "1.3.x",
"initialDate": "2024-05-21",
"ossEnforcedEnd": "",
"ossPolicyEnd": "2025-05-21",
"commercialEnforcedEnd": "",
"commercialPolicyEnd": "2026-09-21"
}
]
16 changes: 0 additions & 16 deletions conf/archeo/spring-hateoas__support-data.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
[
{
"branch": "1.3.x",
"initialDate": "2021-04-13",
"ossEnforcedEnd": "2022-04-13",
"ossPolicyEnd": "2022-04-13",
"commercialEnforcedEnd": "2023-08-13",
"commercialPolicyEnd": "2023-08-13"
},
{
"branch": "1.4.x",
"initialDate": "2021-11-11",
"ossEnforcedEnd": "2022-11-11",
"ossPolicyEnd": "2022-11-11",
"commercialEnforcedEnd": "2024-03-11",
"commercialPolicyEnd": "2024-03-11"
},
{
"branch": "1.5.x",
"initialDate": "2022-05-12",
Expand Down
2 changes: 1 addition & 1 deletion conf/archeo/spring-security__support-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{
"branch": "5.8.x",
"initialDate": "2022-11-20",
"ossEnforcedEnd": "2024-12-31",
"ossEnforcedEnd": "2024-08-31",
"ossPolicyEnd": "2023-11-20",
"commercialEnforcedEnd": "2026-12-31",
"commercialPolicyEnd": "2025-03-20"
Expand Down

0 comments on commit 6c70076

Please sign in to comment.