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

Merging City of LA MDS dev branch into Ride Reports dev branch #4

Merged
merged 28 commits into from
Jun 6, 2019

Conversation

billdirks
Copy link

No description provided.

Todd Petersen and others added 28 commits March 6, 2019 16:25
Updated based on compliance changed approved by LADOT

Compliance will exist in a seperate document.
Approved by LADOT.   Updated compliance for in-trip telemetry for scooters.
This commit adds a section to the release guidelines doc clarifying the
distinction between breaking and non-breaking changes, including an
enumeration of what kinds of changes fall in each category. This builds
on language added in #286; I didn't modify those templates here since
their description of breaking vs. non-breaking is still accurate.

I think the most likely area of controversy here is the handling of enum
values. My inclination would actually be to treat changes to enum values
as breaking changes, but it seems like the consensus during the 0.3.1
process so far has been that the benefits of having a lightweight
process for updating enums outweigh the risk of breaking clients that
are doing stricter validations.

Fixes #279
This implements the change suggested in #289 by clarifying that any
trip-ending event can and should have an `associated_trip`, not just
`user_drop_off` events.

Since the Provider event system currently doesn't define which states
are allowed to transition to which other states, it's already
spec-compliant to follow a `reserved`/`user_pick_up` event with an
`unavailable`/`low_battery` event, and this is the most
semantically-accurate way to describe the scenario where a device shuts
down during a trip because of low battery. In this situation, the
implementer should include an `associated_trip` field in both events
so that API consumers can correctly identify these events as the
endpoints of the relevant trip.
Add event_type_reason for agency admin access.
Explicitly allow `associated_trip` for any event type
Flesh out definition of breaking vs. non-breaking changes
@billdirks billdirks merged commit a17acb9 into RideReport:dev Jun 6, 2019
quicklywilliam pushed a commit that referenced this pull request Apr 17, 2020
quicklywilliam pushed a commit that referenced this pull request Sep 15, 2020
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