github RayLabsHQ/gitea-mirror v3.2.4

latest releases: v3.5.1, v3.5.0, v3.4.0...
27 days ago

๐Ÿ› Critical Fix for Metadata Mirroring

This release addresses a critical authentication issue that prevented metadata mirroring from working correctly, specifically fixing the "user does not exist [uid: 0, name: ]" error reported in Issue #68.

What's Fixed

๐Ÿ” Authentication Issues

  • Fixed critical authentication error causing "user does not exist [uid: 0]" during metadata mirroring operations (#68)
  • Fixed inconsistent token handling across Gitea API calls
  • Fixed metadata mirroring functions attempting to operate on non-existent repositories
  • Fixed organization creation failing silently without proper error messages

โœจ What's New

  • Pre-flight authentication validation for all Gitea operations
  • Repository existence verification before attempting metadata mirroring
  • Graceful fallback to user account when organization creation fails due to permissions
  • Authentication validation utilities for debugging configuration issues
  • Diagnostic test scripts for troubleshooting authentication problems

๐Ÿ“ˆ Improvements

  • Enhanced error messages with specific guidance for authentication failures
  • Better identification and logging of permission-related errors
  • More robust organization creation with retry logic
  • Consistent token decryption across all API operations
  • Clearer error reporting for metadata mirroring failures

๐Ÿ”’ Security

  • Fixed potential exposure of encrypted tokens in API calls
  • Improved token handling to ensure proper decryption before use

๐Ÿงช Testing Your Configuration

If you've experienced authentication issues, you can now validate your setup using the included diagnostic scripts:

# Test Gitea authentication
bun run src/tests/test-gitea-auth.ts

# Test metadata mirroring authentication
bun run src/tests/test-metadata-mirroring.ts

๐Ÿ“ฆ Docker Image

docker pull ghcr.io/raylabshq/gitea-mirror:3.2.4
docker pull ghcr.io/raylabshq/gitea-mirror:latest

๐Ÿ’ก Upgrade Notes

This is a patch release with no breaking changes. Simply update to the latest version to benefit from these fixes. If you've been experiencing metadata mirroring issues, this update should resolve them.

๐Ÿ™ Acknowledgments

Thanks to everyone who reported and helped diagnose Issue #68. Your detailed feedback was invaluable in identifying and fixing this authentication issue.


Full Changelog: v3.2.3...v3.2.4

Don't miss a new gitea-mirror release

NewReleases is sending notifications on new releases.