feat: support importing patch sources from more forges #13
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?
Feature description
Support adding patch sources from repository links hosted on more forges, not just the formats currently recognized by the manager. At minimum, document and test repository/release links for GitHub, GitLab, Forgejo and Gitea, and make the supported forge URL patterns extensible.
When a user pastes a repository URL, the manager should locate the latest compatible Reseam bundle or publisher index in that repository's releases and give a clear error if the forge or release layout is unsupported. In particular, the current generic 'made for an older version' message should not imply a bundle compatibility problem when the actual issue is an unsupported source URL.
Motivation
A user tried adding
https://github.com/madkarmaa/reseam-patchesfrom the Add patch source screen and got an error. Patch authors host their sources on different forges, and users reasonably expect a repository link to work without having to find and paste a release asset URL manually.Acceptance criteria
.reseambundle and/orpatches.jsonindex, as applicable).Source: https://discord.com/channels/1495093872261599323/1556366364053213315/1560116734130782271