[openstreetmap/openstreetmap-website] Refactor element consistency checks (PR #4640)

Anton Khorev notifications at github.com
Sat Mar 30 08:07:50 UTC 2024


There are two sets of checks:
- old-new element consistency
- changeset-user consistency

Either one of them or both of them are performed in different situations.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4640

-- Commit Summary --

  * Refactor create element consistency check
  * Rename create element consistency check
  * Refactor update element consistency check
  * Rename update element consistency check
  * Remove outdated comment

-- File Changes --

    M app/models/concerns/consistency_validations.rb (23)
    M app/models/node.rb (6)
    M app/models/relation.rb (6)
    M app/models/way.rb (6)
    M test/models/node_test.rb (82)
    M test/models/relation_test.rb (82)
    M test/models/way_test.rb (82)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4640.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4640.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4640
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4640 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240330/bfe86646/attachment-0001.htm>


More information about the rails-dev mailing list