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

Upgraded apt module dependency to support v2 #323

Merged
merged 1 commit into from
Jun 26, 2015

Conversation

tedivm
Copy link

@tedivm tedivm commented Jun 17, 2015

This supersedes #301.

When they released the v2.0 version of the apt module, the folks at Pupperlabs also broke backwards compatibility. This caused a lot of problems, so they've gone back and released a v2.1 that adds support for the v1 way of doing things.

What this means is that it's better so support the old way of doing things than the new way, as the old way has the largest compatibility spread. In my previous pull request (which was made before the apt v2.1 release was made) I attempted to support both version of the module, but this accomplishes that much better.

There is one caveat though- this module will not support v2.0 of the apt module, and unfortunately there is no way to exclude specific versions of dependencies in the metadata.json file. This means there's no way to prevent this module from being installed next to an incompatible module, but I think that's a reasonable decision to make since this module otherwise won't be usable with any of the v2 line at all.

@tedivm tedivm mentioned this pull request Jun 17, 2015
@jenkinsadmin
Copy link

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@madAndroid
Copy link
Contributor

works for me, cheers 👍

@jhoblitt
Copy link
Member

This is my preferred solution as well and have gotten it merged into other modules. 👍

@rtyler rtyler added this to the 1.5.0 - Jennings milestone Jun 26, 2015
rtyler pushed a commit that referenced this pull request Jun 26, 2015
Upgraded apt module dependency to support v2
@rtyler rtyler merged commit c6c083f into voxpupuli:master Jun 26, 2015
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.

5 participants