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

feat: add os-specific bisect to bot #183

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

erickzhao
Copy link
Member

Closes #157

Also does some preliminary work on #177, but doesn't extend it to the /test command.

@erickzhao erickzhao requested review from ckerr and clavin August 19, 2021 23:08
@lgtm-com
Copy link

lgtm-com bot commented Aug 19, 2021

This pull request introduces 1 alert when merging 4827fb3 into 3ee05f0 - view on LGTM.com

new alerts:

  • 1 for Useless conditional

Copy link
Member

@clavin clavin left a comment

Choose a reason for hiding this comment

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

Note: I'm adding a commit on top of this PR to tie the type of Platform to the value of ALL_PLATFORMS.

export function getPlatform(maybePlatform: string): Platform | undefined {
const lowercasePlatform = maybePlatform.toLowerCase();
const platformMatches: Map<Platform, string[]> = new Map();
platformMatches.set('darwin', ['macos', 'mac', 'osx']);
Copy link
Member

Choose a reason for hiding this comment

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

do we care to also include like OS X? I couldn't search to see if it was a common term but I feel like it could be.

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.

allow platform to be specified in '/bugbot bisect'
2 participants