Fix/scripts automation #13
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates, including a bug fix, improved platform independence for port-checking scripts, and minor adjustments to project configuration. The most significant changes focus on enhancing the robustness of port availability checks across different operating systems and ensuring compatibility with various tools.
Bug Fixes
CHANGELOG.mdto document a fix for the health check of the queue worker, ensuring it retrieves the correct status. This change is part of version1.2.1. ([CHANGELOG.mdR3-R10](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR3-R10))Platform-Independent Port Checking
containers/check-ports.sh:detect_osfunction to determine the operating system and adapt port-checking logic accordingly. ([containers/check-ports.shL29-R98](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-572807e71f638f397bd52623f306f9b05b8533d0a1e32d2aef2b1a174b99befbL29-R98))check_portfunction to use appropriate tools (netstat,ss, ornc) based on the detected OS, improving reliability across Windows, macOS, and Linux. ([[1]](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-572807e71f638f397bd52623f306f9b05b8533d0a1e32d2aef2b1a174b99befbL29-R98),[[2]](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-572807e71f638f397bd52623f306f9b05b8533d0a1e32d2aef2b1a174b99befbL52-R194))check_requirementsfunction to verify the availability of necessary tools and provide installation instructions if missing. ([containers/check-ports.shL52-R194](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-572807e71f638f397bd52623f306f9b05b8533d0a1e32d2aef2b1a174b99befbL52-R194))containers/check-sonarqube-ports.sh: Applied similar platform-independent improvements to SonarQube-specific port-checking logic, mirroring changes incheck-ports.sh. ([[1]](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-16a7cd845687dab348ba70cb3becbe067a3cdb2d868a1c8a8708d82c647cda97L20-R88),[[2]](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-16a7cd845687dab348ba70cb3becbe067a3cdb2d868a1c8a8708d82c647cda97L34-R101),[[3]](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-16a7cd845687dab348ba70cb3becbe067a3cdb2d868a1c8a8708d82c647cda97R187-R261))Configuration Updates
1.2.0to1.2.1in.release-please-manifest.json. ([.release-please-manifest.jsonL2-R2](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-e38bb01e41ed5baa3c9e8111b86009ca62d4498d2aefd14d367cd6300dd8b126L2-R2))Makefileto ensure Git hooks are copied correctly by targeting files within the.githooksdirectory instead of the directory itself. ([MakefileL49-R49](https://github.com/mubbi/laravel-blog-api/pull/13/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52L49-R49))