generated from holm.tools.public/repo-template
⚙️ 🤖 Forgejo Release-API für v0.1.0 hängt im is_empty-Bug #7
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
holm.tools.public/doc-rel#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
██░░░░░░░░███░░░░░░░█░░░░░░░░░█████░░░░░█░░░░░░░░░Forgejo-API meldet
empty: truefür das Repo, obwohl mehrere Commits + Tagv0.1.0per SSH gepusht wurden (siehegit ls-remote). Release-Create-Call scheitert mit{message: "repo is empty"}.Heilversuche ohne Erfolg:
git commit --allow-empty)PATCH /repos/.../doc-relmitempty: falsePATCH /repos/.../doc-relmitdefault_branch: maingit push --force-with-leaseRepo zeigt:
empty: true, default_branch: main, size: 65. Bekannter Forgejois_empty-Cache-Bug (Regel 13).Workaround: Release v0.1.0 manuell über die Web-UI anlegen (Releases → New Release → Tag v0.1.0 auswählen). CHANGELOG-Eintrag siehe
CHANGELOG.md.Tag selbst ist sauber:
7b9fb766...zeigt auf Commitff8d1722...(vor dem leeren heal-commit).Geheilt: nach manuellem Web-UI-Eingriff von Holm zeigt die API
empty: false. Release v0.1.0 wurde anschließend per API erfolgreich erstellt (id 3893).Lessons fürs Forgejo-is_empty-Pattern (Regel 13):
empty: falseallein heilt's nichtgit push --force-with-leaseheilt's nicht