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

Support meta-data for suspicion reasons #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nrotstan
Copy link

@nrotstan nrotstan commented Dec 9, 2019

  • Represent suspicion reasons with a new Reason class that, in addition
    to the string identifier, supports a label and source/origin of the
    reason

  • Continue to store string identifiers in the
    Changeset.suspicion_reasons field for backward compatibility

  • Introduce a new Changeset.detailed_reasons field that has the full
    Reason objects

  • Use the Reason.source to track when suspicion reasons originated as
    warnings generated by an editor, such as iD

  • When printing suspicion reasons in the CLI, include the source of the
    reason if it was not from osmcha

  • Update unit tests

@coveralls
Copy link

coveralls commented Dec 9, 2019

Coverage Status

Coverage increased (+0.8%) to 95.723% when pulling 80716d2 on nrotstan:add-suspicion-reason-metadata into cd39be8 on willemarcel:master.

* Represent suspicion reasons with a new Reason class that, in addition
to the string identifier, supports a label and source/origin of the
reason

* Continue to store string identifiers in the
Changeset.suspicion_reasons field for backward compatibility

* Introduce a new Changeset.detailed_reasons field that has the full
Reason objects

* Use the Reason.source to track when suspicion reasons originated as
warnings generated by an editor, such as iD

* When printing suspicion reasons in the CLI, include the source of the
reason if it was not from osmcha

* Update unit tests
@nrotstan nrotstan force-pushed the add-suspicion-reason-metadata branch from 688166d to 80716d2 Compare December 10, 2019 01:05
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.

2 participants