| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Passing paths should work in most cases, but on Windows the driver
letter is interpreted as the scheme and causes some case mismatches
because
```
irb> URI.parse("E:").to_s
=> "e:"
```
We fix this by passing file URI's instead.
|
| |
|
|
|
|
| |
Since Windows doesn't like that.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
So that we don't need to manually escape `$`, that seems to give trouble
on Windows.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Github actions has lowercase drive letters.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7537: Reset `Gemfile` to the empty string after bundler/inline r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that if `BUNDLE_GEMFILE` is not set before requiring `bundler/inline`, we're removing it back again. That means that when requiring gems after that, `bundler` will go through the "Gemfile resolution" logic again and fail if a Gemfile is not found in the filesystem.
### What was your diagnosis of the problem?
My diagnosis was that the file resolution logic should be skipped after requiring `bundler/inline`, since we want to use the "inline bundle".
### What is your fix for the problem, implemented in this PR?
My fix is to instead reset `BUNDLE_GEMFILE` to the empty string if it had no previous value, since that skips searching the filesystem for a `Gemfile`.
### Why did you choose this fix out of the possible options?
I chose this fix because it seems to fix the issue.
Fixes #7536.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |
| |
| |
| |
| | |
To avoid Gemfile resolution afterwards, and use the "inline
environment" instead.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7544: Ignore tests needing file permissions on Windows r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that some specs fail under Windows because permissions are not supported the way they are supported on Unix.
### What is your fix for the problem, implemented in this PR?
My fix is to exclude this tests on Windows.
### Why did you choose this fix out of the possible options?
I chose this fix because it was proposed at https://github.com/bundler/bundler/issues/6897 and makes sense to me.
Closes #6897.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7543: Fix flaky test failures r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was `SharedHelpers#in_bundle?` specs could fail depending on the run order.
### What was your diagnosis of the problem?
My diagnosis was that the test Gemfile needs to be removed after the test because other specs rely on it being missing.
### What is your fix for the problem, implemented in this PR?
My fix is to remove the `Gemfile` after the test.
Closes #6891.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |/
| |
| |
| |
| | |
The Gemfile was not being removed after another test, so it `in_bundle?`
would resolve to it again even if `BUNDLE_GEMFILE` was unset.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7542: Make test platform independent r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that a test for the `gemspec` DSL is failing on Windows.
### What was your diagnosis of the problem?
My diagnosis was that the test uses local platforms (that change between OS) but asserts for ruby platforms.
### What is your fix for the problem, implemented in this PR?
My fix is to add a proper stub.
### Why did you choose this fix out of the possible options?
I chose this fix because it was suggested in https://github.com/bundler/bundler/issues/6887 by @janpio and looks good.
Closes #6687.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7541: Adapt `Bundler#which` test to Windows r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that this spec was failing under Windows.
### What was your diagnosis of the problem?
My diagnosis was that the test needs Windows specific paths.
### What is your fix for the problem, implemented in this PR?
My fix is to separate the test per OS.
### Why did you choose this fix out of the possible options?
I chose this fix because it was discussed and considered the better fix at https://github.com/bundler/bundler/issues/6875.
Closes https://github.com/bundler/bundler/issues/6875.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7534: Set master's version to 2.2.0.dev r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that master version is set to the latest patch level release, but the code in master doesn't really match the latest patch level release.
### What is your fix for the problem, implemented in this PR?
My fix is to use 2.2.0.dev to name master's development version.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |
| |
| |
| |
| |
| |
| | |
So that it's always higher than the latest patch level release. This
saves us from having to merge back the version bump after each patch
level release, which is also not accurate since master is "bigger" than
the latest patch level release anyways.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7533: Rebuild man pages for January r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was man pages are out of date.
### What is your fix for the problem, implemented in this PR?
My fix is to bring them up to date.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7519: Make `bundle config deployment true` equivalent to `bundle install --deployment` in regards to configuration r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that while addressing comments for https://github.com/docker-library/official-images/pull/7188, I noticed that the alternative we're recommending for `bundle install --deployment`, i.e., `bundle config set deployment true`, is not equivalent to it.
### What was your diagnosis of the problem?
My diagnosis was that whereas `bundle install --deployment` configures bundler to be frozen AND to install gems to `vendor/bundle`, `bundle config deployment true` only configures bundler to be frozen.
### What is your fix for the problem, implemented in this PR?
My fix is to make `bundle config deployment true` behave just like `bundle install --deployment` in regards to configuration.
### Why did you choose this fix out of the possible options?
I chose this fix because all the commands we're suggesting as alternatives for deprecations should be actual alternatives that work exactly in the same way.
Also, note that there's a change scheduled for bundler 3 where the `deployment` configuration will only mean `frozen`. But for now, we should focus on making sure that people moves away from CLI flags in favor of configuration, so we might want to delay that change to make things less confusing.
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
| |
| |
| |
| |
| |
| | |
Previously, we were recommending `bundle config deployment true; bundle
install` as an alternative to `bundle install --deployment`, but they
were not working equally.
|
| | |
|
| | |
|
| |
| |
| |
| | |
So that I can change the setup only for them in following commits.
|
| |
| |
| |
| | |
The `let` does not add anything.
|