docs: add Ecosystem page featuring Sawchain and fix Windows test compatibility#2743
docs: add Ecosystem page featuring Sawchain and fix Windows test compatibility#2743LoveChauhan-18 wants to merge 2 commits into
Conversation
- Add .gitattributes to enforce LF line endings for YAML/YML files - Normalize CRLF to LF in yaml_test.go before string comparisons - Use filepath.FromSlash in runner/names/test_test.go for portable path assertions - Skip POSIX chmod-based unreadable directory test on Windows in fs/discover_test.go Signed-off-by: Love Kumar Chauhan <lovechauhan6564@gmail.com>
Signed-off-by: Love Kumar Chauhan <lovechauhan6564@gmail.com>
|
Hi @eolatham, I have completed the implementation for issue #2681 and opened the Pull Request! Here is a summary of the changes:
Both commits have been conventional-commit formatted and signed off. Please let me know if you have any feedback or if anything else is needed! |
There was a problem hiding this comment.
Thanks @LoveChauhan-18 — This documents #2681 wonderfully!
I will defer to a maintainer to vet the test fixes that are grouped in here.
|
Thank you for the review and approval! I appreciate the feedback. I'll wait for maintainer review and workflow approval. |
|
Hi, @eolatham , Please review the PR once. I am waiting for your approval! |
|
@LoveChauhan-18 I approved, but unfortunately I'm not a maintainer so I can't merge. |
Explanation
This PR introduces two sets of improvements:
chmod), and absolute path assertions.Related issue
Fixes #2681
Proposed Changes
Documentation (Sawchain Integration)
website/docs/community/ecosystem.md: A new page outlining Chainsaw's public package architecture and highlighting Sawchain, with links to its repository and blog post.website/mkdocs.yaml: Registered the new "Ecosystem & Related Projects" page under the "Community" navigation section.website/docs/quick-start/resources.md: Appended links to the new Ecosystem page.README.md: Added a "Related Projects & Ecosystem" section referencing Sawchain.Test Environment (Windows Compatibility Fixes)
.gitattributes: Configured automatic LF normalization for YAML files to prevent CRLF test mismatch.pkg/utils/yaml/yaml_test.go: Added string normalization (strings.ReplaceAll(..., "\r\n", "\n")) before raw YAML multi-line comparisons.pkg/runner/names/test_test.go: Wrapped file path assertions infilepath.FromSlashto adapt to Windows backslashes (\).pkg/utils/fs/discover_test.go: Instructed the directory permissions test (TestDiscover/unreadable_directory) to skip on Windows because POSIXchmodbehavior is not natively supported by the Windows OS file system.Checklist