Repository navigation
switch back to system freetype on Solaris - #4345
Conversation
1f3cdde to
f1313ce
Compare
Signed-off-by: Stewart X Addison <sxa@ibm.com>
f1313ce to
429107b
Compare
|
Tahanx! Am happy it works like this. Sorry for this. I guess the sbom validator do not need any changes due to fate of solaris? |
|
Should we add a comment saying wht this is the exception? |
Yes please. @sxa Please add comment saying why solaris had to switch back to system freetype. Otherwise some eager contributor will switch it back again. |
|
Yep will definitely add that now that it seems to have got past the test. Noting that I'm still looking at an issue with the verification of the CycloneDX downloads - hopefully easy to resolve :'( |
| patchNo="$(grep "DEFAULT_VERSION_PATCH" "${numbersFile}" | head -1 | grep -Eo '[0-9]+')" || error="true" | ||
| updateNo="$(grep "DEFAULT_VERSION_UPDATE" "${numbersFile}" | head -1 | grep -Eo '[0-9]+')" || error="true" | ||
| interimNo="$(grep "DEFAULT_VERSION_INTERIM" "${numbersFile}" | head -1 | grep -Eo '[0-9]+')" || error="true" | ||
| featureNo="$(grep "DEFAULT_VERSION_FEATURE" "${numbersFile}" | head -1 | grep -Eo '[0-9]+')" || error="true" |
There was a problem hiding this comment.
Some of this forbidden grep switches (-q, -E?, -o?) shoudl be documented, and/or some linter check enabled over them
I like grep over awk, which would live without -E here jsut with bit of escaping....
There was a problem hiding this comment.
I'm not sure it's up to us (or really practical) to document every GNU-specific option that exists on all tools 🤔
There was a problem hiding this comment.
Sure not. Just those two bites from time to time. I know there is checkbashism project, but am not sure if there is any thing about -q/-E like gnu-specific switches.
Unfortunately it isn't ... A normal successful build has a bit more there: |
|
Last issue with the ant build was due to it picking up the version in |
Signed-off-by: Stewart X Addison <sxa@ibm.com>
82673e1 to
8b470bb
Compare
|
Force push here because to remove the |
Signed-off-by: Stewart X Addison <sxa@ibm.com>
Fixes the build failure on Solaris by switching away from the builtin freetype to the system one again.