rmarquis / pacaur

[unmaintained] An AUR helper that minimizes user interaction
https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144
ISC License
795 stars 113 forks source link

Allow cloning PKGBUILDs with git+ssh #749

Open 9ary opened 7 years ago

9ary commented 7 years ago

I've been having some trouble with timeouts while pulling PKGBUILD updates lately. Switching remotes to git+ssh instead of git+https seems to help with this, but pacaur doesn't allow customizing this without editing the script.

I think it would be useful to add a config file option to allow switching this out. The AUR site itself shows git+ssh URLs for cloning.

Additionally, it looks like DownloadPkgs doesn't use $aururl, which is probably an oversight.

rmarquis commented 7 years ago

I think it would be useful to add a config file option to allow switching this out. The AUR site itself shows git+ssh URLs for cloning.

I can only find git+https for cloning on the AUR and wiki, which is the reason this is the option implemented. Mind expanding on that available ssh option?

Additionally, it looks like DownloadPkgs doesn't use $aururl, which is probably an oversight.

Yes, definitely an oversight. Thanks for the report.

9ary commented 7 years ago

I can only find git+https for cloning on the AUR and wiki, which is the reason this is the option implemented. Mind expanding on that available ssh option?

Looks like I was partially mistaken, AUR pages only show ssh URLs for packages that you own. However, ssh is officially supported as a frontend, as specified in the wiki:

It is also possible to interact with the AUR through SSH: type ssh aur@aur.archlinux.org help for a list of available commands.

Several other mentions of SSH are present on that page, as it is the recommended (only?) way to upload packages.