-
-
Notifications
You must be signed in to change notification settings - Fork 36
fix: Detect and recreate incorrectly ordered releases (#148) #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploying gitea-mirror-website with
|
| Latest commit: |
e951e97
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://95db9e2a.gitea-mirror-website.pages.dev |
| Branch Preview URL: | https://148-release-order-again.gitea-mirror-website.pages.dev |
🐳 Docker Image Built SuccessfullyYour PR image is available for testing: Image Tag: Pull and Testdocker pull ghcr.io/raylabshq/gitea-mirror:pr-150
docker run -d -p 4321:4321 -e BETTER_AUTH_SECRET=your-secret-here -e BETTER_AUTH_URL=http://localhost:4321 --name gitea-mirror-test ghcr.io/raylabshq/gitea-mirror:pr-150Docker Compose Testingservices:
gitea-mirror:
image: ghcr.io/raylabshq/gitea-mirror:pr-150
ports:
- "4321:4321"
environment:
- BETTER_AUTH_SECRET=your-secret-here
- BETTER_AUTH_URL=http://localhost:4321
- BETTER_AUTH_TRUSTED_ORIGINS=http://localhost:4321
📦 View in GitHub Packages |
🔍 Vulnerabilities of
|
| digest | sha256:59c565290e58b2279439c808a88bdbd30778684cca591f33e1c2adeba250a8f8 |
| vulnerabilities | |
| platform | linux/amd64 |
| size | 304 MB |
| packages | 894 |
📦 Base Image alpine:3.20
| also known as |
|
| digest | sha256:008827ed2172a676b08121e21cf9db0ce08a90ee6c8a12fc374af8a56c0e496d |
| vulnerabilities |
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||
Description |
Overview
Labels (8 changes)
-org.opencontainers.image.created=2025-11-08T03:30:50.796Z
+org.opencontainers.image.created=2025-10-22T07:56:38.047Z
-org.opencontainers.image.description=Gitea Mirror auto-syncs GitHub repos to your self-hosted Gitea/Forgejo, with a sleek Web UI and easy Docker deployment.
+org.opencontainers.image.description=Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
-org.opencontainers.image.licenses=AGPL-3.0
+org.opencontainers.image.licenses=NOASSERTION
-org.opencontainers.image.revision=e951e97790efb8fcee4c1852479a11520dfa607b
+org.opencontainers.image.revision=89fa0f343945e61d5e4a0077cc7e93a802ed56e7
-org.opencontainers.image.source=https://github.com/RayLabsHQ/gitea-mirror
+org.opencontainers.image.source=https://github.com/oven-sh/bun
-org.opencontainers.image.title=gitea-mirror
+org.opencontainers.image.title=bun
-org.opencontainers.image.url=https://github.com/RayLabsHQ/gitea-mirror
+org.opencontainers.image.url=https://github.com/oven-sh/bun
-org.opencontainers.image.version=pr-150
+org.opencontainers.image.version=1.3.1-alpine |
This fix addresses the persistent release ordering issue by detecting when existing releases in Gitea are in the wrong chronological order and automatically deleting and recreating them in the correct order.
Root Cause:
created_unix DESC, id DESCcreated_unixwhen creating releasescreated_unixtimestamp doesn't changeSolution:
Before processing releases, the code now:
How it works:
User Impact:
Fixes #148
Related: #129, PR #146