26386 | Added license expiration check. Added new 'warning' indicator, so some things may be reported as warnings rather than errors. Fixed bug in not-released dev version handling su/exec when started as root. Enhanced verify_sdp.sh to support being called by other scripts by giving a reliable exit code. Errors detected result in a non-zero exit code; warnings do not. This is in support of SDP-444, but does not complete that job. Maintained shellcheck compliance. |
26278 | verify_sdp.sh v5.4.0: * Handles running as root instead of OSUSER. * Added Warnings (as opposed to only Errors). * Accounted for more checks already being run. * Added checks license: - Indicates if license is perpetual - Warns if no license - Error if license expired, or expires within 14 days * Changed shellcheck strategy for handling sourced files, replacing 'source' directives with 'disable' directives for SC1090/1091 (related to shellchecking sourced files). Having 'source' directives that refer to the 'as deployed' structure (i.e. to paths under /p4/common) works best when shellchecking on a live system, but makes shellcheking in a development workspace harder. |
26385 | Added license expiration check. Added new 'warning' indicator, so some things may be reported as warnings rather than errors. Fixed bug in not-released dev version handling su/exec when started as root. Enhanced verify_sdp.sh to support being called by other scripts by giving a reliable exit code. Errors detected result in a non-zero exit code; warnings do not. This is in support of SDP-444, but does not complete that job. Maintained shellcheck compliance. #review-26386 |