Add duplicate check to openjdk_news.sh
Related: RHEL-119331
This commit is contained in:
parent
fe7a115848
commit
1595b9b497
@ -2723,6 +2723,7 @@ cjc.mainProgram(args)
|
|||||||
- Print bundle updates and backouts at end of openjdk_news.sh output
|
- 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
|
- Refer user to get_bundle_versions.sh when bundle updates are found by openjdk_news.sh
|
||||||
- Add timezone data update check to openjdk_news.sh
|
- Add timezone data update check to openjdk_news.sh
|
||||||
|
- Add duplicate check to openjdk_news.sh
|
||||||
- Related: RHEL-119331
|
- Related: RHEL-119331
|
||||||
|
|
||||||
* Sun Oct 05 2025 Antonio Vieiro <avieirov@redhat.com> - 1:1.8.0.462.b08-4
|
* Sun Oct 05 2025 Antonio Vieiro <avieirov@redhat.com> - 1:1.8.0.462.b08-4
|
||||||
|
@ -69,12 +69,22 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
sort "${TMPDIR}/fixes2" "${TMPDIR}/fixes3" | uniq > "${TMPDIR}/fixes"
|
sort "${TMPDIR}/fixes2" "${TMPDIR}/fixes3" > "${TMPDIR}/fixes4"
|
||||||
|
uniq "${TMPDIR}/fixes4" > "${TMPDIR}/fixes"
|
||||||
rm -f "${TMPDIR}/fixes2" "${TMPDIR}/fixes3"
|
rm -f "${TMPDIR}/fixes2" "${TMPDIR}/fixes3"
|
||||||
|
|
||||||
echo "In ${TMPDIR}/fixes:"
|
echo "In ${TMPDIR}/fixes:"
|
||||||
cat "${TMPDIR}/fixes"
|
cat "${TMPDIR}/fixes"
|
||||||
|
|
||||||
|
printf "\nChecking for duplicates...";
|
||||||
|
if uniq -d "${TMPDIR}/fixes4" | grep 'JDK' > "${TMPDIR}/dupes"; then
|
||||||
|
printf "found.\nWARNING: Review the following duplicates:\n";
|
||||||
|
cat "${TMPDIR}/dupes";
|
||||||
|
else
|
||||||
|
echo "No apparent duplicates.";
|
||||||
|
fi
|
||||||
|
rm -f "${TMPDIR}/fixes4";
|
||||||
|
|
||||||
printf "\nChecking for backouts...";
|
printf "\nChecking for backouts...";
|
||||||
if grep -i 'backout' "${TMPDIR}/fixes" > "${TMPDIR}/backouts"; then
|
if grep -i 'backout' "${TMPDIR}/fixes" > "${TMPDIR}/backouts"; then
|
||||||
printf "found.\nWARNING: Review the following backouts:\n"
|
printf "found.\nWARNING: Review the following backouts:\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user