Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Allow cloning PKGBUILDs with git+ssh #749

Open
9ary opened this issue Aug 19, 2017 · 2 comments
Open

Allow cloning PKGBUILDs with git+ssh #749

9ary opened this issue Aug 19, 2017 · 2 comments

Comments

@9ary
Copy link

9ary commented Aug 19, 2017

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 rmarquis added this to the 4.8.x - new features milestone Aug 19, 2017
@rmarquis
Copy link
Owner

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
Copy link
Author

9ary commented Aug 19, 2017

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 [email protected] 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants