Skip to content

Round number before convert to i32 - #24

Merged
bors-servo merged 1 commit into
servo:masterfrom
upsuper-forks:round
Feb 8, 2017
Merged

bors-servo merged 1 commit into
servo:masterfrom
upsuper-forks:round

Conversation

@upsuper

@upsuper upsuper commented Feb 7, 2017

Copy link
Copy Markdown
Contributor

No description provided.

@upsuper

upsuper commented Feb 7, 2017

Copy link
Copy Markdown
Contributor Author

r? @nox

@nox

nox commented Feb 7, 2017

Copy link
Copy Markdown
Contributor

r? @mbrubeck

@emilio

emilio commented Feb 7, 2017

Copy link
Copy Markdown
Member

Looks good to me with a version bump.

@upsuper

upsuper commented Feb 7, 2017

Copy link
Copy Markdown
Contributor Author

Do we need a breaking bump or a patch bump?

@mbrubeck

mbrubeck commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

It's not an API change, but it is an observable behavior change. If we consider it a bug fix (i.e. the previous behavior was incorrect) then it can be a patch bump; otherwise it's a breaking bump.

I think this one could be argued either way. Personally I don't foresee any downstream consumers of this crate wanting or needing to change their code in order to upgrade, so I would consider this a non-breaking bug fix.

@upsuper

upsuper commented Feb 8, 2017

Copy link
Copy Markdown
Contributor Author

Added a patch bump.

@mbrubeck

mbrubeck commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 9666f6c has been approved by mbrubeck

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 9666f6c with merge f345f82...

bors-servo pushed a commit that referenced this pull request Feb 8, 2017
Round number before convert to i32
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-travis
Approved by: mbrubeck
Pushing f345f82 to master...

@bors-servo
bors-servo merged commit 9666f6c into servo:master Feb 8, 2017
@bors-servo bors-servo mentioned this pull request Feb 8, 2017
@upsuper
upsuper deleted the round branch February 8, 2017 03:19
@nox

nox commented Feb 10, 2017

Copy link
Copy Markdown
Contributor

@emilio @mbrubeck This broke tests in Servo and I have no idea why that change was needed.

@nox

nox commented Feb 10, 2017

Copy link
Copy Markdown
Contributor

@upsuper

upsuper commented Feb 10, 2017

Copy link
Copy Markdown
Contributor Author

There are also several places Servo side should fix to get the rounding right. Servo currently does flooring rather than rounding, which causes rounding issues in Gecko's style system tests.

@upsuper

upsuper commented Feb 10, 2017

Copy link
Copy Markdown
Contributor Author

That said, you can probably leave app_units unchanged in Servo for now, and I can do the rest of the fix together with integrating this version bump.

@nox

nox commented Feb 10, 2017

Copy link
Copy Markdown
Contributor

@upsuper The app_units bump is blocking the serde bump. So if "for now" is a very short period, yes I can do that; otherwise I can't.

@upsuper

upsuper commented Feb 10, 2017

Copy link
Copy Markdown
Contributor Author

@nox you can probably specify app_units = 0.3.0 for now?

@nox

nox commented Feb 10, 2017

Copy link
Copy Markdown
Contributor

@upsuper 0.3.0 isn't published yet because I want to test the serde bump before landing it, and even if I did; it would include your own change.

@upsuper

upsuper commented Feb 10, 2017

Copy link
Copy Markdown
Contributor Author

@nox

nox commented Feb 10, 2017

Copy link
Copy Markdown
Contributor

Err right. Off-by-one error.

@upsuper The serde bump needs to be 0.4.0, so it doesn't change the problem, if I do manage to test the serde bump by changing my own PR to be based on 0.3.0, we won't be able to land it, so that app_units bump is urgent.

@upsuper

upsuper commented Feb 10, 2017

Copy link
Copy Markdown
Contributor Author

Oh, so what you want to do is to bump serde to 0.9.x?

OK, let me have a look at fixing Servo side rounding issue and bump app_units first.

@nox

nox commented Feb 10, 2017 •

Copy link
Copy Markdown
Contributor

@upsuper I want app_unit's most recent version to land in servo so that the serde bump PR contains only that, and not unrelated other bumps that can cause test issues (like we just saw). Thanks for working on it, feel free to reuse my commit with the already-changed expectations.

@upsuper

upsuper commented Feb 10, 2017

Copy link
Copy Markdown
Contributor Author

So you're going to land with the changed expectations? Or should I try to fix them and bump app_units to 0.3.1 first?

@nox

nox commented Feb 10, 2017

Copy link
Copy Markdown
Contributor

I have no idea what you mean, so let's make it easy: forget anything we said and please make servo/servo#15479 (comment) land.

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.

5 participants