Skip to content

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