openstreetmap-website
https://github.com/openstreetmap/openstreetmap-website
Ruby
The Rails application that powers OpenStreetMap
ChangesetController#update
updates a changeset's tags. none of the changeset's attributes are user-modifiable, so they will be ignored. changesets are not (yet?) versioned, so we don't have to deal with history tables here. changesets are locked to a single user, however. after succesful update, returns the XML of the changeset.
Edit
git clone [email protected]:openstreetmap/openstreetmap-website.git
cd openstreetmap-website
open app/controllers/changeset_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ChangesetController-update-for-pr
# Commit to gitgit add app/controllers/changeset_controller.rbgit commit -m "better docs for ChangesetController#update"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ChangesetController-update-for-pr
hub pull-request
# Celebrate!