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

Prevent error when using any module with a release candidate #65

Closed
wants to merge 1 commit into from

Conversation

garethr
Copy link

@garethr garethr commented Dec 15, 2012

Some modules on the forge have versions like 0.5.0-rc1. It turns out
that the - causes havoc in Librarian, resulting in an exception that
blocks the use of librarian-puppet. I saw this first with the
puppetlabs/apache module. Basically if you include it or anything that
depends on it librarian-puppet won't work.

This patch resolves this in a hacky, but apparently working, way. It
replaces - with a period internally, and then swaps it again to a - when
making a call to the forge.

Some modules on the forge have versions like 0.5.0-rc1. It turns out
that the - causes havoc in Librarian, resulting in an exception that
blocks the use of librarian-puppet. I saw this first with the
puppetlabs/apache module. Basically if you include it or anything that
depends on it librarian-puppet won't work.

This patch resolves this in a hacky, but apparently working, way. It
replaces - with a period internally, and then swaps it again to a - when
making a call to the forge.
@brettporter
Copy link

Seems to address the same issue as #64 (in that case, the versions were ignored instead)

@carlossg
Copy link
Collaborator

Unfortunately this patch only works with -rc versions, and correct versions in the forge with .rc (ie. 1.0.rc1) would fail

@carlossg
Copy link
Collaborator

This should have been fixed already.

@carlossg carlossg closed this Jan 20, 2014
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

3 participants