Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P pagerbot
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Stripe Community Contributions
  • pagerbot
  • Merge requests
  • !15

Make "911" and "get" consistent

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/rht/911get into master Dec 03, 2014
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: rht

Fixes https://github.com/stripe-contrib/pagerbot/issues/12

The explicit 'subject'/'because' is removed from documentation, but people can still use them for backward compatibility.

Caveats:

  1. The message parsing code is no longer local (not fully stack-based) because it has to check if the word 'subject' or 'because' is present in query[:words]
  2. Without an explicit 'subject'/'because' it won't recognize when the person's name consists of two words. This is an intended behavior.
  3. The parser won't be able to tell if the "subject" in "help, mr. subject is drowning!" is part of the subject, not a keyword.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/rht/911get