Arunavo Ray
cbc11155ef
fix: resolve organizations getting stuck on mirroring status when empty
...
- Fixed mirrorGitHubOrgToGitea function to properly handle empty organizations
- Organizations with no repositories now transition from 'mirroring' to 'mirrored' status
- Enhanced logging with clearer messages for empty organization processing
- Improved activity log details to distinguish between empty and non-empty orgs
- Added comprehensive test coverage for empty organization scenarios
- Ensures consistent status lifecycle for all organizations regardless of repository count
2025-05-28 13:26:20 +05:30
Arunavo Ray
38e0fb33b9
fix: resolve JSON parsing error and standardize HTTP client usage
...
- Fix JSON parsing error in getOrCreateGiteaOrg function (#19 )
- Add content-type validation before JSON parsing
- Add response cloning for better error debugging
- Enhance error messages with actual response content
- Add comprehensive logging for troubleshooting
- Standardize HTTP client usage across codebase
- Create new http-client.ts utility with consistent error handling
- Replace all superagent calls with fetch-based functions
- Replace all axios calls with fetch-based functions
- Remove superagent, axios, and @types/superagent dependencies
- Update tests to mock new HTTP client
- Maintain backward compatibility
- Benefits:
- Smaller bundle size (removed 3 HTTP client libraries)
- Better performance (leveraging Bun's optimized fetch)
- Consistent error handling across all HTTP operations
- Improved debugging with detailed error messages
- Easier maintenance with single HTTP client pattern
2025-05-28 09:56:59 +05:30
Arunavo Ray
98610482ae
feat: enhance event management by adding duplicate removal, cleanup functionality, and improving activity logging
2025-05-24 13:25:58 +05:30
Arunavo Ray
f4bc28e6c2
Implement parallel processing with retry logic for repository mirroring and syncing operations
2025-05-22 13:28:28 +05:30
Arunavo Ray
5d40023de0
🎉 Gitea Mirror: Added
2025-05-18 09:31:23 +05:30