mirror of
https://github.com/fosskers/cargo-aur.git
synced 2026-03-09 07:13:12 -05:00
Support for gitlab release URLs #1
Reference in New Issue
Block a user
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?
Originally created by @Jaakkonen on GitHub (Jun 17, 2020).
Currently the PKGBUILD assumes that the assets are at
<REPO>/releases/download/v<VERSION>/<NAME>-<VERSION>-x86_64.tar.gz.However with Gitlab the assets are at
<REPO>/-/archive/<TAG>/<ARTIFACT NAME>.There could be a option to override these templates in the cmdline/environment variables.
@fosskers commented on GitHub (Jun 18, 2020):
Reasonable! Let me get on that.
@fosskers commented on GitHub (Jun 18, 2020):
The linked PR produces links like:
Would that work for you? It now auto-detects which git host is set in the
repositoryfield ofCargo.toml, so no extra CLI flag was needed.@fosskers commented on GitHub (Jun 22, 2020):
Hi there, I'm going to go ahead with this so that I can add further improvements to the project. Let me know if it doesn't do what you were expecting, and I'll patch it again.