summaryrefslogtreecommitdiff
path: root/internal/protocol
AgeCommit message (Collapse)Author
2025-06-19Add comprehensive documentation across DTail codebasePaul Buetow
Documented all major Go packages and command-line tools with comprehensive comments explaining functionality, architecture, and usage patterns. Major documentation additions: - All cmd/ binaries with detailed package descriptions and main function docs - Core internal packages: config, protocol, clients, server, mapr, discovery - File system operations, error handling, and version management - Complete API documentation for all public interfaces - Architecture insights and component relationships Benefits: - Improved developer onboarding and maintainability - Clear understanding of distributed architecture - Proper Go documentation format for godoc compatibility - Enhanced troubleshooting through error categorization - Comprehensive API reference for all client types 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19Implement Phase 1: Foundation for improved maintainability and testabilityPaul Buetow
- Add standardized error handling package (internal/errors) - Sentinel errors for common conditions - Error wrapping and chaining support - MultiError for batch operations - Add comprehensive test utilities package (internal/testutil) - File/directory test helpers - Assertion functions for common test patterns - Mock SSH server for integration testing - Test data generators - Add unit tests for core packages - Protocol package: delimiter validation and usage tests - Config package: comprehensive configuration tests - Discovery package: server discovery method tests - IO/FS package: stats tracking and grep processor tests All tests passing. This establishes a solid foundation for further improvements. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2021-11-02Make it so that DTail 3 incompatibility error is printed when trying to ↵Paul Buetow
connect to it via a DTail client 4.x
2021-11-02Bugfix: Dealing correctly with files without newline characters, also add ↵Paul Buetow
more tests
2021-10-10vetting and linting and some code restylingPaul Buetow
2021-10-02mapreduce tables are in colors now tooPaul Buetow
2021-09-06Print out client/server update notice even from dtail server 4 to dtailPaul Buetow
client 3.
2021-09-05finalize new default color schemaPaul Buetow
2021-08-281. Major performance gain by not checking for file truncation aftterPaul Buetow
each bytes read. 2. Introduce field separator to the protocol package.
2021-08-28make use of more buffers on server sidePaul Buetow
2021-08-21read files bytewise for more control of whats happening - change transport ↵Paul Buetow
protocol for more control over newlines