-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Backport latest_specs api for private gems to the 1.0 stable branch #134
Conversation
… gem environment after each spec
Conflicts: lib/gemstash/db/version.rb lib/gemstash/specs_builder.rb
… rubygems Add explicit HOME environment variable to any command that bundles, as bundler is giving an error if it is set to a non-writable directory New speaker binstub for the new test, and use the basename of the command to ensure the new binstub will be used Fix null pointer errors showing up by logging when a route doesn't exist (this is happening because bundler is using the new index API and we haven't implemented it yet)
@randycoulman would you mind reviewing my backport of your PR? I had to cherry pick another branch because of some conflicts, but it was purely spec code, so I think it should be fine to pull in. I also had to tweak the code a tad due to some refactorings that have happened in master. I implemented the Thanks again for your work! I'm hoping to get a new release with your code out within the week. |
@smellsblue Your backport looks good to me. I'll run some experiments with |
@smellsblue I can no longer reproduce the issue with I've asked the person who originally reported the problem to me to try again; I'll let you know if his results are any different. |
@randycoulman awesome! Thanks a bunch! Regardless of the result, I think this will be great to get out ASAP. I'll wait to push a new release until I hear from you though, as I'd like to include any additional tests that might be useful beforehand :-) |
@smellsblue My colleague can still reproduce the issue with |
@smellsblue OK, I figured out what was going on. On my system, I had a fallback entry to our old gem server. I edited my I started duplicating what I edited my All of the documentation I can see says not to use a trailing slash, but I also ran This is all with gem version 2.6.8, BTW. |
@randycoulman thanks for the great investigation! And I have actually run into this exact same problem, and even found the part of rubygems code that was doing it (oops... I probably should have opened a ticket for them...). I have a test skipped because of this exact same issue: https://github.com/bundler/gemstash/blob/master/spec/integration_spec.rb#L140-L147 |
@randycoulman This has been released with |
Awesome! Thanks @smellsblue! I'll test it out early next week. |
I also pulled in #113 as it was used by #131, and it is just adding some more tests, so should be fine to pull in to the 1.0 branch.