-
Notifications
You must be signed in to change notification settings - Fork 129
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
gem
installs an outdated version
#170
Comments
ping @Cogitatio @cgsmith 🙄 |
1.1.1.160 is the correct version |
@cgsmith it is; the thing is that what rubygems.org distributes as 1.1.1.160 appears to be 1.0.2. |
That is strange.... It shows 1.1.1.160 on the rubygems interface |
Indeed: looks like something went wrong when building the gem that was pushed to rubygems.org. Version in gemspec is correct but actual content is outdated. Gem in releases on github is correct, though, and it would be cool if someone with permissions replaced one that is on rubygems.org with one from github. |
@cgsmith sorry to disturb you again but could you push gem that is published on releases page of github to rubygems.org so they are the same? It's a pity that vagrant (that uses rubygems.org) installs an outdated version: we wanted to use new structure of aliases in our team but we failed because even though rubygems thinks in distributes 1.1.1.160 but actually installs 1.0.2, and things like the following just fail:
Well, we can always install plugin manually but hey, it would be nicer to make the latest code easily accessible to everyone :) |
Hi guys. The problem reproduces on my env:
|
@Cogitatio @cgsmith could you please re-publish the latest release to rubygems (or cut a new one) to make it distribute the correct version of the plugin? I'd be really grateful; just using Thanks for maintaining this great plugin! |
@cgsmith I've just stumbled upon #160 (comment) which revealed that 1.1.1.160 was an intentional retag of 1.0.2 to get rid of 1.1.1 that hadn't worked on Windows. I thought it was just a mistake. Sorry for the noise, then. I guess the only option to have 1.1.1 back is to fix Windows 10 issue; I'll see if I can do something with it. Could you please confirm or deny that if Windows 10 issue is fixed, 1.1.1 will appear on rubygems.org (e.g. as 1.1.2)? |
@kamazee This probably explains why I can't get the example for setting up multiple adapters with separate IPs working:
I keep getting this error |
@Enchiridion yes, right. I created this issue after debugging the very same symptom you're experiencing. I hope to get rid of the custom version one day, though. |
I have repo access to write to the repo but would like to open this plugin up to be able to be managed by more in the community. Unfortunately @Cogitatio is not responding to those requests. I am thinking of creating a plugin and deprecating this plugin's URL and would like your feed back on this. I don't want anyone to have custom versions and as many issues as have been popping up - that was the whole point why I wanted maintainer access to the repo. |
Do you basically mean forking it? Well, if @Cogitatio doesn't respond to any requests related to this plugin, this might be the only option. However, I don't think I follow the rest of the idea: what do you mean by "open this plugin up to be able to be managed by more in the community"? As I see it, the project need people who are ready to review/merge pull requests and someone (or something) to publish releases on RubyGems (as I understand it's done manually at the moment but it's probably fairly easy to automate so likely having the former would be sufficient). |
Automating would be great. @Cogitatio is the only one who can add people for reviewing/merging pull requests right now. I'll fork it and start a transition to use a different path. I want to give enough notice to other users and companies that use |
@cgsmith actually, forking should go smoothly as the gem should be installed from rubygems, and it doesn't seem to care where a gem being pushed originates from; you listed as an owner there, so you have permissions to push. Basically, you can just fork this, change url on rubygems so people go the new place when they want to discover the source and that's it. |
What's the current status on this? I've been trying to use the new aliases functionality from 1.1.0 and get the error message If it's not supported by the version that's installed by |
@alnorth , 1.1.1.160 is actuallly a 1.0.2, not 1.1.x. You can find reasons above in the thread; a maintainer (either current or a new one who's willing to fork it and maintain the fork) has to step in to resolve the issue. |
@kamazee Can this be highlighted in the readme without a maintainer stepping in? It's very frustrating to read about something in the docs and then not be able to use it on the version that's installed using the recommended installation method. |
I don't think so: even if one submits a pull request that removes the feature from the description or submits a fix that makes releasing of 1.1.x possible again, maintainer has to merge them. Yeah, it took me some debugging to understand what was going on but there's barely anything I can do. |
The alias array feature does not work for me either. It would be a very useful feature — especially considering that it's already in the documentation. Is this still priority and is there anything that can be done? Thanks! |
Gem with spec version 1.1.1.160 actually contains version 1.0.2 of the plugin.
Here's how to see the difference:
The snippet above produces 2 directories:
diff.txt is a difference between the two (
diff -r vagrant-hostsupdater vagrant-hostsupdater-1.1.1.160
; left side is github version, right side is from rubygems).I expected that 1.1.1 from rubygems would match 1.1.1 from github. Could you update the gem on ruygems?
The text was updated successfully, but these errors were encountered: