Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support git clones #7

Closed
AladW opened this issue Mar 23, 2017 · 4 comments
Closed

support git clones #7

AladW opened this issue Mar 23, 2017 · 4 comments

Comments

@AladW
Copy link

AladW commented Mar 23, 2017

AUR4 added the ability to clone AUR packages via git. This allows amongst others to easily view maintainer changes in the pkgbuild. Right now trizen only supports the old tar interface.

https://lists.archlinux.org/pipermail/aur-dev/2015-August/003697.html

trizen pushed a commit that referenced this issue Mar 23, 2017
@trizen
Copy link
Owner

trizen commented Mar 23, 2017

The support for git clones is ready for testing.

@AladW
Copy link
Author

AladW commented Mar 24, 2017

Thanks, for me files are retrieved correctly on trizen -S. A question, is there a particular reason you're only fetching the latest commit (i.e., git log only displays one entry) ?

trizen pushed a commit that referenced this issue Mar 24, 2017
When a value greater than 0 is specified, it passes the `--depth=[n]` to `git clone ...`
@trizen
Copy link
Owner

trizen commented Mar 24, 2017

Thanks for the suggestion. There is no particular reason, other than a potential speed improvement for packages with many commits.

However, this is now configurable with the git_clone_depth config-option. By default, the value is 0, which means no limit.

@AladW
Copy link
Author

AladW commented Mar 24, 2017

Thanks!

@AladW AladW closed this as completed Mar 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants