Print bundle updates and backouts at end of openjdk_news.sh output
- Refer user to get_bundle_versions.sh when bundle updates are found by openjdk_news.sh Related: RHEL-103209
This commit is contained in:
parent
fe1b40cd28
commit
c00a9b0dde
@ -2572,6 +2572,8 @@ cjc.mainProgram(args)
|
||||
- * get_bundle_versions.sh: shellcheck: Double-quote variable references (SC2086)
|
||||
- * get_bundle_versions.sh: shellcheck: Drop use of cat and pass file to awk directly (SC2002)
|
||||
- Add OpenJDK 8u support to get_bundle_versions.sh
|
||||
- Print bundle updates and backouts at end of openjdk_news.sh output
|
||||
- Refer user to get_bundle_versions.sh when bundle updates are found by openjdk_news.sh
|
||||
- Related: RHEL-103209
|
||||
|
||||
* Wed Jul 09 2025 Antonio Vieiro <avieirov@redhat.com> - 1:21.0.8.0.1-0.1.ea
|
||||
|
@ -72,18 +72,25 @@ done
|
||||
sort "${TMPDIR}/fixes2" "${TMPDIR}/fixes3" | uniq > "${TMPDIR}/fixes"
|
||||
rm -f "${TMPDIR}/fixes2" "${TMPDIR}/fixes3"
|
||||
|
||||
if grep -i 'backout' "${TMPDIR}/fixes"
|
||||
then
|
||||
echo "WARNING: Review the preceding backouts"
|
||||
fi
|
||||
if grep -iE ': update.*(freetype|gif|harfbuzz|lcms|jpeg|png|zlib)' "${TMPDIR}/fixes"
|
||||
then
|
||||
echo "WARNING: Review the preceding with respect to bundled provides"
|
||||
fi
|
||||
|
||||
echo "In ${TMPDIR}/fixes:"
|
||||
cat "${TMPDIR}/fixes"
|
||||
|
||||
printf "\nChecking for backouts...";
|
||||
if grep -i 'backout' "${TMPDIR}/fixes" > "${TMPDIR}/backouts"; then
|
||||
printf "found.\nWARNING: Review the following backouts:\n"
|
||||
cat "${TMPDIR}/backouts";
|
||||
else
|
||||
echo "No apparent backouts.";
|
||||
fi
|
||||
printf "\nChecking for bundled library updates...";
|
||||
if grep -iE ': update.*(freetype|gif|harfbuzz|lcms|jpeg|png|zlib)' "${TMPDIR}/fixes" > "${TMPDIR}/bundles"; then
|
||||
printf "found.\nWARNING: Review the following with respect to bundled provides:\n";
|
||||
cat "${TMPDIR}/bundles";
|
||||
echo "Compare the output of $(dirname "${0}")/get_bundle_versions.sh with the RPM using the JDK source tree"
|
||||
else
|
||||
echo "No apparent library updates.";
|
||||
fi
|
||||
|
||||
# Local Variables:
|
||||
# compile-command: "shellcheck openjdk_news.sh"
|
||||
# fill-column: 80
|
||||
|
Loading…
Reference in New Issue
Block a user