Files
aptly/api
Nick Bozhenko ff66310b73 Major test suite improvements and API enhancements
Test Coverage Improvements:
- Increased API test coverage from 43.2% to 46.3%
- Added comprehensive tests for database operations, metrics, and middleware
- Enhanced existing test suites with additional edge cases and error scenarios
- Removed redundant cmd/*_test.go files (already covered by system tests)

API Enhancements:
- Added metadata update capability to PUT /api/publish endpoint
- Now supports updating Origin, Label, Suite, Codename, NotAutomatic, and ButAutomaticUpgrades fields
- Metadata changes are applied during the publish operation

Infrastructure Updates:
- Fixed etcd batch write panic with proper retry logic
- Enhanced S3 upload with better concurrent operation handling
- Improved task management with better error handling and race condition prevention
- Updated etcd install script to support both x86_64 and arm64 architectures

Code Quality:
- Fixed go vet issues and code formatting problems
- Enhanced error messages and logging throughout the codebase
- Improved resource cleanup in test suites
- Better handling of nil values and edge cases

Build System:
- Updated Makefile with improved dependency management
- Enhanced .golangci.yml configuration for better linting
- Added VERSION file management
- Updated .gitignore for better coverage tracking

Documentation:
- Integrated macOS testing guide into CONTRIBUTING.md
- Added platform-specific setup instructions
- Improved test running documentation with multiple options
2025-07-18 18:39:03 -04:00
..
2025-07-16 17:13:46 -04:00
2025-04-26 13:29:50 +02:00
2025-07-16 17:13:46 -04:00
2024-10-01 01:07:09 +02:00
2025-07-16 17:13:46 -04:00
2025-06-08 14:24:27 +02:00
2024-12-11 10:40:44 +01:00
2023-02-20 13:42:50 +01:00
2024-12-11 11:19:46 +01:00
2025-07-16 17:13:46 -04:00
2025-07-16 17:13:46 -04:00
2025-07-16 17:13:46 -04:00
2024-12-11 10:40:44 +01:00
2024-12-11 11:19:46 +01:00