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

Add "moped" vehicle type #416

Merged
merged 1 commit into from
Feb 19, 2020
Merged

Add "moped" vehicle type #416

merged 1 commit into from
Feb 19, 2020

Conversation

pvanliefland
Copy link
Contributor

Explain pull request

This is a first attempt at adding the "moped" vehicle type. The company I'm working at (https://www.lab-box.com/) has, among others, a multimodal service (https://poppy.be/en/) that offers shared electric mopeds.

There are at least two other electric mopeds providers in Brussels (https://scootysharing.be/ and https://felyx.com/).

Is this a breaking change

I'm not sure

Impacted Spec

  • agency
  • policy
  • provider

Additional context

Not sure about the way to implement this properly - I used #219 as a basis.

There was also a mention somewhere of using generate_schemas.py to add a mode, but the "car" PR didn't follow that route - let me know if you prefer another implementation.

@pvanliefland pvanliefland requested a review from a team November 25, 2019 10:55
@pvanliefland pvanliefland requested a review from a team as a code owner November 25, 2019 10:55
@pvanliefland pvanliefland requested a review from a team November 25, 2019 10:55
@CLAassistant
Copy link

CLAassistant commented Nov 25, 2019

CLA assistant check
All committers have signed the CLA.

@jfh01
Copy link
Contributor

jfh01 commented Nov 25, 2019

We might consider borrowing from SAE J3194 for this or other future vehicle types https://saemobilus.sae.org/content/J3194_201911/

@pvanliefland
Copy link
Contributor Author

CLA assistant check
All committers have signed the CLA.

Please note that I am an independent consultant, with a contract for a company that is not a member of the OMF - I was distracted and thought I could already sign the individual agreement before the company in question signs the entity agreement. I think this is a mistake.

I have asked a representative of the company to sign the ECLA.

@pvanliefland
Copy link
Contributor Author

CLA assistant check
All committers have signed the CLA.

Please note that I am an independent consultant, with a contract for a company that is not a member of the OMF - I was distracted and thought I could already sign the individual agreement before the company in question signs the entity agreement. I think this is a mistake.

I have asked a representative of the company to sign the ECLA.

The company I'm working for (Lab-Box) has signed the ECLA.

@thekaveman
Copy link
Collaborator

Off-hand comment, but it seems like we should get away from having to update the README every time a new vehicle_type comes online. Can we use a more generic phrase there like "shared mobility devices" (instead of re-listing the enum values explicitly)?

@sarob sarob added Agency Specific to the Agency API enhancement New feature or request Policy Specific to the Policy API Provider Specific to the Provider API labels Dec 19, 2019
@HenriJ
Copy link

HenriJ commented Jan 3, 2020

Looks good to me for the Agency API.
@hunterowens your opinion for Provider ?

@jfh01 indeed, it would be interesting to use a more detailed classification for the vehicles, it would be a breaking change though. Maybe we can open a dedicated issue to replace or enrich the existing vehicle field ?

@jfh01
Copy link
Contributor

jfh01 commented Jan 16, 2020

@jfh01 indeed, it would be interesting to use a more detailed classification for the vehicles, it would be a breaking change though. Maybe we can open a dedicated issue to replace or enrich the existing vehicle field ?

Agreed. Opened #426 to address the bigger concern.

@jfh01
Copy link
Contributor

jfh01 commented Jan 16, 2020

@thekaveman @sarob @HenriJ Any reason this is on the Future milestone? Seems like this could go into 0.4.1. Mopeds (Revel, in particular) are rapidly expanding and this seems like a useful addition for now, regardless of where we go with this long-term.

@thekaveman
Copy link
Collaborator

@jfh01

Any reason this is on the Future milestone? Seems like this could go into 0.4.1.

This change could be considered breaking in that existing code with enumerations for these vehicle types would need to be adjusted to include the new value. But it's an easy enough change and I'm definitely not against putting it in 0.4.1. Will put it on the next agenda and make sure the larger group sees no issues.

@thekaveman thekaveman modified the milestones: Future, 0.4.1 Jan 21, 2020
@jfh01
Copy link
Contributor

jfh01 commented Jan 23, 2020

Brought up on the city services working group call and raised the breaking change issue. No one spoke up against putting this in 0.4.1, but looking forward to discussing next week in Provider Services.

@thekaveman
Copy link
Collaborator

Also brought this up on the Provider Services WG call on 1/30 and no one raised the breaking change issue. Approving for 0.4.1.

@thekaveman thekaveman merged commit cf27270 into openmobilityfoundation:dev Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agency Specific to the Agency API enhancement New feature or request Policy Specific to the Policy API Provider Specific to the Provider API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants