Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Bump version to 2.1.0.pre.1.#7088

Merged
2 commits merged intomasterfrom
bump-2-1-0
Apr 2, 2019
Merged

Bump version to 2.1.0.pre.1.#7088
2 commits merged intomasterfrom
bump-2-1-0

Conversation

@hsbt
Copy link
Copy Markdown
Member

@hsbt hsbt commented Apr 1, 2019

What was the end-user problem that led to this PR?

When we released the new version, We got the test failure or an error with a version number like 2.0.0.

What was your diagnosis of the problem?

We didn't test with new version number until release time.

What is your fix for the problem, implemented in this PR?

I did bump to the minor version in the master branch.

Why did you choose this fix out of the possible options?

We should develop with a new version number like 2.1.0.

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

Let me sort out the test failure here because I already investigated it in #6957. 👍

Copy link
Copy Markdown
Member

@colby-swandale colby-swandale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version will be bumped when we merge #6957

@colby-swandale
Copy link
Copy Markdown
Member

colby-swandale commented Apr 1, 2019

Sorry, i didn't mean to mark a review as "request changes". It would be good to merge #6957 that will bump the version instead of making a separate change.

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

For what it's worth, I prefer this PR. Smaller changes means understanding them better.

For example, in this case the test failure caused by this PR helped me understand the issue better and taught me why the changes I proposed in #7089 are needed. While they were buried in #6957 I knew they fixed some issue but I couldn't recall why they were needed.

ghost pushed a commit that referenced this pull request Apr 2, 2019
7089: Normalize file URIs in spec's lockfiles r=hsbt a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that bumping bundler's version in #7088 made a lockfile spec fail.

### What was your diagnosis of the problem?

My diagnosis was that there was a combination of bugs that was making this spec pass, but the spec was incorrect.

### What is your fix for the problem, implemented in this PR?

My fix is to change the test version the spec uses to not hit ruby/rubygems#2595, and thus reproduce the failure. And then fix the spec that was incorrect because the lockfile written had different URLs (`file://localhost/<stuff>`) from the lockfile we were checking against (`file://<stuff>`), thus tricking `bundle install` into thinking something had changed, and thus making it rewrite it with an incorrect bundler version.

### Why did you choose this fix out of the possible options?

I chose this fix because it makes #7088 pass and it reduces surprises.


Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
@deivid-rodriguez
Copy link
Copy Markdown
Contributor

@hsbt #7089 landed, you can update the version and rebase now 👍

@colby-swandale
Copy link
Copy Markdown
Member

@bundlerbot r+

ghost pushed a commit that referenced this pull request Apr 2, 2019
7088: Bump version to 2.1.0.beta1. r=colby-swandale a=hsbt

### What was the end-user problem that led to this PR?

When we released the new version, We got the test failure or an error with a version number like 2.0.0.

### What was your diagnosis of the problem?

We didn't test with new version number until release time.

### What is your fix for the problem, implemented in this PR?

I did bump to the minor version in the master branch.

### Why did you choose this fix out of the possible options?

We should develop with a new version number like 2.1.0.


Co-authored-by: SHIBATA Hiroshi <hsbt@ruby-lang.org>
@hsbt hsbt changed the title Bump version to 2.1.0.beta1. Bump version to 2.1.0.pre.1. Apr 2, 2019
@hsbt
Copy link
Copy Markdown
Member Author

hsbt commented Apr 2, 2019

Thanks!

@ghost
Copy link
Copy Markdown

ghost commented Apr 2, 2019

Build succeeded

@ghost ghost merged commit 1fa0c38 into master Apr 2, 2019
@ghost ghost deleted the bump-2-1-0 branch April 2, 2019 12:27
colby-swandale pushed a commit that referenced this pull request Apr 8, 2019
7089: Normalize file URIs in spec's lockfiles r=hsbt a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that bumping bundler's version in #7088 made a lockfile spec fail.

### What was your diagnosis of the problem?

My diagnosis was that there was a combination of bugs that was making this spec pass, but the spec was incorrect.

### What is your fix for the problem, implemented in this PR?

My fix is to change the test version the spec uses to not hit ruby/rubygems#2595, and thus reproduce the failure. And then fix the spec that was incorrect because the lockfile written had different URLs (`file://localhost/<stuff>`) from the lockfile we were checking against (`file://<stuff>`), thus tricking `bundle install` into thinking something had changed, and thus making it rewrite it with an incorrect bundler version.

### Why did you choose this fix out of the possible options?

I chose this fix because it makes #7088 pass and it reduces surprises.


Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
(cherry picked from commit 4cae424)
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants