package provider: add support for `source` parameter #32

Merged
merged 1 commit into from Mar 12, 2014

2 participants

@xraj

Allow using the source parameter as an URI to determine from where to
install the package.

If source is not set, then use pkg install to install the package
using the default repository logic.

A URN of the form: urn:freebsd:repo:{tag} will force pkg install to
install from the given repository using the '-r' flag. URLs are passed
as-is to pkg add to install directly.

@xraj xraj package provider: add support for `source` parameter
Allow using the `source` parameter as an URI to determine from where to
install the package.

If `source` is not set, then use `pkg install` to install the package
using the default repository logic.

A URN of the form: urn:freebsd:repo:<tag> will force `pkg install` to
install from the given repository using the '-r' flag. URLs are passed
as-is to `pkg add` to install directly.
8a85dd2
@xraj

I removed the check for the config file because it's not required to exist.

@xaque208
Owner

Excellent, have you had a chance to test this?

@xraj
@xaque208 xaque208 merged commit c8d71e6 into xaque208:master Mar 12, 2014

1 check passed

Details default The Travis CI build passed
@xaque208
Owner

Thank you for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment