Skip to content
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

Make set_timeout_or_interval's is_interval an enumerated value instead of a boolean #4064

Merged
merged 2 commits into from Nov 24, 2014

Conversation

@trevorriles
Copy link

trevorriles commented Nov 21, 2014

Created an IsInterval enum to improve readability and remove the need for true // is_interval

I'm still fairly new to rust. I briefly looked for a way to implement boolean comparisons of the enum but didn't figure out a way.

Also I'm not attached to any of the names. Let me know what I can fix :)

@hoppipolla-critic-bot
Copy link

hoppipolla-critic-bot commented Nov 21, 2014

Critic review: https://critic.hoppipolla.co.uk/r/3244

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@trevorriles
Copy link
Author

trevorriles commented Nov 21, 2014

Fixes #4059

@jdm

This comment has been minimized.

Copy link

jdm commented on 0cba3ee Nov 21, 2014

r+, Thanks!

This comment has been minimized.

Copy link

larsbergstrom replied Nov 22, 2014

@bors: retry

This comment has been minimized.

Copy link

larsbergstrom replied Nov 22, 2014

@bors: retry

This comment has been minimized.

Copy link

jdm replied Nov 24, 2014

@bors: retry

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 0cba3ee Nov 21, 2014

saw approval from jdm
at trevorriles@0cba3ee

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 21, 2014

merging trevorriles/servo/isintervalenum = 0cba3ee into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 21, 2014

trevorriles/servo/isintervalenum = 0cba3ee merged ok, testing candidate = 092357a

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 22, 2014

saw approval from jdm
at trevorriles@0cba3ee

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 22, 2014

merging trevorriles/servo/isintervalenum = 0cba3ee into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 24, 2014

No active merge of candidate 0cba3ee found, likely manual push to master

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 24, 2014

merging trevorriles/servo/isintervalenum = 0cba3ee into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 24, 2014

trevorriles/servo/isintervalenum = 0cba3ee merged ok, testing candidate = 90007ee

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 24, 2014

fast-forwarding master to auto = 90007ee

bors-servo pushed a commit that referenced this pull request Nov 21, 2014
Created an `IsInterval` enum to improve readability and remove the need for `true // is_interval`

I'm still fairly new to rust. I briefly looked for a way to implement boolean comparisons of the enum but didn't figure out a way. 

Also I'm not attached to any of the names. Let me know what I can fix :)
bors-servo pushed a commit that referenced this pull request Nov 22, 2014
Created an `IsInterval` enum to improve readability and remove the need for `true // is_interval`

I'm still fairly new to rust. I briefly looked for a way to implement boolean comparisons of the enum but didn't figure out a way. 

Also I'm not attached to any of the names. Let me know what I can fix :)
@larsbergstrom
Copy link
Contributor

larsbergstrom commented Nov 22, 2014

Attempting to close+reopen to see if that gets bors out of its confusion.

@larsbergstrom larsbergstrom reopened this Nov 22, 2014
bors-servo pushed a commit that referenced this pull request Nov 22, 2014
Created an `IsInterval` enum to improve readability and remove the need for `true // is_interval`

I'm still fairly new to rust. I briefly looked for a way to implement boolean comparisons of the enum but didn't figure out a way. 

Also I'm not attached to any of the names. Let me know what I can fix :)
@trevorriles
Copy link
Author

trevorriles commented Nov 22, 2014

bors hates me :(

@larsbergstrom
Copy link
Contributor

larsbergstrom commented Nov 22, 2014

@trevorriles Did you set your author and user names when submitting your commit? I'm seeing an error about an unset username when buildbot attempts to perform some automated actions on your PR.

@trevorriles
Copy link
Author

trevorriles commented Nov 22, 2014

@larsbergstrom ahh didn't add that email to Github. If that is causing the issue, it should be better now.

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 0cba3ee Nov 21, 2014

saw approval from jdm
at trevorriles@0cba3ee

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 21, 2014

merging trevorriles/servo/isintervalenum = 0cba3ee into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 21, 2014

trevorriles/servo/isintervalenum = 0cba3ee merged ok, testing candidate = 092357a

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 22, 2014

saw approval from jdm
at trevorriles@0cba3ee

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 22, 2014

merging trevorriles/servo/isintervalenum = 0cba3ee into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 24, 2014

No active merge of candidate 0cba3ee found, likely manual push to master

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 24, 2014

merging trevorriles/servo/isintervalenum = 0cba3ee into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 24, 2014

trevorriles/servo/isintervalenum = 0cba3ee merged ok, testing candidate = 90007ee

This comment has been minimized.

Copy link
Contributor

bors-servo replied Nov 24, 2014

fast-forwarding master to auto = 90007ee

@metajack
Copy link
Contributor

metajack commented Nov 23, 2014

Instead of closing and reopening you can redeliver the notification to Bors from the webhook admin panel.

@jdm jdm closed this Nov 23, 2014
@jdm
Copy link
Member

jdm commented Nov 23, 2014

Closing to allow other PRs to proceed at this point.

@jdm jdm reopened this Nov 23, 2014
bors-servo pushed a commit that referenced this pull request Nov 23, 2014
Created an `IsInterval` enum to improve readability and remove the need for `true // is_interval`

I'm still fairly new to rust. I briefly looked for a way to implement boolean comparisons of the enum but didn't figure out a way. 

Also I'm not attached to any of the names. Let me know what I can fix :)
bors-servo pushed a commit that referenced this pull request Nov 24, 2014
Created an `IsInterval` enum to improve readability and remove the need for `true // is_interval`

I'm still fairly new to rust. I briefly looked for a way to implement boolean comparisons of the enum but didn't figure out a way. 

Also I'm not attached to any of the names. Let me know what I can fix :)
@bors-servo bors-servo closed this Nov 24, 2014
@bors-servo bors-servo merged commit 0cba3ee into servo:master Nov 24, 2014
1 check passed
1 check passed
default all tests passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.