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

package provider: add support for source parameter #32

Merged
merged 1 commit into from
Mar 12, 2014
Merged

package provider: add support for source parameter #32

merged 1 commit into from
Mar 12, 2014

Conversation

xraj
Copy link
Contributor

@xraj xraj commented Mar 6, 2014

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.

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

xraj commented Mar 6, 2014

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

@zachfi
Copy link
Contributor

zachfi commented Mar 11, 2014

Excellent, have you had a chance to test this?

@xraj
Copy link
Contributor Author

xraj commented Mar 11, 2014

I'm running it in production. I've not experienced any trouble yet.
On Mar 11, 2014 8:53 AM, "Zach Leslie" notifications@github.com wrote:

Excellent, have you had a chance to test this?


Reply to this email directly or view it on GitHubhttps://github.com//pull/32#issuecomment-37311793
.

zachfi pushed a commit that referenced this pull request Mar 12, 2014
package provider: add support for `source` parameter
@zachfi zachfi merged commit c8d71e6 into voxpupuli:master Mar 12, 2014
@zachfi
Copy link
Contributor

zachfi commented Mar 12, 2014

Thank you for the contribution.

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

Successfully merging this pull request may close these issues.

None yet

2 participants